def admin_periods(): """ Present page to administer time periods in the system """ periods = Periods.all_list() return render_template( "admin_periods.html", periods=periods )
def admin_periods(): """ Present page to administer time periods in the system """ periods = Periods.all_list() return render_template( "admin_periods.html", periods=periods )
def admin_add_group(): """ Present page to add a group to the system """ feeds = Feeds.all_list() periods = Periods.all_list() gtypes = Groups.all_gtypes() return render_template( "admin_editgroup.html", feeds=feeds, periods=periods, group=Groups.Group(gtype=1), gtypes=gtypes )
def admin_add_group(): """ Present page to add a group to the system """ feeds = Feeds.all_list() periods = Periods.all_list() gtypes = Groups.all_gtypes() return render_template( "admin_editgroup.html", feeds=feeds, periods=periods, group=Groups.Group(gtype=1), gtypes=gtypes )