server/settings/js/templates/authtoken.handlebars
Jan-Christoph Borchardt 0a7fa32290
Sessions: Make delete and filesystem access options tabbable
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-11-01 13:26:06 +01:00

26 lines
793 B
Handlebars

<tr data-id="{{id}}">
<td class="client">
<div class="{{icon}}" />
</td>
<td class="token-name">
{{name}}
</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 canDelete}}
<li>
<a class="icon icon-delete" tabindex="0">{{revokeText}}</a>
</li>
{{/if}}
</div>
</td>
</tr>