-
Notifications
You must be signed in to change notification settings - Fork 308
/
token.applications.ssh.html
66 lines (60 loc) · 2.65 KB
/
token.applications.ssh.html
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
<h3><translate>SSH Tokens attached to services</translate></h3>
<p><translate>SSH Tokens can be attached to a service ID with a user. The user is the user on the SSH server
and may differ from the token owner. To attach the token to a service ID go to the token details.</translate></p>
<p><translate>To define service IDs go to <a ui-sref="config.serviceid">Service ID config</a></translate></p>
<div uib-pagination ng-show="machinetokens.count > 15"
total-items="machinetokens.count" ng-model="params.page"
previous-text="{{ 'Previous'|translate }}"
next-text="{{ 'Next'|translate }}"
last-text="{{ 'Last'|translate }}"
first-text="{{ 'First'|translate }}"
items-per-page="15"
max-size="5"
boundary-links="true" ng-change="machientokenPageChanged()"></div>
<div class="table-responsive">
<table class="table table-bordered table-striped" id="tablemachinetokens">
<thead>
<tr>
<!-- | token serial | application (offline) | tokenowner | <options> | -->
<th class="pifilter">
<button class="btn btn-default unsorted"
pi-sort-by="serial"
translate>serial
</button>
<pi-filter ng-model="form.filter.serial"
ng-change="get('livesearch')"
ng-keypress="($event.which==13)?get():return"
></pi-filter>
</th>
<th class="pifilter">
<button pi-sort-by="service_id"
class="btn btn-default
unsorted"
translate>Service ID
</button>
<pi-filter ng-model="form.filter.service_id"
ng-change="get('livesearch')"
ng-keypress="($event.which==13)?get():return"></pi-filter>
</th>
<th class="pifilter">
<button pi-sort-by="user"
class="btn btn-default
unsorted"
translate>SSH user
</button>
<pi-filter ng-model="form.filter.user"
ng-change="get()"></pi-filter>
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="mtok in machinetokens">
<td><a ui-sref="token.details({tokenSerial:mtok.serial})"
ng-click="$rootScope.returnTo=token.applications;">
{{ mtok.serial }}</a></td>
<td>{{ mtok.options.service_id }}</td>
<td>{{ mtok.options.user }}</td>
</tr>
</tbody>
</table>
</div>