first cut at putting editor tools in event form
This commit is contained in:
parent
64191de5e7
commit
a1d84f96b6
@ -55,9 +55,74 @@
|
|||||||
|
|
||||||
|
|
||||||
<div id="event-desc-text">{{$d_text}}</div>
|
<div id="event-desc-text">{{$d_text}}</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<textarea id="event-desc-textarea" name="desc">{{$d_orig}}</textarea>
|
<textarea id="event-desc-textarea" name="desc">{{$d_orig}}</textarea>
|
||||||
|
|
||||||
|
|
||||||
|
<textarea id="comment-edit-text-desc" class="comment-edit-text-empty" name="body" onFocus="commentOpenUI(this,'desc');" onBlur="commentCloseUI(this,'desc');" >{{$d_orig}}</textarea>
|
||||||
|
{{if $qcomment}}
|
||||||
|
<select id="qcomment-select-desc" name="qcomment-desc" class="qcomment" onchange="qCommentInsert(this,'desc');" >
|
||||||
|
<option value=""></option>
|
||||||
|
{{foreach $qcomment as $qc}}
|
||||||
|
<option value="{{$qc}}">{{$qc}}</option>
|
||||||
|
{{/foreach}}
|
||||||
|
</select>
|
||||||
|
{{/if}}
|
||||||
|
<div class="clear"></div>
|
||||||
|
<div id="comment-tools-desc" class="comment-tools">
|
||||||
|
<div id="comment-edit-bb-desc" class="btn-toolbar pull-left">
|
||||||
|
<div class='btn-group'>
|
||||||
|
<button class="btn btn-default btn-xs" title="{{$edbold}}" onclick="insertbbcomment('{{$comment}}','b', 'desc'); return false;">
|
||||||
|
<i class="icon-bold comment-icon"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-default btn-xs" title="{{$editalic}}" onclick="insertbbcomment('{{$comment}}','i', 'desc'); return false;">
|
||||||
|
<i class="icon-italic comment-icon"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-default btn-xs" title="{{$eduline}}" onclick="insertbbcomment('{{$comment}}','u', 'desc'); return false;">
|
||||||
|
<i class="icon-underline comment-icon"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-default btn-xs" title="{{$edquote}}" onclick="insertbbcomment('{{$comment}}','quote','desc'); return false;">
|
||||||
|
<i class="icon-quote-left comment-icon"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-default btn-xs" title="{{$edcode}}" onclick="insertbbcomment('{{$comment}}','code', 'desc'); return false;">
|
||||||
|
<i class="icon-terminal comment-icon"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class='btn-group'>
|
||||||
|
<button class="btn btn-default btn-xs" title="{{$edimg}}" onclick="insertbbcomment('{{$comment}}','img', 'desc'); return false;">
|
||||||
|
<i class="icon-camera comment-icon"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-default btn-xs" title="{{$edurl}}" onclick="insertbbcomment('{{$comment}}','url', 'desc'); return false;">
|
||||||
|
<i class="icon-link comment-icon"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-default btn-xs" title="{{$edvideo}}" onclick="insertbbcomment('{{$comment}}','video', 'desc'); return false;">
|
||||||
|
<i class="icon-facetime-video comment-icon"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <div class="btn-group pull-right" id="comment-edit-submit-wrapper-desc">
|
||||||
|
{{if $preview}}
|
||||||
|
<button id="comment-edit-submit-desc" class="btn btn-default btn-xs" onclick="preview_comment(desc); return false;" title="{{$preview}}">
|
||||||
|
<i class="icon-eye-open comment-icon" ></i>
|
||||||
|
</button>
|
||||||
|
{{/if}}
|
||||||
|
-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="event-location-text">{{$l_text}}</div>
|
<div id="event-location-text">{{$l_text}}</div>
|
||||||
<textarea id="event-location-textarea" name="location">{{$l_orig}}</textarea>
|
<textarea id="event-location-textarea" name="location">{{$l_orig}}</textarea>
|
||||||
<br />
|
<br />
|
||||||
|
Reference in New Issue
Block a user