2017-09-15 15:54:47 +03:00
|
|
|
<script src="_assets/script-{{script_js_checksum}}.js" defer></script>
|
|
|
|
|
2017-10-02 22:30:31 +03:00
|
|
|
<div class="container {{#edit?}}edit{{/edit}}">
|
2017-09-21 11:09:57 +03:00
|
|
|
<div class="rendered">
|
|
|
|
{{>article_revision_contents.html}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="editor">
|
|
|
|
<form action="" method="POST">
|
|
|
|
|
2017-09-01 17:34:24 +03:00
|
|
|
<header>
|
2017-09-21 11:58:54 +03:00
|
|
|
<h1><input autocomplete=off type=text name=title value="{{title}}" placeholder="Title"></h1>
|
2017-09-01 17:34:24 +03:00
|
|
|
</header>
|
|
|
|
|
|
|
|
<article>
|
2017-10-13 15:46:54 +03:00
|
|
|
<p>
|
2017-09-21 11:09:57 +03:00
|
|
|
<input autocomplete=off type=hidden name=base_revision value="{{revision}}">
|
2017-09-21 11:58:54 +03:00
|
|
|
<textarea autocomplete=off name=body placeholder="Article goes here">{{raw}}</textarea>
|
2017-09-21 11:09:57 +03:00
|
|
|
<textarea autocomplete=off class="shadow-control"></textarea>
|
2017-10-13 15:46:54 +03:00
|
|
|
</p>
|
2017-09-21 11:09:57 +03:00
|
|
|
</article>
|
|
|
|
|
|
|
|
<div class="editor-controls">
|
2017-10-02 18:08:59 +03:00
|
|
|
{{#cancel_url}}
|
|
|
|
<a class="cancel" href="{{.}}">Cancel</a>
|
|
|
|
{{/cancel_url}}
|
2017-09-21 11:09:57 +03:00
|
|
|
<button type=submit>Save</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
2017-09-02 16:32:59 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-09-01 17:34:24 +03:00
|
|
|
|
|
|
|
<footer>
|
2017-10-13 16:06:16 +03:00
|
|
|
<ul class="dense">
|
2017-10-02 22:30:31 +03:00
|
|
|
<li><a id="openEditor" href="?edit">Edit</a></li>
|
2017-10-02 18:17:40 +03:00
|
|
|
</ul>
|
2017-09-01 17:34:24 +03:00
|
|
|
<dl>
|
|
|
|
<dt>Article ID</dt>
|
2017-09-21 13:11:08 +03:00
|
|
|
<dd class="article-id">{{article_id}}</dd>
|
2017-09-01 17:34:24 +03:00
|
|
|
|
|
|
|
<dt>Revision</dt>
|
2017-09-05 18:07:57 +03:00
|
|
|
<dd class="revision">{{revision}}</dd>
|
2017-09-01 17:34:24 +03:00
|
|
|
|
|
|
|
<dt>Last updated</dt>
|
2017-09-05 18:07:57 +03:00
|
|
|
<dd class="last-updated">{{created}}</dd>
|
2017-09-01 17:34:24 +03:00
|
|
|
</dl>
|
2017-10-13 16:25:44 +03:00
|
|
|
{{>footer/items.html}}
|
2017-09-01 17:34:24 +03:00
|
|
|
</footer>
|