diff --git a/settings/css/settings.scss b/settings/css/settings.scss index a028a62d2b..a7dbe0e7d8 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -424,11 +424,22 @@ table.nostyle { } } .token-list td { + border-top: 1px solid var(--color-border); + max-width: 200px; + white-space: normal; + vertical-align: middle; + position: relative; + &%icon { overflow: visible; position: relative; width: 16px; } + + &.token-name { + padding: 10px 0; + } + &.more { @extend %icon; } @@ -441,20 +452,13 @@ table.nostyle { height: 44px; } } - border-top: 1px solid var(--color-border); - text-overflow: ellipsis; - max-width: 200px; - white-space: nowrap; - overflow: hidden; - vertical-align: middle; - position: relative; } tr > *:nth-child(3) { text-align: right; } .token-list { td > a.icon-more { - transition: opacity 0.5s; + transition: opacity var(--animation-quick); } a.icon-more { padding: 14px; @@ -465,8 +469,9 @@ table.nostyle { } tr { &:hover td > a.icon, + td > a.icon:focus, &.active td > a.icon { - opacity: 0.7; + opacity: 1; } } } diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js index 76c6c8c0f6..0aa67bad90 100644 --- a/settings/js/authtoken_view.js +++ b/settings/js/authtoken_view.js @@ -33,6 +33,7 @@ template: function (data) { data.disconnectText = t('settings', 'Disconnect'); data.revokeText = t('settings', 'Revoke'); + data.settingsTitle = t('settings', 'Device settings'); data.allowFSAccess = t('settings', 'Allow filesystem access'); return OC.Settings.Templates['authtoken'](data); }, diff --git a/settings/js/templates.js b/settings/js/templates.js index ea703c40c8..c9931fed41 100644 --- a/settings/js/templates.js +++ b/settings/js/templates.js @@ -1,7 +1,11 @@ (function() { var template = Handlebars.template, templates = OC.Settings.Templates = OC.Settings.Templates || {}; templates['authtoken'] = template({"1":function(container,depth0,helpers,partials,data) { - return ""; + var helper; + + return ""; },"3":function(container,depth0,helpers,partials,data) { var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; @@ -9,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
  • \n " - + alias4(((helper = (helper = helpers.revokeText || (depth0 != null ? depth0.revokeText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"revokeText","hash":{},"data":data}) : helper))) + return "
  • \n " + + 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))) + "\n
  • \n"; },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; @@ -31,11 +33,9 @@ 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))) + "\">\n \n
    \n \n \n " + + "\" />\n \n \n " + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper))) - + "\n \n \n \n \n " + alias4(((helper = (helper = helpers.lastActivity || (depth0 != null ? depth0.lastActivity : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"lastActivity","hash":{},"data":data}) : helper))) @@ -44,7 +44,7 @@ templates['authtoken'] = template({"1":function(container,depth0,helpers,partial + "\n
    \n" + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.canScope : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.canDelete : depth0),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") - + "
    \n \n\n"; + + "
    \n \n\n"; },"useData":true}); templates['federationscopemenu'] = template({"1":function(container,depth0,helpers,partials,data) { var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; diff --git a/settings/js/templates/authtoken.handlebars b/settings/js/templates/authtoken.handlebars index 7c222d863f..b6d81780e8 100644 --- a/settings/js/templates/authtoken.handlebars +++ b/settings/js/templates/authtoken.handlebars @@ -2,25 +2,25 @@
    - - {{name}} + + {{name}} {{lastActivity}} - {{#if showMore}}{{/if}} + {{#if showMore}}{{/if}} - +