From e5d872685930e4eecef037468ee14b1132487ca5 Mon Sep 17 00:00:00 2001 From: Hendrik Leppelsack Date: Thu, 16 Jun 2016 08:28:43 +0200 Subject: remove ie8+9 support --- settings/css/settings.css | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'settings/css') diff --git a/settings/css/settings.css b/settings/css/settings.css index e4ddec9152a..3bb88b46283 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -161,10 +161,6 @@ table.nostyle td { padding: 0.2em 0; } width: 32px; } -.ie8 #newgroup-form .icon-add { - height: 30px; -} - .isgroup .groupname { width: 85%; display: block; @@ -281,10 +277,6 @@ input.userFilter {width: 200px;} width: 32px; } - -.ie8 table.hascontrols{border-collapse:collapse;width: 100%;} -.ie8 table.hascontrols tbody tr{border-collapse:collapse;border: 1px solid #ddd !important;} - /* used to highlight a user row in red */ #userlist tr.row-warning { background-color: #FDD; @@ -540,18 +532,6 @@ span.indeterminate { margin-top: -7px; } -.ie8 .strengthify-wrapper { - left: 389px; -} - -.onlyInIE8 { - display: none; -} - -.ie8 .onlyInIE8 { - display: inline; -} - /* OPERA hack for strengthify*/ doesnotexist:-o-prefocus, .strengthify-wrapper { left: 185px; -- cgit v1.2.3 From 1454b4515c8bdcb05c400c605cf6d84c38476efc Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 24 Jun 2016 17:00:59 +0200 Subject: fix layout --- settings/css/settings.css | 8 ++++++++ settings/js/authtoken_view.js | 9 ++++++--- settings/templates/personal.php | 13 ++++++++++--- 3 files changed, 24 insertions(+), 6 deletions(-) (limited to 'settings/css') diff --git a/settings/css/settings.css b/settings/css/settings.css index e4ddec9152a..914c0d7515d 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -131,11 +131,19 @@ table.nostyle td { padding: 0.2em 0; } opacity: 0.6; } +#new-app-login-name, #new-app-password { width: 186px; font-family: monospace; background-color: lightyellow; } +.app-password-row { + display: table-row; +} +.app-password-label { + display: table-cell; + padding-right: 1em; +} /* USERS */ #newgroup-init a span { margin-left: 20px; } diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js index cf6b4f7c8d4..db6dac85ce0 100644 --- a/settings/js/authtoken_view.js +++ b/settings/js/authtoken_view.js @@ -139,6 +139,7 @@ this._result = $('#app-password-result'); this._newAppLoginName = $('#new-app-login-name'); + this._newAppLoginName.on('focus', _.bind(this._onNewTokenLoginNameFocus, this)); this._newAppPassword = $('#new-app-password'); this._newAppPassword.on('focus', _.bind(this._onNewTokenFocus, this)); this._hideAppPasswordBtn = $('#app-password-hide'); @@ -184,9 +185,7 @@ $.when(creatingToken).done(function(resp) { _this.collection.add(resp.deviceToken); _this.render(); - _this._newAppLoginName.text(t('core', 'You may now configure your client with username "{loginName}" and the following password:', { - loginName: resp.loginName - })); + _this._newAppLoginName.val(resp.loginName); _this._newAppPassword.val(resp.token); _this._toggleFormResult(false); _this._newAppPassword.select(); @@ -200,6 +199,10 @@ }); }, + _onNewTokenLoginNameFocus: function() { + this._newAppLoginName.select(); + }, + _onNewTokenFocus: function() { this._newAppPassword.select(); }, diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 19a9968cec7..50e7ef79f8b 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -203,9 +203,16 @@ if($_['passwordChangeSupported']) { -- cgit v1.2.3