summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author蒼時弦也2017-01-10 15:15:12 +0800
committer蒼時弦也2017-01-10 15:15:12 +0800
commit758607d37808b7fee2957bdb33eeda44e02233d4 (patch)
tree11198bb218df8d1aeb1147c2e270b1b9666d0862
parent7b02c48d93d05e3ced0a030a13d620559710c9cd (diff)
Add fa-stack style to public/js/index.js
-rw-r--r--public/js/index.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 4cbc6b93..7ddc696a 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2288,16 +2288,22 @@ function updatePermission(newPermission) {
title = "Signed people can edit";
break;
case "limited":
- label = '<i class="fa fa-shield"></i> Limited';
- title = "Signed people can view & edit"
+ 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';
+ title = "Signed people can edit & guest can't view"
break;
case "private":
label = '<i class="fa fa-hand-stop-o"></i> Private';
title = "Only owner can view & edit";
break;
case "protected":
- label = '<i class="fa fa-hand-stop-o"></i> Protected';
- title = "Signed people can view";
+ 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';
+ title = "Only owner can edit & guest can't view";
break;
case "locked":
label = '<i class="fa fa-lock"></i> Locked';