mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
Reorder all app menu items alphabetically
- Alphabetical order is best for users to find the necessary items quickly and precitably. - Currently there is no particular order.
This commit is contained in:
parent
1c5f4c04ec
commit
5ffe3dab70
@ -36,7 +36,7 @@ def init():
|
||||
"""Initialize the Deluge module."""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('BitTorrent (Deluge)'), 'glyphicon-magnet',
|
||||
'deluge:index', 60)
|
||||
'deluge:index', 200)
|
||||
|
||||
global service
|
||||
service = service_module.Service(
|
||||
|
||||
@ -43,7 +43,7 @@ def init():
|
||||
"""Initialize the dynamicdns module"""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname('Dynamic DNS', 'glyphicon-refresh',
|
||||
'dynamicdns:index', 40)
|
||||
'dynamicdns:index', 500)
|
||||
|
||||
|
||||
@package.required(['ez-ipupdate'])
|
||||
|
||||
@ -36,7 +36,7 @@ def init():
|
||||
"""Initialize the ikiwiki module."""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('Wiki & Blog (Ikiwiki)'), 'glyphicon-edit',
|
||||
'ikiwiki:index', 38)
|
||||
'ikiwiki:index', 1100)
|
||||
|
||||
global service
|
||||
service = service_module.Service(
|
||||
|
||||
@ -36,7 +36,7 @@ def init():
|
||||
"""Intialize the Mumble module."""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('Voice Chat (Mumble)'), 'glyphicon-headphones',
|
||||
'mumble:index', 50)
|
||||
'mumble:index', 900)
|
||||
|
||||
global service
|
||||
service = service_module.Service(
|
||||
|
||||
@ -15,6 +15,10 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
"""
|
||||
Plinth module for configuring ownCloud.
|
||||
"""
|
||||
|
||||
from django import forms
|
||||
from django.contrib import messages
|
||||
from django.template.response import TemplateResponse
|
||||
@ -38,7 +42,7 @@ def init():
|
||||
"""Initialize the ownCloud module"""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('File Hosting (ownCloud)'), 'glyphicon-picture',
|
||||
'owncloud:index', 35)
|
||||
'owncloud:index', 700)
|
||||
|
||||
status = get_status()
|
||||
|
||||
|
||||
@ -31,4 +31,4 @@ def init():
|
||||
"""Intialize the PageKite module"""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('Public Visibility (PageKite)'),
|
||||
'glyphicon-flag', 'pagekite:index', 50)
|
||||
'glyphicon-flag', 'pagekite:index', 800)
|
||||
|
||||
@ -36,7 +36,7 @@ def init():
|
||||
"""Intialize the module."""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('Web Proxy (Privoxy)'), 'glyphicon-cloud-upload',
|
||||
'privoxy:index', 50)
|
||||
'privoxy:index', 1000)
|
||||
|
||||
global service
|
||||
service = service_module.Service(
|
||||
|
||||
@ -34,7 +34,7 @@ def init():
|
||||
"""Intialize the module."""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('Email Client (Roundcube)'), 'glyphicon-envelope',
|
||||
'roundcube:index', 50)
|
||||
'roundcube:index', 600)
|
||||
|
||||
def is_enabled():
|
||||
"""Return whether the module is enabled."""
|
||||
|
||||
@ -41,7 +41,7 @@ def init():
|
||||
"""Initialize the Tor module."""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('Anonymity Network (Tor)'), 'glyphicon-eye-close',
|
||||
'tor:index', 30)
|
||||
'tor:index', 100)
|
||||
|
||||
|
||||
@package.required(['tor'])
|
||||
|
||||
@ -36,7 +36,7 @@ def init():
|
||||
"""Intialize the Transmission module."""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('BitTorrent (Transmission)'), 'glyphicon-save',
|
||||
'transmission:index', 100)
|
||||
'transmission:index', 300)
|
||||
|
||||
global service
|
||||
service = service_module.Service(
|
||||
|
||||
@ -38,7 +38,7 @@ def init():
|
||||
"""Initialize the XMPP module"""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname(_('Chat Server (XMPP)'), 'glyphicon-comment',
|
||||
'xmpp:index', 40)
|
||||
'xmpp:index', 400)
|
||||
|
||||
global service
|
||||
service = service_module.Service(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user