diff options
author | Robin Appelman <robin@icewind.nl> | 2017-06-06 14:16:53 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-06-06 15:25:28 +0200 |
commit | 340fdc1e70241d7120a69a3c3fd773bc447df8df (patch) | |
tree | cff8f0c5f6c73c395767bc0163c6c30c193efd5a | |
parent | c092b33466d16b6e2119973315b07546c9deb035 (diff) | |
download | nextcloud-server-340fdc1e70241d7120a69a3c3fd773bc447df8df.tar.gz nextcloud-server-340fdc1e70241d7120a69a3c3fd773bc447df8df.zip |
reword sessions to security in personal settings
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r-- | settings/css/settings.css | 34 | ||||
-rw-r--r-- | settings/js/authtoken_view.js | 2 | ||||
-rw-r--r-- | settings/personal.php | 2 | ||||
-rw-r--r-- | settings/templates/personal.php | 6 |
4 files changed, 22 insertions, 22 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index 4c81ac88a89..1280f5237a4 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -17,7 +17,7 @@ input#openid, input#webdav { background-image: url('../img/personal.svg?v=1'); } -.nav-icon-sessions { +.nav-icon-security { background-image: url('../img/toggle-filelist.svg?v=1'); } @@ -300,29 +300,29 @@ table.nostyle td { padding: 0.2em 0; } -#sessions table { +#security table { width: 100%; min-height: 50px; padding-top: 5px; max-width: 580px; } -#sessions table th{ +#security table th{ opacity: .5; } -#sessions table th, -#sessions table td { +#security table th, +#security table td { padding: 10px 10px 10px 0; } -#sessions .token-list td.more { +#security .token-list td.more { overflow: visible; position: relative; width: 16px; } -#sessions .token-list td { +#security .token-list td { border-top: 1px solid #DDD; text-overflow: ellipsis; max-width: 200px; @@ -332,30 +332,30 @@ table.nostyle td { position: relative; } -#sessions tr > *:nth-child(2) { +#security tr > *:nth-child(2) { text-align: right; } -#sessions .token-list td > a.icon { +#security .token-list td > a.icon { opacity: 0; transition: opacity 0.5s; } -#sessions .token-list a.icon { +#security .token-list a.icon { margin-top: 4px; display: block; } -#sessions .token-list tr:hover td > a.icon, -#sessions .token-list tr.active td > a.icon { +#security .token-list tr:hover td > a.icon, +#security .token-list tr.active td > a.icon { opacity: 0.6; } -#sessions .token-list td div.configure { +#security .token-list td div.configure { display: none; } -#sessions .token-list tr.active div.configure { +#security .token-list tr.active div.configure { display: block; position: absolute; top: 45px; @@ -363,17 +363,17 @@ table.nostyle td { padding: 10px; } -#sessions .token-list div.configure:after { +#security .token-list div.configure:after { right: 13px; } -#sessions .token-list tr.active div.configure > * { +#security .token-list tr.active div.configure > * { margin-top: 5px; margin-bottom: 5px; display: inline-block; } -#sessions .token-list tr.active a.icon-delete { +#security .token-list tr.active a.icon-delete { background-position: left; padding-left: 20px; } diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js index fd967b7fedb..a26981e632e 100644 --- a/settings/js/authtoken_view.js +++ b/settings/js/authtoken_view.js @@ -196,7 +196,7 @@ initialize: function (options) { this.collection = options.collection; - var el = '#sessions'; + var el = '#security'; this._view = new SubView({ el: el, collection: this.collection diff --git a/settings/personal.php b/settings/personal.php index 5a6ff762088..fefd8392a10 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -231,7 +231,7 @@ $tmpl->assign('groups', $groups2); // add hardcoded forms from the template $formsAndMore = []; $formsAndMore[]= ['anchor' => 'personal-settings', 'section-name' => $l->t('Personal info')]; -$formsAndMore[]= ['anchor' => 'sessions', 'section-name' => $l->t('Sessions')]; +$formsAndMore[]= ['anchor' => 'security', 'section-name' => $l->t('Security')]; $formsAndMore[]= ['anchor' => 'clientsbox', 'section-name' => $l->t('Sync clients')]; $forms=OC_App::getForms('personal'); diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 12f291bd807..4fde9043ace 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -334,9 +334,9 @@ if($_['passwordChangeSupported']) { <?php }?> </div> -<div id="sessions" class="section"> - <h2><?php p($l->t('Sessions'));?></h2> - <p class="settings-hint hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.'));?></p> +<div id="security" class="section"> + <h2><?php p($l->t('Security'));?></h2> + <p class="settings-hint hidden-when-empty"><?php p($l->t('Web, desktop, mobile clients and app specific passwords that currently have access to your account.'));?></p> <table class="icon-loading"> <thead class="token-list-header"> <tr> |