2018-06-25 00:00:35 +03:00
|
|
|
<script src="_assets/{{script_js()}}" defer></script>
|
2017-10-24 11:30:12 +03:00
|
|
|
|
|
|
|
<div class="container {{#edit?}}edit{{/edit}}">
|
|
|
|
<div class="rendered">
|
|
|
|
{{>article_contents.html}}
|
|
|
|
</div>
|
|
|
|
|
2018-09-24 09:43:36 +03:00
|
|
|
<form autocomplete="off" id="article-editor" action="" method="POST">
|
2017-10-24 11:30:12 +03:00
|
|
|
|
2018-07-16 23:11:53 +03:00
|
|
|
<div class="editor">
|
|
|
|
<div class="hero">
|
2017-10-24 11:30:12 +03:00
|
|
|
<header>
|
2017-10-30 15:23:06 +03:00
|
|
|
<h1><input autocomplete=off type=text name=title value="{{title}}" placeholder="Title" required></h1>
|
2017-10-24 11:30:12 +03:00
|
|
|
</header>
|
2018-06-16 11:58:00 +03:00
|
|
|
</div>
|
2017-10-24 11:30:12 +03:00
|
|
|
|
2018-09-24 09:43:36 +03:00
|
|
|
<div class="theme-picker">
|
|
|
|
{{#themes}}
|
|
|
|
<input autocomplete="off" type="radio" name="theme" value="{{.theme}}"{{#.selected?}} checked{{/.selected}} class="theme-picker--option {{.theme.css_class()}} themed">
|
|
|
|
{{/themes}}
|
|
|
|
</div>
|
|
|
|
|
2017-10-24 11:30:12 +03:00
|
|
|
<article>
|
|
|
|
<p>
|
|
|
|
<input autocomplete=off type=hidden name=base_revision value="{{revision}}">
|
|
|
|
<textarea autocomplete=off name=body placeholder="Article goes here">{{raw}}</textarea>
|
|
|
|
<textarea autocomplete=off class="shadow-control"></textarea>
|
|
|
|
</p>
|
|
|
|
</article>
|
|
|
|
|
2018-07-16 23:11:53 +03:00
|
|
|
</div>
|
|
|
|
|
2017-10-24 11:30:12 +03:00
|
|
|
<div class="editor-controls">
|
|
|
|
{{#cancel_url}}
|
2018-08-21 00:25:03 +03:00
|
|
|
<a class="button button-cancel cancel" href="{{.}}">Cancel</a>
|
2018-09-16 23:25:28 +03:00
|
|
|
{{/cancel_url}}
|
|
|
|
{{^cancel_url}}
|
|
|
|
<button class="button button-cancel cancel" disabled>Cancel</a>
|
2017-10-24 11:30:12 +03:00
|
|
|
{{/cancel_url}}
|
2018-08-21 00:25:03 +03:00
|
|
|
<button class="button button-default" type=submit>Save</button>
|
2017-10-24 11:30:12 +03:00
|
|
|
</div>
|
|
|
|
</form>
|
2018-07-16 23:11:53 +03:00
|
|
|
|
2017-10-24 11:30:12 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
<ul class="dense"
|
|
|
|
><li class="last-updated {{^last_updated}}missing{{/last_updated}}">{{#last_updated}}{{{.}}}{{/last_updated}}</li
|
2017-11-14 13:19:47 +03:00
|
|
|
><li><a id="openEditor" href="?edit" rel="nofollow">Edit</a></li
|
2017-10-24 11:30:12 +03:00
|
|
|
></ul>
|
|
|
|
{{>footer/items.html}}
|
|
|
|
</footer>
|
2017-12-02 13:01:24 +03:00
|
|
|
|
|
|
|
{{>dialog_prototypes.html}}
|