git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update: use testbed_name instead of network_hrn as logos for testbeds except iotlab...
[unfold.git]
/
portal
/
slicerequestview.py
diff --git
a/portal/slicerequestview.py
b/portal/slicerequestview.py
index
f9c4636
..
a880d39
100644
(file)
--- a/
portal/slicerequestview.py
+++ b/
portal/slicerequestview.py
@@
-92,7
+92,7
@@
class SliceRequestView (LoginRequiredAutoLogoutView, ThemeView):
# Page rendering
page = Page(wsgi_request)
page.add_js_files ( [ "js/jquery.validate.js", "js/jquery-ui.js" ] )
# Page rendering
page = Page(wsgi_request)
page.add_js_files ( [ "js/jquery.validate.js", "js/jquery-ui.js" ] )
- page.add_css_files ( [ "
https://code.jquery.com/ui/1.10.3/themes/smoothne
ss/jquery-ui.css" ] )
+ page.add_css_files ( [ "
c
ss/jquery-ui.css" ] )
page.expose_js_metadata()
if method == 'POST':
page.expose_js_metadata()
if method == 'POST':
@@
-113,7
+113,7
@@
class SliceRequestView (LoginRequiredAutoLogoutView, ThemeView):
# Handle project if used
project = wsgi_request.POST.get('project', None)
# Handle project if used
project = wsgi_request.POST.get('project', None)
- if project is not None:
+ if project is not None
and project != ''
:
authority_hrn = project
slice_request = {
authority_hrn = project
slice_request = {