07b422a9c3
This one is a doozy, so let's breakt it down into what areas where touched. - updated package json to remove unneeded dependencies. - rebuilt file uploading to simply a very convuluted process - began proces to replace icons with https://tabler-icons.io - began process of removing the need for css preprocessor and using pure css - login completed - dashboard index completed - page edit ui completed - page edit ui text editor tweaked so syntax highlighting is cleaner and more accurate The settings and navigation UIs still remain and then polishing the responsive for the new css structure
43 lines
2.3 KiB
Twig
43 lines
2.3 KiB
Twig
<div role="text-editor-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" role="icon">
|
|
<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" role="icon">
|
|
<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" role="icon">
|
|
<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" role="icon">
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-thumbs-up"/>
|
|
</svg>
|
|
<svg id="submit-error" class="icon-hide" role="icon">
|
|
<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" role="icon">
|
|
<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" role="icon">
|
|
<use id="submit-save" xlink:href="/assets/images/global/sprite.svg#entypo-plus"/>
|
|
</svg>
|
|
</button>
|
|
{% endif %}
|
|
</div>
|