From 74c1b6168938872303b3ff61e9bea1c9c86a29c5 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 3 Mar 2015 09:18:04 +0100 Subject: [PATCH 1/5] make remove channel button work again --- view/theme/redbasic/css/style.css | 10 +++++++--- view/tpl/settings.tpl | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 248c85592..4853d3cc1 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -81,7 +81,11 @@ a.btn-default { color: #333; } -a.btn-success { +a.btn-success, +a.btn-danger, +a.btn-info, +a.btn-warning +a.btn-primary { color: #fff; } @@ -111,8 +115,8 @@ input[type="submit"] { padding: 6px 12px; } -button, input, optgroup, select, textarea { - color: #000; +input, optgroup, select, textarea { + color: #333; } pre code { diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index 02937e4b2..6ad23b007 100755 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -1,6 +1,6 @@
- +  {{$removeme}}

{{$ptitle}}

From 7644a23de4992a90a9add006caeab496ad29a2ac Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 3 Mar 2015 09:52:35 +0100 Subject: [PATCH 2/5] typo --- view/theme/redbasic/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 4853d3cc1..fc32b8046 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -84,7 +84,7 @@ a.btn-default { a.btn-success, a.btn-danger, a.btn-info, -a.btn-warning +a.btn-warning, a.btn-primary { color: #fff; } From 6e0b5b742c5b11dc0e8f181926c401bb892aab3b Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 3 Mar 2015 11:32:54 +0100 Subject: [PATCH 3/5] login adjustment --- boot.php | 4 ++-- view/theme/redbasic/css/style.css | 2 +- view/tpl/login.tpl | 22 ++++++---------------- 3 files changed, 9 insertions(+), 19 deletions(-) diff --git a/boot.php b/boot.php index 06813099f..4ed5d34c4 100755 --- a/boot.php +++ b/boot.php @@ -1553,7 +1553,7 @@ function login($register = false, $form_id = 'main-login', $hiddens=false) { '$form_id' => $form_id, '$lname' => array('username', t('Email') , '', ''), '$lpassword' => array('password', t('Password'), '', ''), - '$remember' => array('remember', t('Remember me'), '', ''), + '$remember' => array('remember', t('Remember me'), '', '',array(t('No'),t('Yes'))), '$hiddens' => $hiddens, '$register' => $reg, '$lostpass' => t('Forgot your password?'), @@ -2339,4 +2339,4 @@ function check_cron_broken() { . 'Content-transfer-encoding: 8bit' ); set_config('system','lastpollcheck',datetime_convert()); return; -} \ No newline at end of file +} diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index fc32b8046..8a24f37ab 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -282,7 +282,7 @@ footer { } #login-main { - max-width: 300px; + max-width: 273px; margin-top: 50px; } diff --git a/view/tpl/login.tpl b/view/tpl/login.tpl index 7bde90c23..9472bd961 100755 --- a/view/tpl/login.tpl +++ b/view/tpl/login.tpl @@ -1,29 +1,19 @@
-
- {{include file="field_input.tpl" field=$lname}} - {{include file="field_password.tpl" field=$lpassword}} +
+ {{include file="field_input.tpl" field=$lname}} + {{include file="field_password.tpl" field=$lpassword}} + {{include file="field_checkbox.tpl" field=$remember}} +
- -
- - {{include file="field_checkbox.tpl" field=$remember}} - -
- -
- -
- {{foreach $hiddens as $k=>$v}} {{/foreach}} - From 2d38e58adbf47a0c318100ffd08b7d90b827158f Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 3 Mar 2015 12:38:23 +0100 Subject: [PATCH 4/5] revert login max-width --- view/theme/redbasic/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 8a24f37ab..fc32b8046 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -282,7 +282,7 @@ footer { } #login-main { - max-width: 273px; + max-width: 300px; margin-top: 50px; } From e3a559128dc9565474b7db9068f6414f7ae6d4e2 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Tue, 3 Mar 2015 23:32:40 +0100 Subject: [PATCH 5/5] yes switch to bootstrap blue again (same as link colour in default light redbasic schema). using link_colour for yes switch didnt work on dark schemas (displayes as white on white). --- view/theme/redbasic/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index fc32b8046..9307fdd5f 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2336,5 +2336,5 @@ aside .nav > li > a:hover, aside .nav > li > a:focus { .field.checkbox > div > input:checked + label .onoffswitch-switch { right: 0px; - background-color: $link_colour; + background-color: #337AB7; }