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/css/conversation.css | 6 +++- view/tpl/conv_item.tpl | 84 +++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 75 insertions(+), 15 deletions(-) (limited to 'view') diff --git a/view/css/conversation.css b/view/css/conversation.css index 7e439137e..3c4665cdc 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -217,7 +217,11 @@ padding: 5px 10px; margin-left: 60px; } - +.wall-item-tools-bs { +clear: both; + //padding: 5px 5px; + //margin-left: 40px; +} .comment .wall-item-tools { margin-left: 0; } 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