summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorSheogorath2018-05-26 03:19:10 +0200
committerSheogorath2018-05-26 03:20:44 +0200
commit75f28ca7f3600ab6483f38ad47a0c8430858f5c3 (patch)
tree96082e6f593218d78e380ab8964298c1f917ab03 /public/views
parentbcbb8c67c9f8092643c318140f6613324f306bd2 (diff)
Add export data UI
This adds the UI for the export feature introduced in bcbb8c67c9f8092643c318140f6613324f306bd2 It allows to download all notes from the main page in the default user submenu. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'public/views')
-rw-r--r--public/views/index/body.ejs1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs
index f28ab11d..a7c5a0b8 100644
--- a/public/views/index/body.ejs
+++ b/public/views/index/body.ejs
@@ -27,6 +27,7 @@
</button>
<ul class="dropdown-menu" aria-labelledby="profileLabel">
<li><a href="<%- url %>/features"><i class="fa fa-dot-circle-o fa-fw"></i> <%= __('Features') %></a></li>
+ <li><a href="<%- url %>/me/export"><i class="fa fa-cloud-download fa-fw"></i> <%= __('Export user data') %></a></li>
<li><a class="ui-delete-user" data-toggle="modal" data-target=".delete-user-modal"><i class="fa fa-trash fa-fw"></i> <%= __('Delete user') %></a></li>
<li><a href="<%- url %>/logout"><i class="fa fa-sign-out fa-fw"></i> <%= __('Sign Out') %></a></li>
</ul>