cosmetic fixes, about page reorganised, footer (totest)
[myslice.git] / portal / templates / onelab / onelab_management-tab-requests.html
index 8db652f..87b8e8e 100644 (file)
@@ -14,9 +14,7 @@
                });
                if (ids.length > 0) {
                        var id_str = ids.join('/');
-
                        // XXX spinner
-
                        $.getJSON('/portal/validate_action/' + id_str,
                                function(status) {
                                        $.each(status, function(request_type__id, request_status) {
@@ -44,7 +42,7 @@
 </script>
 
 <div class="col-md-12">
-       <h2>Authorities</h2>
+       <h2>From your authorities</h2>
 </div>
 {% if my_authorities %}
        
@@ -98,7 +96,6 @@
 
     {% endfor %}
        </table>
-       </div>
        {% endfor %}
 
 {% else %}
                <i>There is no pending request waiting for validation.</i>
        </div>
 {% endif %}
-
+<div>nnllknjkn<br /><br /></div>
 <div class="col-md-12">
-       <h2>Sub-Authorities</h2>
+       <h2>From your sub-authorities</h2>
 </div>
 {% if sub_authorities %}
        
        {% for authority, requests in sub_authorities.items %}
        <div class="col-md-12">
-       <h3>{{authority}}</h3>
-           <table class="table">
+               <h2>{{authority}}</h2>
+       </div>
+       
+       <table class="table">
              <th>
                <td>Type</td>
                <td>Id</td>
            <!--<div class='portal_validate_request {{request.type}} {% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}'> -->
                  </tr>
            {% endfor %}
-           </table>
-       </div>
+       </table>
        {% endfor %}
 {% else %}
 <div class="col-md-12">
 {% endif %}
 
 <div class="col-md-12">
-       <h2>Authorities with delegation</h2>
+       <h2>From your authorities with delegation</h2>
 </div>
 
 {% if delegation_authorities %}
        {% for authority, requests in delegation_authorities.items %}
        <div class="col-md-12">
                <h3>{{authority}}</h3>
-                   <table class="table">
+       </div>
+       <table class="table">
                      <th>
                        <td>Type</td>
                        <td>Id</td>
                    <!--<div class='portal_validate_request {{request.type}} {% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}'> -->
                          </tr>
                    {% endfor %}
-                   </table>
-               </div>
+       </table>
                {% endfor %}
 {% else %}
 <div class="col-md-12">
 </div>
 {% endif %}
 <div class="col-md-12">
-       <button class="btn btn-onelab" type="button" id="portal__validate" onclick="on_click_event();">Validate</button>
+       <button class="btn btn-onelab" type="button" id="portal__validate" onclick="on_click_event();"><span class="glyphicon glyphicon-ok"></span> Validate</button>
 </div>