2023-03-23 21:55:34 +01:00
|
|
|
<div role="text-editor-control">
|
2021-04-10 22:19:05 +02:00
|
|
|
<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">
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="edit-link" role="icon">
|
2022-05-12 02:41:56 +02:00
|
|
|
<use id="edit-link" xlink:href="/assets/images/global/sprite.svg#entypo-link"/>
|
2021-04-10 22:19:05 +02:00
|
|
|
</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">
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="edit-image" role="icon">
|
2022-05-12 02:41:56 +02:00
|
|
|
<use id="edit-image" xlink:href="/assets/images/global/sprite.svg#entypo-image"/>
|
2021-04-10 22:19:05 +02:00
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
{% if mode == "edit" %}
|
2022-05-12 02:41:56 +02:00
|
|
|
<button id="edit-update" class="post-sumbit-btn submit-start editor-button" data-action='blog-update' data-id="{{ page['uuid'] }} type='submit' title=" bold">
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="submit-update" role="icon">
|
2022-05-12 02:41:56 +02:00
|
|
|
<use id="submit-update" xlink:href="/assets/images/global/sprite.svg#entypo-save" data-action='blog-update' data-id="{{ page['uuid'] }}"/>
|
2021-04-10 22:19:05 +02:00
|
|
|
</svg>
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="submit-good" class="icon-hide" role="icon">
|
2022-05-12 02:41:56 +02:00
|
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-thumbs-up"/>
|
2021-04-10 22:19:05 +02:00
|
|
|
</svg>
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="submit-error" class="icon-hide" role="icon">
|
2022-05-12 02:41:56 +02:00
|
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-thumbs-down"/>
|
2021-04-10 22:19:05 +02:00
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
<button id="edit-delete" class="content-editor-btn-icon editor-button submit-delete" for="post-delete" title='delete post'>
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="edit-delete" role="icon">
|
2022-05-12 02:41:56 +02:00
|
|
|
<use id="edit-delete" xlink:href="/assets/images/global/sprite.svg#entypo-cross"/>
|
2021-04-10 22:19:05 +02:00
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
{% else %}
|
|
|
|
<button id="edit-save" class="post-sumbit-btn submit-start editor-button" data-action='blog-add' type='submit'>
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="submit-save" role="icon">
|
2022-05-12 02:41:56 +02:00
|
|
|
<use id="submit-save" xlink:href="/assets/images/global/sprite.svg#entypo-plus"/>
|
2021-04-10 22:19:05 +02:00
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
{% endif %}
|
2022-05-12 02:41:56 +02:00
|
|
|
</div>
|