summaryrefslogtreecommitdiff
path: root/public/views/body.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'public/views/body.ejs')
-rw-r--r--public/views/body.ejs29
1 files changed, 28 insertions, 1 deletions
diff --git a/public/views/body.ejs b/public/views/body.ejs
index 28680e49..79f2544e 100644
--- a/public/views/body.ejs
+++ b/public/views/body.ejs
@@ -7,7 +7,7 @@
<small>
<span>
<span class="ui-lastchangeuser" style="display: none;">&thinsp;<i class="ui-user-icon small" data-toggle="tooltip" data-placement="right"></i></span>
- <span class="ui-no-lastchangeuser">&thinsp;<i class="fa fa-clock-o"></i></span>
+ <span class="ui-no-lastchangeuser">&thinsp;<i class="fa fa-clock-o fa-fw" style="width: 18px;"></i></span>
&nbsp;<span class="text-uppercase ui-status-lastchange"></span>
<span class="ui-lastchange text-uppercase"></span>
</span>
@@ -19,8 +19,15 @@
<li class="ui-permission-editable"><a><i class="fa fa-shield fa-fw"></i> Editable - Signed people can edit</a></li>
<li class="ui-permission-locked"><a><i class="fa fa-lock fa-fw"></i> Locked - Only owner can edit</a></li>
<li class="ui-permission-private"><a><i class="fa fa-hand-stop-o fa-fw"></i> Private - Only owner can view &amp; edit</a></li>
+ <li class="divider"></li>
+ <li class="ui-delete-note"><a><i class="fa fa-trash-o fa-fw"></i> Delete this note</a></li>
</ul>
</span>
+ <br>
+ <span class="ui-owner" style="display: none;">
+ &thinsp;<i class="ui-user-icon small" data-toggle="tooltip" data-placement="right"></i>
+ &nbsp;<span class="text-uppercase">owned this note</span>
+ </span>
</small>
</div>
<div id="doc" class="markdown-body container-fluid"></div>
@@ -215,6 +222,26 @@
</div>
</div>
</div>
+<!-- delete modal -->
+<div class="modal fade delete-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-dialog modal-sm">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
+ </button>
+ <h4 class="modal-title" id="myModalLabel"><%= __('Are you sure?') %></h4>
+ </div>
+ <div class="modal-body" style="color:black;">
+ <h5 class="ui-delete-modal-msg">Do you really want to delete this note?</h5>
+ <strong class="ui-delete-modal-item">All users will lost their connection.</strong>
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-default" data-dismiss="modal"><%= __('Cancel') %></button>
+ <button type="button" class="btn btn-danger ui-delete-modal-confirm"><%= __('Yes, do it!') %></button>
+ </div>
+ </div>
+ </div>
+</div>
<%- include refresh-modal %>
<%- include signin-modal %>
<%- include help-modal %>