summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
author蒼時弦也2017-01-10 17:22:57 +0800
committer蒼時弦也2017-01-10 17:22:57 +0800
commita9fe43ac3a38f036d4f9baa27c50fc9b5fea8c1f (patch)
treeb7fd74b4ed6237e0cc943662514be649d12cd181 /public
parent758607d37808b7fee2957bdb33eeda44e02233d4 (diff)
Update limited/protected permission icon
Diffstat (limited to '')
-rw-r--r--public/js/index.js10
-rw-r--r--public/views/body.ejs4
2 files changed, 4 insertions, 10 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 7ddc696a..057ddd9d 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2288,10 +2288,7 @@ function updatePermission(newPermission) {
title = "Signed people can edit";
break;
case "limited":
- label = '<span class="fa-stack" aria-hidden="true">' +
- '<i class="fa fa-shield fa-stack-1x"></i>' +
- '<i class="fa fa-circle-thin fa-stack-2x"></i>' +
- '</span> Limited';
+ label = '<i class="fa fa-exclamation-circle"></i> Limited';
title = "Signed people can edit & guest can't view"
break;
case "private":
@@ -2299,10 +2296,7 @@ function updatePermission(newPermission) {
title = "Only owner can view & edit";
break;
case "protected":
- label = '<span class="fa-stack aria-hidden="true">' +
- '<i class="fa fa-hand-stop-o"></i>' +
- '<i class="fa fa-circle-thin fa-stack-2x"></i>' +
- '</span> Protected';
+ label = '<i class="fa fa-umbrella"></i> Protected';
title = "Only owner can edit & guest can't view";
break;
case "locked":
diff --git a/public/views/body.ejs b/public/views/body.ejs
index 988d4f5b..6500e607 100644
--- a/public/views/body.ejs
+++ b/public/views/body.ejs
@@ -17,9 +17,9 @@
<ul class="dropdown-menu" aria-labelledby="permissionLabel">
<li class="ui-permission-freely"<% if(!allowAnonymous) { %> style="display: none;"<% } %>><a><i class="fa fa-leaf fa-fw"></i> Freely - Anyone can edit</a></li>
<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-limited"><a><i class="fa fa-shield fa-fw"></i> Limited - Signed people can edit &amp; view</a></li>
+ <li class="ui-permission-limited"><a><i class="fa fa-exclamation-circle fa-fw"></i> Limited - Signed people can edit &amp; view</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="ui-permission-protected"><a><i class="fa fa-hand-stop-o fa-fw"></i> Protected - Only owner can edit</a></li>
+ <li class="ui-permission-protected"><a><i class="fa fa-umbrella fa-fw"></i> Protected - Only owner 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="divider"></li>
<li class="ui-delete-note"><a><i class="fa fa-trash-o fa-fw"></i> Delete this note</a></li>