From: Ciro Scognamiglio Date: Thu, 13 Mar 2014 16:51:35 +0000 (+0100) Subject: cleaned style on the slice page and fixed menu X-Git-Tag: myslice-1.1~197 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c4d5a865d69c256a54a7422417119cfcfca0b0b9;p=myslice.git cleaned style on the slice page and fixed menu --- diff --git a/myslice/urls.py b/myslice/urls.py index b1cb78eb..5a8455bd 100644 --- a/myslice/urls.py +++ b/myslice/urls.py @@ -82,12 +82,11 @@ urls = [ # Portal (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/slicetabexperiment.py b/portal/slicetabexperiment.py index f13c9d80..cd1d6adb 100644 --- a/portal/slicetabexperiment.py +++ b/portal/slicetabexperiment.py @@ -15,7 +15,7 @@ from myslice.configengine import ConfigEngine from theme import ThemeView class ExperimentView (FreeAccessView, ThemeView): - template_name = 'experimentview.html' + template_name = 'slice-tab-experiment.html' def get (self, request, slicename, state=None): diff --git a/portal/static/css/onelab.css b/portal/static/css/onelab.css index c39de29b..1d739426 100644 --- a/portal/static/css/onelab.css +++ b/portal/static/css/onelab.css @@ -342,6 +342,9 @@ div#ticket-request p { ul.nav-sliceview {} ul.nav-sliceview li { +} +ul.nav-sliceview li a { + border-bottom:0; } ul.nav-sliceview li:first-child { padding:0; @@ -350,6 +353,9 @@ ul.nav-sliceview li:first-child a { font-weight:bold; padding:6px 15px 4px 15px; } +ul.nav-sliceview li:first-child.active a { + padding:6px 15px 3px 15px; +} ul.nav-sliceview li:first-child img { margin:0 4px 1px 0; padding:0; @@ -388,6 +394,22 @@ a.list-group-item p.list-group-item-text { font-style:italic; } +div#slice-info { + margin-top:25px; +} +div#slice-info table { + width:100%; + margin:0 auto; +} +div#slice-info table td:first-child { + text-align:right; + font-weight:bold; + padding-right:15px; +} +div#slice-info td { + padding:5px; +} + /* SLICE VIEW sections */ .slice-sections, .slice-pending { margin:0; diff --git a/portal/templates/experimentview.html b/portal/templates/experimentview.html deleted file mode 100644 index 9056eb4b..00000000 --- a/portal/templates/experimentview.html +++ /dev/null @@ -1,21 +0,0 @@ -

Secure Shell (SSH)

-

-Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client (running SSH server and SSH client programs, respectively). The protocol specification distinguishes between two major versions that are referred to as SSH-1 and SSH-2. -

-

More Info: http://en.wikipedia.org/wiki/Secure_Shell

- - -

NEPI

-

NEPI, the Network Experimentation Programming Interface, is a life-cycle management tool for network experiments. The idea behind NEPI is to provide a single tool to design, deploy, and control network experiments, and gather the experiment results. Going further, NEPI was specially conceived to function with arbitrary experimentation platforms, so researchers could use a single tool to work with network simulators, emulators, or physical testbeds, or even a mixture of them. To accomplish this, NEPI provides a high-level interface to describe experiments that is independent from any experimentation platform, but is able to capture platform specific configurations. Experiment definitions can be stored in XML format to be later reproduced, and modified according to experimentation needs. Experiment execution is orchestrated by a global experiment controller, that is platform independent, and different platform-dependent testbed controllers, creating a control hierarchy that is able t adapt to platform specific requirements while providing an integrated control scheme.

-

More Info: http://nepi.inria.fr

- -

OMF

-

OMF is a Testbed Control, Measurement and Management Framework.

-

-OMF was originally developed for the ORBIT wireless testbed at Winlab, Rutgers University. Since 2007, OMF has been actively extended to operate on testbeds with many different type of network and resource technologies. It is now deployed and used on different testbeds in Australia, Europe, and in the U.S. OMF is currently being extended further to support exciting new features and technologies. This website is hosting this ongoing activity. OMF development is now conducted essentially within the TEMPO project at NICTA (Australia) in strong collaboration with Winlab (Rutgers University). -

- -

In addition to the main OMF software, this site also hosts OMF sub-projects addressing various related aspects of a testbed's control, measurement, and management.

- - -

More Info: http://mytestbed.net/projects/omf

\ No newline at end of file diff --git a/portal/templates/onelab/onelab_widget-slice-sections.html b/portal/templates/onelab/onelab_widget-slice-sections.html index 47dea177..6a98632d 100644 --- a/portal/templates/onelab/onelab_widget-slice-sections.html +++ b/portal/templates/onelab/onelab_widget-slice-sections.html @@ -1,13 +1,22 @@ +{% if section == "resources" %} +{% else %} + +{% endif %} \ No newline at end of file diff --git a/portal/templates/slice-tab-experiment.html b/portal/templates/slice-tab-experiment.html new file mode 100644 index 00000000..f1b2cba9 --- /dev/null +++ b/portal/templates/slice-tab-experiment.html @@ -0,0 +1,27 @@ +
+
+
+

Secure Shell (SSH)

+

+ Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client (running SSH server and SSH client programs, respectively). The protocol specification distinguishes between two major versions that are referred to as SSH-1 and SSH-2. +

+

More Info: http://en.wikipedia.org/wiki/Secure_Shell

+ + +

NEPI

+

NEPI, the Network Experimentation Programming Interface, is a life-cycle management tool for network experiments. The idea behind NEPI is to provide a single tool to design, deploy, and control network experiments, and gather the experiment results. Going further, NEPI was specially conceived to function with arbitrary experimentation platforms, so researchers could use a single tool to work with network simulators, emulators, or physical testbeds, or even a mixture of them. To accomplish this, NEPI provides a high-level interface to describe experiments that is independent from any experimentation platform, but is able to capture platform specific configurations. Experiment definitions can be stored in XML format to be later reproduced, and modified according to experimentation needs. Experiment execution is orchestrated by a global experiment controller, that is platform independent, and different platform-dependent testbed controllers, creating a control hierarchy that is able t adapt to platform specific requirements while providing an integrated control scheme.

+

More Info: http://nepi.inria.fr

+ +

OMF

+

OMF is a Testbed Control, Measurement and Management Framework.

+

+ OMF was originally developed for the ORBIT wireless testbed at Winlab, Rutgers University. Since 2007, OMF has been actively extended to operate on testbeds with many different type of network and resource technologies. It is now deployed and used on different testbeds in Australia, Europe, and in the U.S. OMF is currently being extended further to support exciting new features and technologies. This website is hosting this ongoing activity. OMF development is now conducted essentially within the TEMPO project at NICTA (Australia) in strong collaboration with Winlab (Rutgers University). +

+ +

In addition to the main OMF software, this site also hosts OMF sub-projects addressing various related aspects of a testbed's control, measurement, and management.

+ + +

More Info: http://mytestbed.net/projects/omf

+
+
+
\ No newline at end of file diff --git a/portal/templates/slice-tab-info.html b/portal/templates/slice-tab-info.html index 78be6ff7..747f3a13 100644 --- a/portal/templates/slice-tab-info.html +++ b/portal/templates/slice-tab-info.html @@ -1,11 +1,7 @@
-
Loading Slices
- +
Loading Slices
@@ -33,18 +29,16 @@ slice_url=""+val.slice_url+""; } - slice_row = "Description:"+val.slice_description+""; - slice_row += "url:"+val.slice_url+""; - slice_row += "users:"+user_length+""; - slice_row += "resources:"+nodes_length+""; - slice_row += "created:"+val.created+""; - slice_row += "last update:"+val.last_updated+""; - slice_row += "expires:"+val.slice_expires+""; + slice_row = "Description:"+val.slice_description+""; + slice_row += "url:"+val.slice_url+""; + slice_row += "users:"+user_length+""; + slice_row += "resources:"+nodes_length+""; + slice_row += "created:"+val.created+""; + slice_row += "last update:"+val.last_updated+""; + slice_row += "expires:"+val.slice_expires+""; table_slices.push(slice_row); }); - $("table#slice-tab").html(table_slices.join( "" )); - $("div#slice-tab-loaded").css("display","block"); - $("div#slice-tab-loading").css("display","none"); + $("div#slice-info").html("" + table_slices.join( "" ) + "
"); }); }); \ No newline at end of file diff --git a/portal/templates/slice-tab-testbeds.html b/portal/templates/slice-tab-testbeds.html index e609bcf6..c8d6a773 100644 --- a/portal/templates/slice-tab-testbeds.html +++ b/portal/templates/slice-tab-testbeds.html @@ -3,14 +3,15 @@
Loading Testbeds