2018-11-06 23:27:57 +01:00
|
|
|
#edit-control
|
|
|
|
button#option-bold.content-editor-btn-text.editor-button(title="bold")
|
|
|
|
| B
|
|
|
|
button#option-italic.content-editor-btn-text.editor-button(title="italics")
|
|
|
|
| I
|
|
|
|
button#option-strikethrough.content-editor-btn-text.editor-button(title="strikethrough")
|
|
|
|
| S
|
|
|
|
button#option-link.content-editor-btn-icon.editor-button(title="insert link")
|
|
|
|
svg#option-link(viewBox="0 0 20 20" class="icons")
|
|
|
|
use(xlink:href='/dash/assets/images/sprite.svg#entypo-link')
|
|
|
|
button#option-header1.content-editor-btn-text.editor-button(title="header 1")
|
|
|
|
| H1
|
|
|
|
button#option-header2.content-editor-btn-text.editor-button(title="header 2")
|
|
|
|
| H2
|
|
|
|
button#option-header3.content-editor-btn-text.editor-button(title="header 3")
|
|
|
|
| H3
|
2018-11-09 02:45:37 +01:00
|
|
|
button#option-image.content-editor-btn-icon.editor-button(title='insert image')
|
|
|
|
svg#option-image(viewBox="0 0 20 20" class="icons")
|
2018-11-06 23:27:57 +01:00
|
|
|
use(xlink:href='/dash/assets/images/sprite.svg#entypo-image')
|
|
|
|
|
|
|
|
if(edit)
|
2018-11-09 02:45:37 +01:00
|
|
|
button#option-update.post-sumbit-btn.submit-start.editor-button(data-action='blog-update' data-id=post.id type='submit')
|
|
|
|
svg#submit-update(viewBox="0 0 20 20" class="icons")
|
|
|
|
use#submit-update(xlink:href='/dash/assets/images/sprite.svg#entypo-save' data-action='blog-update' data-id=post.id)
|
2018-11-06 23:27:57 +01:00
|
|
|
svg#submit-good.icon-hide(viewBox="0 0 20 20" class="icons")
|
|
|
|
use(xlink:href='/dash/assets/images/sprite.svg#entypo-thumbs-up')
|
|
|
|
svg#submit-error.icon-hide(viewBox="0 0 20 20" class="icons")
|
|
|
|
use(xlink:href='/dash/assets/images/sprite.svg#entypo-thumbs-down')
|
2018-11-09 02:45:37 +01:00
|
|
|
button#option-delete.content-editor-btn-icon.editor-button(for="post-delete" title='insert image')
|
|
|
|
svg#option-delete(viewBox="0 0 20 20" class="icons")
|
|
|
|
use#option-delete(xlink:href='/dash/assets/images/sprite.svg#entypo-cross')
|
2018-11-06 23:27:57 +01:00
|
|
|
else
|
2018-11-09 02:45:37 +01:00
|
|
|
button#option-save.post-sumbit-btn.submit-start.editor-button(data-action='blog-add' type='submit')
|
|
|
|
svg#submit-save(viewBox="0 0 20 20" class="icons")
|
|
|
|
use#submit-save(xlink:href='/dash/assets/images/sprite.svg#entypo-plus' data-action='blog-add')
|
|
|
|
|
|
|
|
|