From: Ciro Scognamiglio Date: Wed, 12 Mar 2014 18:04:23 +0000 (+0100) Subject: changes to the sliceview X-Git-Tag: myslice-1.1~202 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ca08d77b6fbda4c2d94dc22eaa26b5d2e2458548;p=unfold.git changes to the sliceview --- diff --git a/myslice/urls.py b/myslice/urls.py index 0a811d97..b1cb78eb 100644 --- a/myslice/urls.py +++ b/myslice/urls.py @@ -23,6 +23,11 @@ platforms_view=portal.platformsview.PlatformsView.as_view() import portal.testbedlist import portal.sliceview import portal.sliceresourceview + +import portal.slicetabexperiment +import portal.slicetabinfo +import portal.slicetabtestbeds + from portal.sliceuserview import SliceUserView #### high level choices @@ -75,10 +80,15 @@ urls = [ # # # Portal - (r'^testbeds/(?P[^/]+)/?$', portal.testbedlist.TestbedList.as_view()), + (r'^resources/(?P[^/]+)/?$', portal.sliceresourceview.SliceResourceView.as_view()), - (r'^users/(?P[^/]+)/?$', SliceUserView.as_view()), + (r'^slice/(?P[^/]+)/?$', portal.sliceview.SliceView.as_view()), + + (r'^info/(?P[^/]+)/?$', portal.slicetabinfo.SliceInfoView.as_view()), + (r'^testbeds/(?P[^/]+)/?$', portal.slicetabtestbeds.SliceTabTestbeds.as_view()), + (r'^users/(?P[^/]+)/?$', SliceUserView.as_view()), + (r'^experiment/(?P[^/]+)/?$', portal.slicetabexperiment.ExperimentView.as_view()), url(r'^portal/', include('portal.urls')), ] diff --git a/portal/experimentview.py b/portal/slicetabexperiment.py similarity index 100% rename from portal/experimentview.py rename to portal/slicetabexperiment.py diff --git a/portal/testbedlist.py b/portal/slicetabtestbeds.py similarity index 100% rename from portal/testbedlist.py rename to portal/slicetabtestbeds.py diff --git a/portal/static/icons/authority-xs.png b/portal/static/icons/authority-xs.png new file mode 100644 index 00000000..471bbd5f Binary files /dev/null and b/portal/static/icons/authority-xs.png differ diff --git a/portal/static/icons/slices-xs.png b/portal/static/icons/slices-xs.png new file mode 100644 index 00000000..6b640583 Binary files /dev/null and b/portal/static/icons/slices-xs.png differ diff --git a/portal/static/icons/support-xs.png b/portal/static/icons/support-xs.png new file mode 100644 index 00000000..409ffc6f Binary files /dev/null and b/portal/static/icons/support-xs.png differ diff --git a/portal/static/icons/testbed-xs.png b/portal/static/icons/testbed-xs.png new file mode 100644 index 00000000..b5242a71 Binary files /dev/null and b/portal/static/icons/testbed-xs.png differ diff --git a/portal/static/icons/user-xs.png b/portal/static/icons/user-xs.png new file mode 100644 index 00000000..942c5a81 Binary files /dev/null and b/portal/static/icons/user-xs.png differ diff --git a/portal/static/icons/users-xs.png b/portal/static/icons/users-xs.png new file mode 100644 index 00000000..563a23ef Binary files /dev/null and b/portal/static/icons/users-xs.png differ diff --git a/portal/templates/slice-tab-info.html b/portal/templates/slice-tab-info.html new file mode 100644 index 00000000..d3f90fee --- /dev/null +++ b/portal/templates/slice-tab-info.html @@ -0,0 +1,44 @@ +
Loading Slices
+ + \ No newline at end of file diff --git a/portal/templates/onelab/onelab_testbed-list.html b/portal/templates/slice-tab-testbeds.html similarity index 100% rename from portal/templates/onelab/onelab_testbed-list.html rename to portal/templates/slice-tab-testbeds.html