OpenSlides/openslides/utils/template.py

25 lines
631 B
Python
Raw Normal View History

2011-07-31 10:46:29 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
openslides.utils.template
~~~~~~~~~~~~~~~~~~~~~~~~~
2011-07-31 10:46:29 +02:00
2012-04-25 22:29:19 +02:00
Useful template functions for OpenSlides.
2011-07-31 10:46:29 +02:00
:copyright: 20112013 by OpenSlides team, see AUTHORS.
2011-07-31 10:46:29 +02:00
:license: GNU GPL, see LICENSE for more details.
"""
2012-03-18 17:11:58 +01:00
class Tab(object):
2013-09-25 12:53:44 +02:00
"""
Entry for the main menu of OpenSlides.
"""
def __init__(self, title='', app='', stylefile='', url='', permission=True, selected=False):
2012-03-18 17:11:58 +01:00
self.title = title
self.app = app
self.stylefile = stylefile
self.url = url
2012-03-18 17:11:58 +01:00
self.permission = permission
self.selected = selected