From e08e6c182cd23132743d9fca69fb63449753376f Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 1 Mar 2017 11:37:02 +0100 Subject: minor template fixes --- view/tpl/connections.tpl | 10 ++++------ view/tpl/follow.tpl | 11 ++++------- view/tpl/peoplefind.tpl | 10 ++++------ 3 files changed, 12 insertions(+), 19 deletions(-) diff --git a/view/tpl/connections.tpl b/view/tpl/connections.tpl index 1f7aa05b7..f85adc592 100755 --- a/view/tpl/connections.tpl +++ b/view/tpl/connections.tpl @@ -17,12 +17,10 @@
-
-
- -
- -
+
+ +
+
diff --git a/view/tpl/follow.tpl b/view/tpl/follow.tpl index 9c19a288d..8126a4e5a 100755 --- a/view/tpl/follow.tpl +++ b/view/tpl/follow.tpl @@ -1,12 +1,10 @@

{{$connect}}

-
-
- -
- -
+
+ +
+
@@ -14,4 +12,3 @@
{{$abook_usage_message}}
{{/if}}
- diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl index ae0b7f1ea..8318f050d 100755 --- a/view/tpl/peoplefind.tpl +++ b/view/tpl/peoplefind.tpl @@ -1,12 +1,10 @@

{{$findpeople}}

-
-
- -
- -
+
+ +
+
-- cgit v1.2.3 From d4a957ca168c7326d52554da2162d6dd9cb34de4 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 1 Mar 2017 11:39:26 +0100 Subject: add title to connect button --- view/tpl/follow.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/tpl/follow.tpl b/view/tpl/follow.tpl index 8126a4e5a..a211a65b6 100755 --- a/view/tpl/follow.tpl +++ b/view/tpl/follow.tpl @@ -4,7 +4,7 @@
- +
-- cgit v1.2.3 From 816f4907e38c80db2fe2ea2b0e4fc8c7aee30e31 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 2 Mar 2017 10:12:00 +0100 Subject: setting top position of contextual-help in schemes does not work with narrow navbar setting. schema css is always called last. --- view/theme/redbasic/schema/dark.css | 1 - view/theme/redbasic/schema/simple_black_on_white.css | 2 -- view/theme/redbasic/schema/simple_green_on_black.css | 1 - view/theme/redbasic/schema/simple_white_on_black.css | 1 - 4 files changed, 5 deletions(-) diff --git a/view/theme/redbasic/schema/dark.css b/view/theme/redbasic/schema/dark.css index f9114141d..ebef68a52 100644 --- a/view/theme/redbasic/schema/dark.css +++ b/view/theme/redbasic/schema/dark.css @@ -417,7 +417,6 @@ pre { .contextual-help-content-open { background: $nav_bg; - top: 50px; border-bottom: #555 1px solid; box-shadow: 0px 3px 3px rgba(85,85,85,0.2); } diff --git a/view/theme/redbasic/schema/simple_black_on_white.css b/view/theme/redbasic/schema/simple_black_on_white.css index f06fd3667..915cc4e18 100644 --- a/view/theme/redbasic/schema/simple_black_on_white.css +++ b/view/theme/redbasic/schema/simple_black_on_white.css @@ -294,8 +294,6 @@ pre { .contextual-help-content-open { background: #FFF; - top: 50px; - } .profile-match-wrapper { diff --git a/view/theme/redbasic/schema/simple_green_on_black.css b/view/theme/redbasic/schema/simple_green_on_black.css index c7bb99334..7f3f99fce 100644 --- a/view/theme/redbasic/schema/simple_green_on_black.css +++ b/view/theme/redbasic/schema/simple_green_on_black.css @@ -367,7 +367,6 @@ pre { .contextual-help-content-open { background: $nav_bg; - top: 50px; border-bottom: #1C5419 1px solid; box-shadow: 0px 3px 3px rgba(28,84,25,0.2); } diff --git a/view/theme/redbasic/schema/simple_white_on_black.css b/view/theme/redbasic/schema/simple_white_on_black.css index dabc26743..7e7f80f2f 100644 --- a/view/theme/redbasic/schema/simple_white_on_black.css +++ b/view/theme/redbasic/schema/simple_white_on_black.css @@ -340,7 +340,6 @@ pre { .contextual-help-content-open { background: $nav_bg; - top: 50px; border-bottom: #FFF 1px solid; box-shadow: 0px 3px 3px rgba(255,255,255,0.2); } -- cgit v1.2.3 From 66fc1dcf3390764fa2e13be9ecea526cd8802776 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 2 Mar 2017 11:03:33 +0100 Subject: reset schema value after we empty and repopulate it. first half of fix for #624 --- view/js/mod_settings.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js index 5c729fa48..cf77db9bb 100644 --- a/view/js/mod_settings.js +++ b/view/js/mod_settings.js @@ -37,12 +37,14 @@ function setTheme(elm) { function previewTheme(elm) { theme = $(elm).val(); + var schema = $('#id_schema').val(); $.getJSON('theme_info/' + theme,function(data) { $('#theme-preview').html('
' + data.desc + '
' + data.version + '
' + data.credits + '
' + theme + ''); $('#id_schema').empty(); $(data.schemas).each(function(index,item) { $('