summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/urls.py
diff options
context:
space:
mode:
authorJoey Hagedorn <hagedorn@mcs.anl.gov>2007-06-25 19:34:56 +0000
committerJoey Hagedorn <hagedorn@mcs.anl.gov>2007-06-25 19:34:56 +0000
commit5dc9881ac52e2a6cb9c326931a0e5c92f138c74f (patch)
treeb7fd71e52005c1d179d2c97a739d3a67952da3f2 /src/lib/Server/Reports/urls.py
parentfed36b44453477c31626e77005bb22e95110798d (diff)
downloadbcfg2-5dc9881ac52e2a6cb9c326931a0e5c92f138c74f.tar.gz
bcfg2-5dc9881ac52e2a6cb9c326931a0e5c92f138c74f.tar.bz2
bcfg2-5dc9881ac52e2a6cb9c326931a0e5c92f138c74f.zip
Added UI to disable old hosts, hopefully made it possible to install app in non-root of webserver
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3365 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Reports/urls.py')
-rw-r--r--src/lib/Server/Reports/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Server/Reports/urls.py b/src/lib/Server/Reports/urls.py
index 6d5fe8833..9f602cb4d 100644
--- a/src/lib/Server/Reports/urls.py
+++ b/src/lib/Server/Reports/urls.py
@@ -4,7 +4,9 @@ urlpatterns = patterns('',
# Example:
# (r'^Bcfg2.Server.Reports/', include('Bcfg2.Server.Reports.apps.foo.urls.foo')),
(r'^/*$','Bcfg2.Server.Reports.reports.views.index'),
+
(r'^clients/(?P<hostname>\S+)/(?P<pk>\d+)/$', 'Bcfg2.Server.Reports.reports.views.client_detail'),
+ (r'^clients/(?P<hostname>\S+)/manage/$', 'Bcfg2.Server.Reports.reports.views.client_manage'),
(r'^clients/(?P<hostname>\S+)/$', 'Bcfg2.Server.Reports.reports.views.client_detail'),
(r'^clients/(?P<hostname>\S+)$', 'Bcfg2.Server.Reports.reports.views.client_detail'),
#hack because hostnames have periods and we still want to append slash