X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=forge%2Ftemplates%2FlistCourse.html;fp=forge%2Ftemplates%2FlistCourse.html;h=0c510595f504132678d3a7fe5d74dfba8b96839b;hb=2c011fe6120aa3224ae597c22a9bc0e3afbda945;hp=0000000000000000000000000000000000000000;hpb=fcbf96d0fd7ee178e58385a5db6a6d3a73252924;p=myslice.git
diff --git a/forge/templates/listCourse.html b/forge/templates/listCourse.html
new file mode 100644
index 00000000..0c510595
--- /dev/null
+++ b/forge/templates/listCourse.html
@@ -0,0 +1,73 @@
+
+
+
+
+ List of all your class
+
+
+ {% if courses %}
+
+ {% for course, environments in courses %}
+
+ {% if course.ready %}
+
+ - Main SSH Key
+ {# - {{ course.id }}
 #}
+ - Subject
+ - Delete Course
+ - Renew-Slice
+
+ {% for environment, slices in environments %}
+ {% if environment.ready %}
+ - Environment Re-install environment
+ - SSH Key
+
+ {% for pleSlice, hosts in slices %}
+ - {{ pleSlice.sliceName }}
+
+ {% for host, services, interfaces in hosts %}
+ - Hostname : {{ host.hostname }} Type : {{ host.hostType }}
+
+ {% if services %}
+ - Service List :
+
+ {% for service in services %}
+ {% if service.servicePort == '' %}
+ - {{ service.serviceName }}
+ {% else %}
+ - {{ service.serviceName }} on {{ service.servicePort }}
+ {% endif %}
+ {% endfor %}
+
+ {% endif %}
+ {% if interfaces %}
+ - Interface List :
+
+ {% for interface in interfaces %}
+ - {{ interface.name }} : {{ interface.ip }}
+ {% endfor %}
+
+ {% endif %}
+
+ {% endfor %}
+
+ {% endfor %}
+
+ {% else %}
+ Now installing this environment
+ - Environment Re-install environment
+ {% endif %}
+ {% endfor %}
+
+ {% else %}
+ - Course not ready
+ - {{ course.ready }}
+ {% endif %}
+
+ {% endfor %}
+
+ {% else %}
+ You have not created a class yet
+ {% endif %}
+
+