blob: a79656232eff7cbbab0878b7ae134ff4ef465614 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
<!--
########################################################################################
# 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="ScheduledScansList">
<div class="os-scheduled-scans-list cards white">
<div class="sm-table-section">
<h3>Scheduled Scans</h3>
<table class="sm-scheduled-scans-table table">
<thead>
<tr>
<th>Log Level</th>
<th>Clear</th>
<th>Scan Only Iventory</th>
<th>Scan Only Links</th>
<th>Scan Only Cliques</th>
<th>Environment</th>
<th>Inventory</th>
<th>Object ID</th>
<th>Frequency</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>Action</th>
</tr> </thead>
<tbody>
{{#each scan in scheduledScans }}
<tr>
<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.environment }}</td>
<td>{{ scan.inventory }}</td>
<td>{{ scan.object_id }}</td>
<td>{{ scan.freq }}</td>
<td>{{ scan.submit_timestamp }}</td>
<td>
<a href="{{pathFor route='scheduled-scan'
query=(asHash _id=(idToStr scan._id) action='view') }}"
><i class="cl-action-icon fa fa-eye" area-hidden="true"></i></a>
<a href="{{pathFor route='scheduled-scan'
query=(asHash _id=(idToStr scan._id) action='update') }}"
><i class="cl-action-icon fa fa-pencil" area-hidden="true"></i></a>
<a href="{{pathFor route='scheduled-scan'
query=(asHash _id=(idToStr scan._id) action='remove') }}"
><i class="cl-action-icon fa fa-trash-o" area-hidden="true"></i></a>
</td>
</tr>
{{/each }}
</tbody>
</table>
</div>
<div class="sm-pager-section">
{{> Pager (argsPager currentPage amountPerPage totalItems) }}
</div>
</div>
</template>
|