aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-12-14 09:57:22 +0100
committerMario Vavti <mario@mariovavti.com>2016-12-14 09:57:22 +0100
commit62353191e8759263d6279822d369ac1ae22f0a5f (patch)
treee6ab42d3bd32232b99d09322d1aa8c87b1ce1012 /view
parentcbffd32d8ea14d38da65b646c205dc6518eeb7e0 (diff)
downloadvolse-hubzilla-62353191e8759263d6279822d369ac1ae22f0a5f.tar.gz
volse-hubzilla-62353191e8759263d6279822d369ac1ae22f0a5f.tar.bz2
volse-hubzilla-62353191e8759263d6279822d369ac1ae22f0a5f.zip
fix btn-group rendering
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/prv_message.tpl18
1 files changed, 2 insertions, 16 deletions
diff --git a/view/tpl/prv_message.tpl b/view/tpl/prv_message.tpl
index 67588f717..e4e923ddb 100755
--- a/view/tpl/prv_message.tpl
+++ b/view/tpl/prv_message.tpl
@@ -7,11 +7,9 @@
{{/if}}
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="mail" method="post" >
-
<input type="hidden" id="inp-prvmail-expires" name="expires" value="{{$defexpire}}" />
<input type="hidden" name="media_str" id="jot-media" value="" />
<input type="hidden" name="preview" id="mail-preview" value="0" />
-
{{if $new}}
<div class="form-group">
<label for="recip">{{$to}}</label>
@@ -23,29 +21,20 @@
<input class="form-control" type="text" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" />
</div>
{{/if}}
-
{{if $reply}}
<input type="hidden" name="replyto" value="{{$parent}}" />
<input type="hidden" name="messageto" value="{{$recphash}}" />
<input type="hidden" name="subject" value="{{$subjtxt}}" />
{{/if}}
-
<div class="form-group">
<label for="prvmail-text">{{$yourmessage}}</label>
<textarea class="form-control" id="prvmail-text" name="body">{{$text}}</textarea>
</div>
-
<div id="prvmail-submit-wrapper" class="form-group">
- <div id="prvmail-submit-div" class="pull-right">
- <button class="btn btn-primary btn-sm" type="submit" id="prvmail-submit" name="submit" value="{{$submit}}">{{$submit}}</button>
- </div>
-
- <div id="prvmail-preview-div" class="pull-right">
+ <div id="prvmail-submit" class="pull-right btn-group">
<button class="btn btn-default btn-sm" id="prvmail-preview" title="{{$preview}}" onclick="preview_mail(); return false;"><i class="fa fa-eye"></i></button>
+ <button class="btn btn-primary btn-sm" type="submit" id="prvmail-submit" name="submit" value="{{$submit}}">{{$submit}}</button>
</div>
-
-
-
<div id="prvmail-tools" class="btn-toolbar pull-left">
<div class="btn-group">
<button id="main-editor-bold" class="btn btn-default btn-sm" title="{{$bold}}" onclick="inserteditortag('b', 'prvmail-text'); return false;">
@@ -86,7 +75,6 @@
{{/if}}
</div>
{{/if}}
-
<div class="btn-group visible-xs visible-sm">
<button type="button" id="more-tools" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<i id="more-tools-icon" class="fa fa-caret-down jot-icons"></i>
@@ -101,8 +89,6 @@
{{/if}}
</ul>
</div>
-
-
</div>
<div id="prvmail-rotator-wrapper" class="pull-left">
<div id="prvmail-rotator"></div>