diff options
author | Koren Lev <korenlev@gmail.com> | 2017-07-27 16:42:15 +0300 |
---|---|---|
committer | Koren Lev <korenlev@gmail.com> | 2017-07-27 16:42:15 +0300 |
commit | b88c78e3cf2bef22aa2f1c4d0bf305e303bc15f0 (patch) | |
tree | ffa30a6e1511d72562d8772b8700cda52b2752a1 /ui/imports/ui/components/scans-list/scans-list.html | |
parent | b70483739d1f6f4f0d31987ed2e4d1e30d71d579 (diff) |
adding calipso ui
Change-Id: Ifa6f63daebb07f45580f747341960e898fdb00c4
Signed-off-by: Koren Lev <korenlev@gmail.com>
Diffstat (limited to 'ui/imports/ui/components/scans-list/scans-list.html')
-rw-r--r-- | ui/imports/ui/components/scans-list/scans-list.html | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/ui/imports/ui/components/scans-list/scans-list.html b/ui/imports/ui/components/scans-list/scans-list.html new file mode 100644 index 0000000..f8998dd --- /dev/null +++ b/ui/imports/ui/components/scans-list/scans-list.html @@ -0,0 +1,88 @@ +<!-- +######################################################################################## +# Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others # +# # +# All rights reserved. This program and the accompanying materials # +# are made available under the terms of the Apache License, Version 2.0 # +# which accompanies this distribution, and is available at # +# http://www.apache.org/licenses/LICENSE-2.0 # +######################################################################################## + --> +<template name="ScansList"> +<div class="os-scans-list cards white"> + <div class="sm-table-section"> + <h3>Scans</h3> + <table class="sm-scans-table table"> + <thead> + <tr> + <th> + <a class="sm-table-header" + data-is-sortable="true" + data-sort-field="status" + >Status<span><i class="{{ fieldSortClass 'status' }}"></i></span> + </a> + </th> + <th>Log Level</th> + <th>Clear</th> + <th>Scan Only Iventory</th> + <th>Scan Only Links</th> + <th>Scan Only Cliques</th> + <th>Scan Completed</th> + <th> + <a class="sm-table-header" + data-is-sortable="true" + data-sort-field="submit_timestamp" + >Submit Timestamp<span><i class="{{ fieldSortClass 'submit_timestamp' }}"></i></span> + </a> + </th> + <th> + <a class="sm-table-header" + data-is-sortable="true" + data-sort-field="start_timestamp" + >Start Timestamp<span><i class="{{ fieldSortClass 'start_timestamp' }}"></i></span> + </a> + </th> + <th> + <a class="sm-table-header" + data-is-sortable="true" + data-sort-field="end_timestamp" + >End Timestamp<span><i class="{{ fieldSortClass 'end_timestamp' }}"></i></span> + </a> + </th> + <th>Environment</th> + <th>Inventory</th> + <th>Object ID</th> + <th>Action</th> + </tr> </thead> + <tbody> + {{#each scan in scans }} + <tr> + <td>{{ scan.status }}</td> + <td>{{ scan.log_level }}</td> + <td>{{ scan.clear }}</td> + <td>{{ scan.scan_only_inventory }}</td> + <td>{{ scan.scan_only_links }}</td> + <td>{{ scan.scan_only_cliques }}</td> + <td>{{ scan.scan_completed }}</td> + <td>{{ scan.submit_timestamp }}</td> + <td>{{ scan.start_timestamp }}</td> + <td>{{ scan.end_timestamp }}</td> + <td>{{ scan.environment }}</td> + <td>{{ scan.inventory }}</td> + <td>{{ scan.object_id }}</td> + <td><a href="{{pathFor route='scanning-request' + query=(asHash env=scan.environment _id=(idToStr scan._id) action='view') }}" + ><i class="cl-action-icon fa fa-eye" area-hidden="true"></i></a> + </td> + </tr> + {{/each }} + </tbody> + </table> + </div> + + <div class="sm-pager-section"> + {{> Pager (argsPager currentPage amountPerPage totalItems) }} + </div> + +</div> +</template> |