From c41f314302012c023fb3410e6d878eff8bd5b539 Mon Sep 17 00:00:00 2001 From: marijus Date: Mon, 13 Oct 2014 12:52:21 +0200 Subject: really fix connedit > collection > checkbox --- view/css/widgets.css | 7 +------ view/js/main.js | 1 + view/tpl/group_side.tpl | 10 +++------- 3 files changed, 5 insertions(+), 13 deletions(-) (limited to 'view') diff --git a/view/css/widgets.css b/view/css/widgets.css index 1992aa0fd..593e051da 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -81,13 +81,8 @@ /* group */ -input.group-edit-checkbox { - margin: unset; - height: 1em; - width: 1em; -} -a.group-edit-link { +a.group-edit-tool { z-index: 1; } diff --git a/view/js/main.js b/view/js/main.js index f58d3756b..32db7ccb7 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -986,6 +986,7 @@ function updateConvItems(mode,data) { $('body').css('cursor', 'wait'); $.get('contactgroup/' + gid + '/' + cid, function(data) { $('body').css('cursor', 'auto'); + $('#group-' + gid).toggleClass('icon-check icon-check-empty'); }); } diff --git a/view/tpl/group_side.tpl b/view/tpl/group_side.tpl index 6c5edba27..4afe1286f 100755 --- a/view/tpl/group_side.tpl +++ b/view/tpl/group_side.tpl @@ -5,16 +5,12 @@ {{foreach $groups as $group}}
  • {{if $group.cid}} - - + + {{/if}} {{if $group.edit}} - + {{/if}} {{$group.text}}
  • -- cgit v1.2.3 From 04a254d94a2dcebbfe767adad241d92eb913d4b2 Mon Sep 17 00:00:00 2001 From: marijus Date: Wed, 15 Oct 2014 22:23:38 +0200 Subject: some work on single photo view comments --- view/tpl/photo_item.tpl | 41 +++++++++++++++++++++++------------------ view/tpl/photo_view.tpl | 4 ++++ 2 files changed, 27 insertions(+), 18 deletions(-) (limited to 'view') diff --git a/view/tpl/photo_item.tpl b/view/tpl/photo_item.tpl index e7d25fd55..16f9a76c2 100755 --- a/view/tpl/photo_item.tpl +++ b/view/tpl/photo_item.tpl @@ -1,22 +1,27 @@ -
    -
    - - {{$name}} -
    +
    +
    +
    +
    + + {{$name}} +
    +
    +
    +
    + {{$name}} +
    +
    {{$ago}}
    +
    +
    +
    {{$title}}
    +
    {{$body}}
    +
    + {{$drop}} +
    -
    - {{$name}} -
    {{$ago}}
    -
    -
    -
    {{$title}}
    -
    {{$body}}
    -
    - {{$drop}} -
    -
    - {{$comment}} + {{$comment}} -
    +
    +
    diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index f895b3129..4a9c0dfe8 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -92,6 +92,10 @@ {{$comments}} +
    + {{$commentbox}} +
    +
    {{if $nextlink}}{{/if}} -- cgit v1.2.3