Markdown editor improvements
This commit is contained in:
13
views/modals/create-discard.pug
Normal file
13
views/modals/create-discard.pug
Normal file
@@ -0,0 +1,13 @@
|
||||
.modal#modal-create-discard
|
||||
.modal-background
|
||||
.modal-container
|
||||
.modal-content
|
||||
.card.is-fullwidth
|
||||
header.card-header.is-warning
|
||||
p.card-header-title Discard?
|
||||
.card-content
|
||||
.content
|
||||
| Are you sure you want to leave this page and loose anything you wrote so far?
|
||||
footer.card-footer
|
||||
a.card-footer-item.btn-create-discard Stay on page
|
||||
a.card-footer-item(href='/') Discard
|
20
views/modals/editor-codeblock.pug
Normal file
20
views/modals/editor-codeblock.pug
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
.modallayer#modal-editor-codeblock
|
||||
.modallayer-content
|
||||
|
||||
.columns
|
||||
.column
|
||||
h3 Code Block
|
||||
.column.is-narrow
|
||||
p.control
|
||||
span.select
|
||||
select(style={width: '300px'})
|
||||
option Plain text
|
||||
option C#
|
||||
.column.is-narrow
|
||||
a.button.is-warning.is-outlined Cancel
|
||||
.column.is-narrow
|
||||
a.button.is-primary.is-outlined Insert Code Block
|
||||
|
||||
.ace-container(style={'border-radius':'5px'})
|
||||
#codeblock-editor
|
33
views/modals/editor-link.pug
Normal file
33
views/modals/editor-link.pug
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
.modallayer#modal-editor-link
|
||||
.modallayer-content
|
||||
.tabs.is-boxed
|
||||
ul
|
||||
li
|
||||
a
|
||||
span.icon.is-small
|
||||
i.fa.fa-file-text-o
|
||||
span Internal Document Link
|
||||
li.is-active
|
||||
a
|
||||
span.icon.is-small
|
||||
i.fa.fa-external-link
|
||||
span External Link
|
||||
.columns.is-hidden
|
||||
.column
|
||||
label.label Text to display
|
||||
p.control
|
||||
input.input(type='text', placeholder='Text input')
|
||||
.column
|
||||
label.label Link
|
||||
p.control
|
||||
input.input(type='text', placeholder='http://')
|
||||
.columns
|
||||
.column
|
||||
label.label Text to display
|
||||
p.control
|
||||
input.input(type='text', placeholder='Text input')
|
||||
.column
|
||||
label.label Link
|
||||
p.control
|
||||
input.input(type='text', placeholder='http://')
|
Reference in New Issue
Block a user