added an almost usuable editor
This commit is contained in:
Binary file not shown.
@@ -1,5 +1,20 @@
|
||||
include ./layout.jade
|
||||
h1= title
|
||||
form(method="post", action="/" + name)
|
||||
textarea(name="markdown")= markdown
|
||||
input(type="submit")
|
||||
link(rel='stylesheet', href='/stylesheets/editor.css')
|
||||
script(src="/js/jquery.minitabs.js")
|
||||
script(src="/js/textile.min.js")
|
||||
script(src="/js/editor.js")
|
||||
h1 edit
|
||||
|
||||
.container-fluid
|
||||
p
|
||||
p
|
||||
p
|
||||
p
|
||||
#col_left.col
|
||||
span(class="tools")
|
||||
form(method="post", action="/" + name)
|
||||
textarea( name='markdown',id="tx_input", class='panel', cols="80", rows='20' )= markdown
|
||||
button(type="submit", class="btn btn-danger") update
|
||||
|
||||
#col_right.col
|
||||
#text_preview.panel
|
||||
|
||||
@@ -2,19 +2,23 @@ doctype html
|
||||
html
|
||||
head
|
||||
title= title
|
||||
link(rel='stylesheet', href='/stylesheets/style.css')
|
||||
link(rel='stylesheet', href='http://lbesson.bitbucket.org/md/themes/cyborg.min.css')
|
||||
link(rel='stylesheet', href='/stylesheets/bootstrap.min.css')
|
||||
|
||||
//link(rel='stylesheet', href='http://lbesson.bitbucket.org/md/themes/cyborg.min.css')
|
||||
link(rel='stylesheet', href='http://lbesson.bitbucket.org/md/themes/bootstrap-responsive.min.css')
|
||||
link(rel='stylesheet', href='/stylesheets/style.css')
|
||||
script(src='/js/jquery.min.js')
|
||||
script(src='/js/bootstrap.min.js')
|
||||
body
|
||||
nav.navbar.navbar-default
|
||||
div.container-fluid
|
||||
ul.nav.nav-pills
|
||||
li(role="presentation" )
|
||||
a(href="#home") THSF
|
||||
li(role="presentation")
|
||||
a(href="#presentation") presentation
|
||||
li(role="presentation" )
|
||||
a(href="#programme") preogramme
|
||||
nav.navbar.navbar-default.navbar-fixed-top
|
||||
ul.nav.navbar-nav
|
||||
li(role="presentation" )
|
||||
a(href="#home") THSF
|
||||
li(role="presentation")
|
||||
a(href="#presentation") presentation
|
||||
li(role="presentation" )
|
||||
a(href="#programme") preogramme
|
||||
|
||||
block body
|
||||
|
||||
|
||||
Reference in New Issue
Block a user