From 8efa103041cb8fd89b04f32cf234667c8fb3f5ad Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 21 Sep 2018 20:57:01 +0200 Subject: provide editor settings --- view/css/conversation.css | 2 +- view/tpl/jot-header.tpl | 4 ++-- view/tpl/jot.tpl | 13 ++++++++----- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/view/css/conversation.css b/view/css/conversation.css index e6324b30d..3ad9ed57f 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -31,7 +31,7 @@ position: relative; } -#profile-jot-reset { +#profile-jot-tools { position: absolute; top: 0px; right: 0px; diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index dd64c3454..be09fbebf 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -7,7 +7,7 @@ var pretext = '{{$pretext}}'; function initEditor(cb){ if(editor == false){ $("#profile-jot-text-loading").show(); - $("#profile-jot-reset").removeClass('d-none'); + $("#profile-jot-tools").removeClass('d-none'); {{$geotag}} if(plaintext == 'none') { $("#profile-jot-text-loading").hide(); @@ -308,7 +308,7 @@ var activeCommentText = ''; {{if $reset}} $(".jothidden").hide(); $("#profile-jot-text").removeClass('jot-expanded'); - $("#profile-jot-reset").addClass('d-none'); + $("#profile-jot-tools").addClass('d-none'); $("#jot-preview-content").html('').hide(); editor = false; {{else}} diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 0d1b4bd0d..2137baf9b 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -42,11 +42,14 @@ {{/if}}
- {{if $reset}} - - {{/if}} +
+ + {{if $reset}} + + {{/if}} +
{{if $attachment}} -- cgit v1.2.3