<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
- <h4 class="modal-title" id="{{domid}}__apply__label">Columns selector</h4>
+ <h4 class="modal-title" id="{{domid}}__apply__label">Apply pending changes</h4>
</div>
<div class="modal-body">
{{query_updater}}
<!-- Button toolbar -->
- <button class="btn btn-primary btn-sm" data-toggle="modal" data-target="#{{domid}}__apply">Apply</button>
+ <button class="btn btn-onelab btn-sm" data-toggle="modal" data-target="#{{domid}}__apply">Apply</button>
<button class="btn btn-default btn-sm" data-toggle="modal" data-target="#{{domid}}__cancel">Cancel</button>
</div>
</table>
</div>
<!--not all buttons are expected to work for now, hence the disabled mark-->
-<button type="button" id="{{domid}}__update" class="btn btn-default">Update</button>
-<button type="button" id="{{domid}}__refresh" class="btn btn-default" disabled>Refresh</button>
-<button type="button" id="{{domid}}__reset" class="btn btn-default" disabled>Reset</button>
-<button type="button" id="{{domid}}__clear_annotations" class="btn btn-default" disabled>Clear Annotations</button>
+<button type="button" id="{{domid}}__update" class="btn btn-onelab">Update</button>
+<button type="button" id="{{domid}}__refresh" class="btn btn-primary" disabled>Refresh</button>
+<button type="button" id="{{domid}}__reset" class="btn btn-danger" disabled>Reset</button>
+<button type="button" id="{{domid}}__clear_annotations" class="btn btn-danger" disabled>Clear Annotations</button>
}\r
\r
.legend ol li.selected {\r
- background: #25BA25;\r
+ background: #FFFF99;\r
}\r
\r
/* latest stuff */\r
from plugins.apply import ApplyPlugin
from plugins.querytable import QueryTable
from plugins.googlemap import GoogleMap
-#from plugins.queryupdater import QueryUpdater
+# from plugins.queryupdater import QueryUpdaterPlugin
from plugins.filter_status import FilterStatusPlugin
from plugins.testbeds import TestbedsPlugin
from plugins.scheduler2 import Scheduler2
# --------------------------------------------------------------------------
# QueryUpdater (Pending Operations)
-#DEPRECATED| pending_resources = QueryUpdater(
-#DEPRECATED| page = page,
-#DEPRECATED| title = 'Pending operations',
-#DEPRECATED| query = main_query,
-#DEPRECATED| togglable = False,
-#DEPRECATED| # start turned off, it will open up itself when stuff comes in
-#DEPRECATED| toggled = False,
-#DEPRECATED| domid = 'pending',
-#DEPRECATED| outline_complete = True,
-#DEPRECATED| username = request.user,
-#DEPRECATED| )
+# pending_resources = QueryUpdaterPlugin(
+# page = page,
+# title = 'Pending operations',
+# query = main_query,
+# togglable = False,
+# # start turned off, it will open up itself when stuff comes in
+# toggled = False,
+# domid = 'pending',
+# outline_complete = True,
+# username = request.user,
+# )
# --------------------------------------------------------------------------
# NETWORKS
}
/* SLICE VIEW */
-div.container-resource {
+div.container-resource, div.container-slice {
padding-right:15px;
padding-left:15px;
}
-
+.table th {
+ border-top:0 !important;
+}
div#slice-view {
margin:0;
}
- <div class="col-md-2">
- <div id="select-platform" class="list-group">
- </div>
-
- <ul class="list-group">
- <li class="list-group-item">Authority:<b> {{user_details.parent_authority}}</b>
- <!--<select id="auth_list">
- <option value="ple.upmc">UPMC</option>
- <option value="ple.inria">INRIA</option>
- <option value="ple.nitos">NITOS</option>
- <option value="ple.iminds">iMinds</option>
- </select> -->
- </li>
- <li class="list-group-item">Filter: slice</li>
- <li class="list-group-item">...</li>
- <li class="list-group-item">...</li>
- <li class="list-group-item">...</li>
- </ul>
-
+
+<div class="col-md-2">
+ <div id="select-platform" class="list-group">
</div>
- <div class="col-md-10">
- <div class="row">
- </div>
- <div id="user-tab-loading"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Useres" /></div>
- <div id="user-tab-loaded" style="display:none;">
- <table id="user-tab">
- <tr>
- <th>+/-</th>
- <th>Email</th>
- <th>user_hrn</th>
- <th>Enabled</th>
- </tr>
- </table>
- </div>
+
+ <ul class="list-group">
+ <li class="list-group-item">Authority:<b> {{user_details.parent_authority}}</b>
+ <!--<select id="auth_list">
+ <option value="ple.upmc">UPMC</option>
+ <option value="ple.inria">INRIA</option>
+ <option value="ple.nitos">NITOS</option>
+ <option value="ple.iminds">iMinds</option>
+ </select> -->
+ </li>
+ <li class="list-group-item">Filter: slice</li>
+
+ </ul>
+
+</div>
+<div class="col-md-10">
+ <div id="user-tab-loading"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Useres" /></div>
+ <div id="user-tab-loaded" style="display:none;">
+ <table id="user-tab" class="table">
+ <tr>
+ <th>+/-</th>
+ <th>Email</th>
+ <th>User hrn</th>
+ <th>Enabled</th>
+ </tr>
+ </table>
+ </div>
+</div>
<script>
$(document).ready(function() {
//console.log("the value you selected: " + selectedValue);
user_urn, user_last_name, user_phone, user_hrn, user_email, user_type
*/
$.each( data, function( key, val ) {
- list_users.push( "<li><a href=\"portal/user/"+val.user_email+"\">" + val.user_email + "</a></li>" );
+ //list_users.push( "<li><a href=\"portal/user/"+val.user_email+"\">" + val.user_email + "</a></li>" );
user_row = "<tr>";
// checking the box for the users that belong to the selected slice
var flag_checkbox = 0;
</div>
</div>
</div>
-<div class="container-fluid tab-content">
+<div class="container-fluid tab-content container-slice">
<div class="tab-pane active row" id="info">...</div>
<div class="tab-pane row" id="testbeds">...</div>
<div class="tab-pane row" id="resources">...</div>
</select> -->
</li>
<li class="list-group-item">Filter: slice</li>
- <li class="list-group-item">...</li>
- <li class="list-group-item">...</li>
- <li class="list-group-item">...</li>
+
</ul>
</div>
</div>
<div id="user-tab-loading"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Useres" /></div>
<div id="user-tab-loaded" style="display:none;">
- <table id="user-tab">
+ <table id="user-tab" class="table">
<tr>
<th>+/-</th>
<th>Email</th>
- <th>user_hrn</th>
+ <th>User hrn</th>
<th>Enabled</th>
</tr>
</table>