diff options
author | Aaron Parecki <aaron@parecki.com> | 2015-05-10 16:49:22 +0200 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2015-05-10 16:49:22 +0200 |
commit | 3b7d766c31314a3d42d651b8c8f643ff8d6e15bd (patch) | |
tree | dec9c9cbed6cb077ada14754f556c21eb51da2c8 /views | |
parent | 3dc97d7478781550aa1a878120082a871988f02e (diff) |
do the micropub post and redirect after it's created!medium
Diffstat (limited to 'views')
-rw-r--r-- | views/auth_callback.php | 2 | ||||
-rw-r--r-- | views/editor.php | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/views/auth_callback.php b/views/auth_callback.php index 7274cd7..3bafa57 100644 --- a/views/auth_callback.php +++ b/views/auth_callback.php @@ -27,7 +27,7 @@ <h3>Success!</h3> <p>All required values were found! You are now signed in.</p> - <p><a href="/new" class="btn btn-primary">Continue</a></p> + <p><a href="<?= $this->destination ?>" class="btn btn-primary">Continue</a></p> <?php else: ?> diff --git a/views/editor.php b/views/editor.php index 8bef0e5..1b82ab4 100644 --- a/views/editor.php +++ b/views/editor.php @@ -43,11 +43,12 @@ <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"><a href="/"><img src="/editor/quill-logo-36.png" width="36" height="31" class="logo"></a></span> <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="new_btn">New</button> </div> <div class="clear"></div> </div> |