management requests table reorganization
authorCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Mon, 15 Sep 2014 16:04:27 +0000 (18:04 +0200)
committerCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Mon, 15 Sep 2014 16:04:27 +0000 (18:04 +0200)
portal/static/css/onelab.css
portal/templates/management-tab-requests.html

index 8c35941..d64c543 100644 (file)
@@ -62,6 +62,16 @@ span.subtitle {
     font-weight:normal;
     text-transform:uppercase;
 }
+span.small {
+    font-size:9pt;
+}
+span.gray {
+    color:gray;
+}
+span.type {
+    color:#201E62;
+    font-weight:bold;
+}
 span.htitle {
     color:#454545;
     font-size:9pt;
index ea2c21a..ba85ba6 100644 (file)
@@ -82,6 +82,7 @@
        }
 </script>
 
+<div class="container">
 <div class="col-md-12">
        <h2>From your authorities</h2>
 </div>
        {% for authority, requests in my_authorities.items %}
        
         {% for request in requests %}
-    
-         <tr>
+        
+        {% if request.type == 'user' %}
+       <tr class="info">
+       {% elif request.type == 'slice' %}
+       <tr>
+       {% else %}
+       <tr class="active">
+       {% endif %}
            <td><span class="gray small">{{ request.id }}</span></td>
            <td>
             {% if request.allowed == 'allowed' %}
                <i>There is no pending request waiting for validation.</i>
        </div>
 {% endif %}
+</div>
+
+
 <br />
 <div class="col-md-12">
        <h2>From your sub-authorities</h2>