Skip to content

Commit

Permalink
added menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mdipierro committed Oct 22, 2017
1 parent 9372cdd commit d77690f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions models/menu.py
@@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
# this file is released under public domain and you can use without limitations

#########################################################################
## Customize your APP title, subtitle and menus here
#########################################################################

response.logo = A(B(myconf.take('app.title')),XML('™ '),
_class="navbar-brand",_href=URL('default','index'))
response.title = myconf.take('app.title')
response.subtitle = myconf.take('app.subtitle')

## read more at http://dev.w3.org/html5/markup/meta.name.html
response.meta.author = myconf.take('meta.author')
response.meta.description = myconf.take('meta.description')
response.meta.keywords = myconf.take('meta.keywords')

## your http://google.com/analytics id
response.google_analytics_id = myconf.take('app.google_analytics_id')

#########################################################################
## this is the main application menu add/remove items as required
#########################################################################

response.menu = [
(T('EVote'), False, URL('default', 'index')),
(T('Elections'), False, URL('default', 'elections')),
(T('Features'), False, URL('default', 'features')),
(T('Support'), False, URL('default', 'support')),
(T('Source Code'), False, 'https://github.com/mdipierro/evote'),
]

0 comments on commit d77690f

Please sign in to comment.