diff options
author | Aaron Parecki <aaron@parecki.com> | 2015-05-10 15:09:07 +0200 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2015-05-10 15:09:07 +0200 |
commit | 3dc97d7478781550aa1a878120082a871988f02e (patch) | |
tree | 4eb36a780f734c6f416965fd5aadb93ab3c21180 /views | |
parent | b92daf96f5ae40abaadc3f41e448fcc75824334b (diff) |
autosave new posts in localstorage
Diffstat (limited to 'views')
-rw-r--r-- | views/editor.php | 13 | ||||
-rw-r--r-- | views/partials/appcache.php | 1 |
2 files changed, 13 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> diff --git a/views/partials/appcache.php b/views/partials/appcache.php index 546685f..0bc21a6 100644 --- a/views/partials/appcache.php +++ b/views/partials/appcache.php @@ -17,6 +17,7 @@ CACHE MANIFEST /editor/medium-editor/js/medium-editor.min.js /editor/medium-editor/js/medium-editor-insert-plugin.min.js /editor/localforage/localforage.js +/editor/quill-logo-36.png NETWORK: * |