diff options
author | Sheogorath | 2019-03-25 17:41:51 +0100 |
---|---|---|
committer | Sheogorath | 2019-03-25 22:33:27 +0100 |
commit | 1544b45af5435fde1190634dc44b65ca6ab55238 (patch) | |
tree | e96df58086259e189cac6848a410b4611e9206a0 /public/views | |
parent | 50c80c99a4246c60026517b8632a1bbb05e1fe5c (diff) |
Move upload button into toolbar
Currently we have the odd situation to have two toolbars. One inside the
header and one in the editor.
Since we only show the image upload button when the editor is visible we
should move the upload button into the editor toolbar.
This patch does this by adding the image upload button besides the image
tag button.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'public/views')
-rw-r--r-- | public/views/codimd/header.ejs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/public/views/codimd/header.ejs b/public/views/codimd/header.ejs index b83838ea..6bf37804 100644 --- a/public/views/codimd/header.ejs +++ b/public/views/codimd/header.ejs @@ -15,9 +15,6 @@ </div> <a class="navbar-brand pull-left" href="<%- serverURL %>/"><i class="fa fa-file-text"></i> CodiMD</a> <div class="nav-mobile pull-right visible-xs"> - <span class="btn btn-link btn-file ui-upload-image" title="Upload Image" style="display:none;"> - <i class="fa fa-camera"></i><input type="file" accept="image/*" name="upload" multiple> - </span> <a data-toggle="dropdown" class="btn btn-link"> <i class="fa fa-caret-down"></i> </a> @@ -100,9 +97,6 @@ <span class="btn btn-link btn-file ui-help" title="<%= __('Help') %>" data-toggle="modal" data-target=".help-modal"> <i class="fa fa-question-circle"></i> </span> - <span class="btn btn-link btn-file ui-upload-image" title="<%= __('Upload Image') %>" style="display:none;"> - <i class="fa fa-camera"></i><input type="file" accept="image/*" name="upload" multiple> - </span> </ul> <ul class="nav navbar-nav navbar-right"> <li id="online-user-list"> |