diff --git a/rattail_demo/web/menus.py b/rattail_demo/web/menus.py index ecaa89c..ff063f7 100644 --- a/rattail_demo/web/menus.py +++ b/rattail_demo/web/menus.py @@ -3,39 +3,11 @@ Web Menus """ -from __future__ import unicode_literals, absolute_import - def simple_menus(request): url = request.route_url menus = [ - { - 'title': "Time Clock", - 'type': 'menu', - 'items': [ - { - 'title': "Personal Schedule", - 'url': url('schedule.employee'), - 'perm': 'schedule.view', - }, - { - 'title': "Full Schedule", - 'url': url('schedule'), - 'perm': 'schedule.viewall', - }, - { - 'title': "Edit Schedule", - 'url': url('schedule.edit'), - 'perm': 'schedule.edit', - }, - { - 'title': "Raw Scheduled Shifts", - 'url': url('scheduledshifts'), - 'perm': 'scheduledshifts.list', - }, - ], - }, { 'title': "Products", 'type': 'menu', diff --git a/rattail_demo/web/views/__init__.py b/rattail_demo/web/views/__init__.py index 4828447..c23ec2d 100644 --- a/rattail_demo/web/views/__init__.py +++ b/rattail_demo/web/views/__init__.py @@ -3,8 +3,6 @@ Web views """ -from __future__ import unicode_literals, absolute_import - def includeme(config): @@ -28,7 +26,6 @@ def includeme(config): config.include('tailbone.views.reportcodes') config.include('tailbone.views.roles') config.include('rattail_demo.web.views.settings') - config.include('tailbone.views.shifts') config.include('tailbone.views.stores') config.include('tailbone.views.subdepartments') config.include('rattail_demo.web.views.tempmon')