summaryrefslogtreecommitdiff
path: root/views/editor.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2015-05-10 15:09:07 +0200
committerAaron Parecki <aaron@parecki.com>2015-05-10 15:09:07 +0200
commit3dc97d7478781550aa1a878120082a871988f02e (patch)
tree4eb36a780f734c6f416965fd5aadb93ab3c21180 /views/editor.php
parentb92daf96f5ae40abaadc3f41e448fcc75824334b (diff)
autosave new posts in localstorage
Diffstat (limited to 'views/editor.php')
-rw-r--r--views/editor.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/views/editor.php b/views/editor.php
index fc4fcc6..8bef0e5 100644
--- a/views/editor.php
+++ b/views/editor.php
@@ -41,9 +41,20 @@
</head>
<body>
+<div class="toolbar">
+ <div class="toolbar-left">
+ <span class="item"><a href="/"><img src="/editor/quill-logo-36.png" width="36" height="31"></a></span>
+ <span class="item text"><span id="draft-status">Draft</span></span>
+ </div>
+ <div class="toolbar-right">
+
+ </div>
+ <div class="clear"></div>
+</div>
+
<div class="container">
<input id="post-name" type="text" value="" placeholder="Title">
- <div id="content" class="editable"><p class="placeholder">Tell your story...</p></div>
+ <div id="content" class="editable"><p class="placeholder">Write something nice...</p></div>
</div>
<script src="/editor/editor.js"></script>