From 8f1dde701ab92d13a3037fc3987c495d66ae8918 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sat, 19 Apr 2014 02:45:44 +0200 Subject: Bootstrapify item tools Only show the like buttons and the delete button permanently hide everything else in a drop down. This will break non bootstrap themes. So may be we also want to move this into the red basic folder. It still a little bit work in progress. Allignment is not 100% correct. May be we want to add text into the drop down. --- view/tpl/conv_item.tpl | 84 +++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 70 insertions(+), 14 deletions(-) (limited to 'view/tpl/conv_item.tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 31e3cad85..20c426495 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -58,45 +58,101 @@ {{/if}} -
+ +
+ {{if $item.like}} + {{/if}} + {{if $item.dislike}}{{/if}} + {{if $item.drop.dropping}}{{/if}} + +
+ + +
+
+
- {{if $item.drop.dropping}}{{/if}} +
{{if $item.drop.pagedrop}}{{/if}}
{{$item.showdislike}}
-
+
-- cgit v1.2.3 From b9ffc2ef44965bf3cb58715ae74d93fbe14d9043 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sat, 19 Apr 2014 03:16:26 +0200 Subject: Move javascript calls to button tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit because otherwise it didn’t work in Firefox --- view/tpl/conv_item.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'view/tpl/conv_item.tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 20c426495..425151c82 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -95,15 +95,15 @@ -->
{{if $item.like}} - {{/if}} - {{if $item.dislike}}{{/if}} - {{if $item.drop.dropping}}{{/if}} + {{if $item.drop.dropping}}{{/if}} + {{if $item.drop.dropping}}{{/if}}
{{if $item.drop.pagedrop}}{{/if}}
-- cgit v1.2.3 From 4c950dc38aaed9985c1b70332cd9881df22fa515 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sat, 19 Apr 2014 04:13:15 +0200 Subject: More work --- view/tpl/conv_item.tpl | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'view/tpl/conv_item.tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index dccce8d75..1e277c0b2 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -38,7 +38,7 @@ {{if $item.lock}} {{/if}}{{$item.name}}{{if $item.owner_url}} {{$item.via}} {{$item.owner_name}}{{/if}}
{{if $item.verified}} {{/if}}{{if $item.location}}{{$item.location}}, {{/if}}{{$item.localtime}}{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}{{if $item.app}}{{$item.str_app}}{{/if}}
-
+
{{$item.title}}
{{$item.body}} @@ -58,40 +58,35 @@ {{/if}}
-
{{if $item.like}} @@ -153,7 +148,7 @@
{{$item.showdislike}}
-
+
-- cgit v1.2.3 From 2ecf3f33952dcdf83d9b3fb07185371d0831f609 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 20 Apr 2014 02:06:24 +0200 Subject: Add descriptions to drop down --- view/tpl/conv_item.tpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'view/tpl/conv_item.tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 1e277c0b2..b217e70ff 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -112,25 +112,25 @@
-- cgit v1.2.3