annotate static/tpl/edit-page.html @ 145:74690402fef2

Moved all the static content to, well, a `/static` folder.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 11 Dec 2013 17:45:52 -0800
parents 6d962a238c03
children f02e049d6546
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
1 <article>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
2 <header>
11
aa6951805e1a New features and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 10
diff changeset
3 <h1>{{meta.title}} <span class="decorator">Editing</span></h1>
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
4 </header>
91
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
5 <form id="page-edit" class="row">
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
6 <div id="wmd-form-wrapper" class="span12">
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
7 <section id="wmd-button-bar-wrapper">
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
8 <div id="wmd-button-bar"></div>
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
9 <div id="wmd-extra-bar">
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
10 <ul class="wmd-button-row">
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
11 <li class="wmd-button" id="wmd-preview-button" title="Toggle Preview"><span></span></li>
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
12 </ul>
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
13 </div>
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
14 </section>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
15 <section id="wmd-input-wrapper">
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
16 <textarea id="wmd-input" name="text" placeholder="Your page's contents go here...">{{content}}</textarea>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
17 <div id="wmd-input-grip"></div>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
18 </section>
91
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
19 <section id="wmd-meta-wrapper">
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
20 <div id="wmd-meta" class="controls commit-meta">
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
21 <div class="control-group input-prepend">
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
22 <label for="author" class="control-label add-on">Author: </label>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
23 <input type="text" name="author" class="" placeholder="{{commit_meta.author}}"></input>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
24 </div>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
25 <div class="control-group input-prepend">
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
26 <label for="message" class="control-label add-on">Change Description: </label>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
27 <input type="text" name="message" class="input-xxlarge" placeholder="{{commit_meta.desc}}"></input>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
28 </div>
3
59cad6ce1a1c Added support for history and diffing.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
29 </div>
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
30 </section>
91
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
31 <section id="wmd-commit-wrapper" class="row">
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
32 <div id="wmd-commit">
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
33 <button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> Save</button>
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
34 <a href="{{url_read}}" class="btn">Cancel</a>
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
35 </div>
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
36 </section>
91
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
37 </div>
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
38 <div id="wmd-preview-wrapper">
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
39 <h3>Preview</h3>
93
6d962a238c03 Added full preview button for page editing.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
40 <button id="wmd-full-preview-button" class="btn">Full Preview</button>
91
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
41 <div id="wmd-preview"></div>
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
42 </div>
315c32a4ce58 Modified edit page to support side-by-side preview.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
43 </form>
11
aa6951805e1a New features and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 10
diff changeset
44 </article>
145
74690402fef2 Moved all the static content to, well, a `/static` folder.
Ludovic Chabant <ludovic@chabant.com>
parents: 93
diff changeset
45 <script type="text/javascript" src="/static/js/pagedown/Markdown.Converter.js"></script>
74690402fef2 Moved all the static content to, well, a `/static` folder.
Ludovic Chabant <ludovic@chabant.com>
parents: 93
diff changeset
46 <script type="text/javascript" src="/static/js/pagedown/Markdown.Sanitizer.js"></script>
74690402fef2 Moved all the static content to, well, a `/static` folder.
Ludovic Chabant <ludovic@chabant.com>
parents: 93
diff changeset
47 <script type="text/javascript" src="/static/js/pagedown/Markdown.Editor.js"></script>