diff options
author | Aaron Parecki <aaron@parecki.com> | 2015-05-11 16:03:41 +0200 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2015-05-11 16:03:41 +0200 |
commit | 475175da5fd90162930acc123712a529f809f961 (patch) | |
tree | 4bb9d78c98e19a3fe246ed39fe2d9114288eb194 /views/editor.php | |
parent | 3b7d766c31314a3d42d651b8c8f643ff8d6e15bd (diff) |
adds a "new version available" banner and a dropdown menu for publish
made a nice looking dropdown menu for the publish button
Diffstat (limited to 'views/editor.php')
-rw-r--r-- | views/editor.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/views/editor.php b/views/editor.php index 1b82ab4..eeb3c53 100644 --- a/views/editor.php +++ b/views/editor.php @@ -47,17 +47,27 @@ <span class="item text"><span id="draft-status">Draft</span></span> </div> <div class="toolbar-right"> - <button class="btn" id="publish_btn">Publish</button> + <button class="btn" id="publish_btn"><span>Publish</span> <i class="fa fa-caret-down"></i></button> <button class="btn" id="new_btn">New</button> </div> <div class="clear"></div> </div> +<div class="publish-dropdown hidden"> + <div class="arrow"></div> +</div> + <div class="container"> <input id="post-name" type="text" value="" placeholder="Title"> <div id="content" class="editable"><p class="placeholder">Write something nice...</p></div> </div> +<div id="new_version_available"> + <div class="inner"> + There is a new version available! Refresh to load the new version. + </div> +</div> + <script src="/editor/editor.js"></script> </body> |