d9c9f7744e
There was a white space issue that made text displayed title and tags text appear missaligned. It turned out to be a small layout problem that was cleaned up by getting rid of white space in the textarea element itself. Also got in there and fixed some lingering css issues that was causing the svg icon colors to be off in some of the butttons.
46 lines
2.4 KiB
Twig
46 lines
2.4 KiB
Twig
<div id="edit-control">
|
|
<button id="edit-bold" class="content-editor-btn-text editor-button" title="bold">B</button>
|
|
<button id="edit-italic" class="content-editor-btn-text editor-button" title="italic">I</button>
|
|
<button id="edit-strikethrough" class="content-editor-btn-text editor-button" title="strikethrough">D</button>
|
|
<button id="edit-link" class="content-editor-btn-icon editor-button" title="insert link">
|
|
<svg id="edit-link" viewbox="0 0 20 20" class="icons">
|
|
<use id="edit-link" xlink:href="/assets/images/global/sprite.svg#entypo-link"/>
|
|
</svg>
|
|
</button>
|
|
<button id="edit-header1" class="content-editor-btn-text editor-button" title="header 1">H1</button>
|
|
<button id="edit-header2" class="content-editor-btn-text editor-button" title="header 2">H2</button>
|
|
<button id="edit-header3" class="content-editor-btn-text editor-button" title="header 3">H3</button>
|
|
<button id="edit-image" class="content-editor-btn-icon editor-button" title="insert image">
|
|
<svg id="edit-image" viewbox="0 0 20 20" class="icons">
|
|
<use id="edit-image" xlink:href="/assets/images/global/sprite.svg#entypo-image"/>
|
|
</svg>
|
|
</button>
|
|
{% if mode == "edit" %}
|
|
<button id="edit-update" class="post-sumbit-btn submit-start editor-button" data-action='blog-update' data-id="{{ page['uuid'] }} type='submit' title=" bold">
|
|
<svg id="submit-update" viewbox="0 0 20 20" class="icons">
|
|
<use id="submit-update" xlink:href="/assets/images/global/sprite.svg#entypo-save" data-action='blog-update' data-id="{{ page['uuid'] }}"/>
|
|
</svg>
|
|
<svg id="submit-good" class="icon-hide" viewbox="0 0 20 20" class="icons">
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-thumbs-up"/>
|
|
</svg>
|
|
<svg id="submit-error" class="icon-hide" viewbox="0 0 20 20" class="icons">
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-thumbs-down"/>
|
|
</svg>
|
|
</button>
|
|
<button id="edit-delete" class="content-editor-btn-icon editor-button submit-delete" for="post-delete" title='delete post'>
|
|
<svg id="edit-delete" viewbox="0 0 20 20" class="icons">
|
|
<use id="edit-delete" xlink:href="/assets/images/global/sprite.svg#entypo-cross"/>
|
|
</svg>
|
|
</button>
|
|
{% else %}
|
|
<button id="edit-save" class="post-sumbit-btn submit-start editor-button" data-action='blog-add' type='submit'>
|
|
<svg id="submit-save" viewbox="0 0 20 20" class="icons">
|
|
<use id="submit-save" xlink:href="/assets/images/global/sprite.svg#entypo-plus"/>
|
|
</svg>
|
|
</button>
|
|
{% endif %}
|
|
|
|
|
|
|
|
</div>
|