From 9a95335d463a2ee2976c5f57a30e68765cf165b0 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Thu, 27 Feb 2014 19:04:48 +0100 Subject: [PATCH] slice page: info about the slice - description, number of users, number of resources... --- devel/server-loop.sh | 4 +- .../templates/onelab/onelab_slice-view.html | 74 +++++++++++-------- 2 files changed, 46 insertions(+), 32 deletions(-) diff --git a/devel/server-loop.sh b/devel/server-loop.sh index 49d433e5..c77258fc 100755 --- a/devel/server-loop.sh +++ b/devel/server-loop.sh @@ -3,8 +3,8 @@ DIRNAME=$(dirname $0) cd $DIRNAME/.. # default port : if hostname starts with z -> use 8080 ; otherwise take 80 -hostname | grep -q '^z' && port=8080 || port=8080 -#hostname | grep -q '^z' && port=8080 || port=80 +#hostname | grep -q '^z' && port=8080 || port=8080 +hostname | grep -q '^z' && port=8080 || port=80 [[ -n "$@" ]] && port=$1 while true; do diff --git a/portal/templates/onelab/onelab_slice-view.html b/portal/templates/onelab/onelab_slice-view.html index 85ae5a8e..90c9ca2c 100644 --- a/portal/templates/onelab/onelab_slice-view.html +++ b/portal/templates/onelab/onelab_slice-view.html @@ -13,37 +13,51 @@


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Description:this slice is dedicated to debug the myslice software...
url:http://myslice.info
users:3
resources:8
created:2012-06-21 10:00
last update:2014-02-25 14:00
expires:2014-04-01 12:00
+
Loading Slices
+
+ {% endblock unfold_main %} -- 2.43.0