Update limited/protected permission icon

This commit is contained in:
蒼時弦也 2017-01-10 17:22:57 +08:00
parent 758607d378
commit a9fe43ac3a
2 changed files with 4 additions and 10 deletions

View file

@ -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":

View file

@ -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>