From d6607f2093414afd3cbba58021a92b01d3c356fd Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 27 Sep 2013 02:44:28 +0100 Subject: [PATCH 1/4] Minor theme stuff - make the pages toolbar a toolbar, get rid of a naughty center tag, and stop very long tags overlapping the directory. --- view/theme/redbasic/css/style.css | 18 ++++++++++++++++++ view/tpl/write_pages.tpl | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 48e38c0f6..ae58fb17a 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1228,6 +1228,9 @@ footer { border: none; } +div.dirtagblock.widget { + overflow: hidden; +} .pager { padding: 10px; @@ -3350,6 +3353,21 @@ div.page-list-item { margin: 20px; } +div#write-pages { +display: block; +position: fixed; +top: 24px; +z-index: 99; +background: silver; +width: 100%; +left: 0; +} + +div#write-pages a { +color: #000; +margin-right: 50px; +} + .pmenu ul { list-style-type: none; } diff --git a/view/tpl/write_pages.tpl b/view/tpl/write_pages.tpl index f6668ceb1..53146ee30 100644 --- a/view/tpl/write_pages.tpl +++ b/view/tpl/write_pages.tpl @@ -1,3 +1,3 @@
-
{{$new}} {{$edit}}
+{{$new}} {{$edit}}
From b838585e27f455d858fa4986ae9907bb2a9caa88 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 27 Sep 2013 03:03:37 +0100 Subject: [PATCH 2/4] Issue #131 --- view/theme/redbasic/css/style.css | 11 +++++++++-- view/tpl/abook_edit.tpl | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index ae58fb17a..500b64e73 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2499,7 +2499,7 @@ brain is weird like that */ } .field_abook_help { - color: #888; + color: #000; } .abook-them { margin-left: 225px; @@ -2513,6 +2513,13 @@ brain is weird like that */ margin-bottom: 5px !important; } +.abook-pending-contact { + background: orange; + font-weight: bold; + margin: 10px; + padding: 20px 5px 10px; +} + #contact-slider { width: 600px !important; } @@ -2522,7 +2529,7 @@ brain is weird like that */ width: 100px !important; } .field_abook_help { - float: left; + float: right; } .field .onoff { diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index c285e56d1..0fb9b11f7 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -40,7 +40,9 @@ {{if $is_pending}} +
{{include file="field_checkbox.tpl" field=$unapproved}} +
{{/if}}
From 83a41a5af63892c54c724e06f41c26d7d9a9a34b Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 27 Sep 2013 03:06:20 +0100 Subject: [PATCH 3/4] 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 500b64e73..f3f637996 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2529,7 +2529,7 @@ brain is weird like that */ width: 100px !important; } .field_abook_help { - float: right; + float: left; } .field .onoff { From dc692cd748697be54bceae4ab373b13ae839bd8b Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 27 Sep 2013 03:11:28 +0100 Subject: [PATCH 4/4] Actually, lets add a content wrapper while we're in there. --- view/tpl/abook_edit.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index 0fb9b11f7..30abcc6b3 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -1,3 +1,4 @@ +

{{$header}}

{{$addr}}

@@ -84,3 +85,4 @@
+