Menu

[r8622]: / trunk / gui / system / urls.py  Maximize  Restore  History

Download this file

63 lines (60 with data), 3.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#+
# Copyright 2010 iXsystems, Inc.
# All rights reserved
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted providing that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# $FreeBSD$
#####################################################################
from django.conf.urls.defaults import patterns, url
from system.forms import FileWizard, FirmwareTemporaryLocationForm, \
FirmwareUploadForm, ServicePackUploadForm
urlpatterns = patterns('freenasUI.system.views',
url(r'^reboot/$', 'reboot', name="system_reboot"),
url(r'^reboot/run/$', 'reboot_run', name="system_reboot_run"),
url(r'^shutdown/$', 'shutdown', name="system_shutdown"),
url(r'^shutdown/run/$', 'shutdown_run', name="system_shutdown_run"),
url(r'^reporting/$', 'reporting', name="system_reporting"),
url(r'^settings/$', 'settings', name="system_settings"),
url(r'^advanced/$', 'advanced', name="system_advanced"),
url(r'^info/$', 'system_info', name="system_info"),
url(r'^firmwizard/$', FileWizard([FirmwareTemporaryLocationForm,FirmwareUploadForm], prefix="fw"), name='system_firmwizard'),
url(r'^spwizard/$', FileWizard([FirmwareTemporaryLocationForm, ServicePackUploadForm], prefix="sf"), name='system_spwizard'),
url(r'^config/restore/$', 'config_restore', name='system_configrestore'),
url(r'^config/save/$', 'config_save', name='system_configsave'),
url(r'^config/upload/$', 'config_upload', name='system_configupload'),
url(r'^debug/$', 'debug', name='system_debug'),
url(r'^debug/save/$', 'debug_save', name='system_debugsave'),
url(r'^varlogmessages/(?P<lines>\d+)?/?$', 'varlogmessages', name="system_messages"),
url(r'^top/', 'top', name="system_top"),
url(r'^test-mail/$', 'testmail', name="system_testmail"),
url(r'^clear-cache/$', 'clearcache', name="system_clearcache"),
url(r'^lsdir/(?P<path>.*)$', 'directory_browser', name="system_dirbrowser"),
url(r'^lsfiles/(?P<path>.*)$', 'file_browser', name="system_filebrowser"),
url(r'^cronjobs/$', 'cronjobs', name="system_cronjobs"),
url(r'^rsyncs/$', 'rsyncs', name="system_rsyncs"),
url(r'^smarttests/$', 'smarttests', name="system_smarttests"),
url(r'^sysctls/$', 'sysctls', name="system_sysctls"),
url(r'^loaders/$', 'loaders', name="system_loaders"),
url(r'^restart-httpd/$', 'restart_httpd', name="system_restart_httpd"),
url(r'^terminal/$', 'terminal', name="system_terminal"),
)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.