summaryrefslogtreecommitdiffstats
path: root/settings/js/templates/authtoken.handlebars
blob: 37dc31f04c6989ba57a47f91f313fe44b553b1e8 (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
<tr data-id="{{id}}">
	<td class="client">
	    <div class="{{icon}}" />
	</td>
	<td class="token-name">
		<span>{{name}}</span>
        {{#if canRename}}
            <input class="hidden" type="text" value="{{name}}" />
        {{/if}}
	</td>
	<td>
		<span class="last-activity has-tooltip" title="{{lastActivityTime}}">{{lastActivity}}</span></td>
	<td class="more">
		{{#if showMore}}<a class="icon icon-more has-tooltip" tabindex="0" title="{{settingsTitle}}"/>{{/if}}
		<div class="popovermenu menu">
		{{#if canScope}}
			<li><span class="menuitem">
				<input class="filesystem checkbox" type="checkbox" id="{{id}}_filesystem" {{#if scope.filesystem}}checked{{/if}} tabindex="0" />
				<label for="{{id}}_filesystem">{{allowFSAccess}}</label><br/>
			</span></li>
		{{/if}}
        {{#if canRename}}
            <li>
                <a class="icon icon-rename" tabindex="0">{{renameText}}</a>
            </li>
        {{/if}}
		{{#if canDelete}}
			<li>
				<a class="icon icon-delete" tabindex="0">{{revokeText}}</a>
			</li>
		{{/if}}
		</div>
	</td>
</tr>