summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-11-01 13:26:06 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-11-01 13:26:06 +0100
commit0a7fa3229001fd4af6bcce7c599243703c0b2ca7 (patch)
treea90f869207ed7abe1eb2bd032dececf344fc8a55 /settings
parent19beccc735ea77fefd3ae897d7276cedd53c2671 (diff)
downloadnextcloud-server-0a7fa3229001fd4af6bcce7c599243703c0b2ca7.tar.gz
nextcloud-server-0a7fa3229001fd4af6bcce7c599243703c0b2ca7.zip
Sessions: Make delete and filesystem access options tabbable
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/templates.js4
-rw-r--r--settings/js/templates/authtoken.handlebars4
2 files changed, 4 insertions, 4 deletions
diff --git a/settings/js/templates.js b/settings/js/templates.js
index 87c05bdefda..c9931fed41b 100644
--- a/settings/js/templates.js
+++ b/settings/js/templates.js
@@ -13,7 +13,7 @@ templates['authtoken'] = template({"1":function(container,depth0,helpers,partial
+ alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper)))
+ "_filesystem\" "
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.scope : depth0)) != null ? stack1.filesystem : stack1),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + "/>\n <label for=\""
+ + " tabindex=\"0\" />\n <label for=\""
+ alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper)))
+ "_filesystem\">"
+ alias4(((helper = (helper = helpers.allowFSAccess || (depth0 != null ? depth0.allowFSAccess : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"allowFSAccess","hash":{},"data":data}) : helper)))
@@ -23,7 +23,7 @@ templates['authtoken'] = template({"1":function(container,depth0,helpers,partial
},"6":function(container,depth0,helpers,partials,data) {
var helper;
- return " <li>\n <a class=\"icon icon-delete\">"
+ return " <li>\n <a class=\"icon icon-delete\" tabindex=\"0\">"
+ container.escapeExpression(((helper = (helper = helpers.revokeText || (depth0 != null ? depth0.revokeText : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"revokeText","hash":{},"data":data}) : helper)))
+ "</a>\n </li>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
diff --git a/settings/js/templates/authtoken.handlebars b/settings/js/templates/authtoken.handlebars
index c2f1f262079..b6d81780e80 100644
--- a/settings/js/templates/authtoken.handlebars
+++ b/settings/js/templates/authtoken.handlebars
@@ -12,13 +12,13 @@
<div class="popovermenu menu">
{{#if canScope}}
<li><span class="menuitem">
- <input class="filesystem checkbox" type="checkbox" id="{{id}}_filesystem" {{#if scope.filesystem}}checked{{/if}}/>
+ <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">{{revokeText}}</a>
+ <a class="icon icon-delete" tabindex="0">{{revokeText}}</a>
</li>
{{/if}}
</div>