From: Yasin Date: Fri, 21 Feb 2014 11:45:56 +0000 (+0100) Subject: Static pages added X-Git-Tag: myslice-1.1~327^2^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=16e09d1050e1e0f9c9de41dcb6821159b6a5c9c7;p=myslice.git Static pages added --- diff --git a/portal/documentationview.py b/portal/documentationview.py new file mode 100644 index 00000000..e5c00ff7 --- /dev/null +++ b/portal/documentationview.py @@ -0,0 +1,16 @@ +from django.shortcuts import render +from django.views.generic import View + +from unfold.loginrequired import FreeAccessView +from ui.topmenu import topmenu_items + + +# splitting the 2 functions done here +# GET is for displaying the empty form +# POST is to process it once filled - or show the form again if anything is missing +class DocumentationView (FreeAccessView): + template_name = "documentationview.html" + def _display (self, request): + return render(request, 'documentationview.html', { + 'topmenu_items': topmenu_items('FAQ', request), + }) diff --git a/portal/experimentview.py b/portal/experimentview.py new file mode 100644 index 00000000..b4c20b02 --- /dev/null +++ b/portal/experimentview.py @@ -0,0 +1,19 @@ +from django.shortcuts import render +from django.views.generic import View + +from unfold.loginrequired import FreeAccessView +from ui.topmenu import topmenu_items + + +# splitting the 2 functions done here +# GET is for displaying the empty form +# POST is to process it once filled - or show the form again if anything is missing +class ExperimentView (FreeAccessView): + template_name = "experimentview.html" + def _display (self, request): + return render(request, 'experimentview.html', { + 'topmenu_items': topmenu_items('experiment', request), + }) + + + diff --git a/portal/templates/documentationview.html b/portal/templates/documentationview.html new file mode 100644 index 00000000..344c8d30 --- /dev/null +++ b/portal/templates/documentationview.html @@ -0,0 +1,15 @@ +{% extends "layout-unfold1.html" %} + +{% block head %} +{{ wizard.form.media }} +{% endblock %} + +{% block unfold_main %} + +

OneLab Portal Documentation

+

FAQ

+

Users

+

Managers

+ +{% endblock %} + diff --git a/portal/templates/experimentview.html b/portal/templates/experimentview.html new file mode 100644 index 00000000..0aebd03e --- /dev/null +++ b/portal/templates/experimentview.html @@ -0,0 +1,35 @@ +{% extends "layout-unfold1.html" %} + +{% block head %} +{{ wizard.form.media }} +{% endblock %} + +{% block unfold_main %} + + +

Experiment Tools

+ +

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

+ + +{% endblock %} diff --git a/portal/urls.py b/portal/urls.py index 87cf020e..790e927d 100644 --- a/portal/urls.py +++ b/portal/urls.py @@ -36,7 +36,8 @@ from portal.registrationview import RegistrationView from portal.joinview import JoinView from portal.sliceview import SliceView from portal.validationview import ValidatePendingView - +from portal.experimentview import ExperimentView +from portal.documentationview import DocumentationView # hopefully these should move in dedicated source files too from portal.views import PresViewView, pres_view_static, pres_view_methods, pres_view_animation from portal.django_passresetview import password_reset, password_reset_done, password_reset_confirm, password_reset_complete @@ -72,6 +73,8 @@ urlpatterns = patterns('', url(r'^register/?$', RegistrationView.as_view(), name='registration'), url(r'^join/?$', JoinView.as_view(), name='join'), url(r'^contact/?$', ContactView.as_view(), name='contact'), + url(r'^experiment?$', ExperimentView.as_view(), name='experiment'), + url(r'^support/documentation?$', DocumentationView.as_view(), name='FAQ'), #url(r'^pass_reset/?$', PassResetView.as_view(), name='pass_rest'), # Slice request url(r'^slice_request/?$', SliceRequestView.as_view(), name='slice_request'),