aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-16 19:54:07 -0800
committerzotlabs <mike@macgirvin.com>2016-12-16 19:54:07 -0800
commit827d4c5fb094715a65d4559f8c6159eb5d31d5f7 (patch)
treed08d324870f20adeb61f98e6619618b3893bbd7e
parente46fcc289342d208442c4787495941667b313c10 (diff)
downloadvolse-hubzilla-827d4c5fb094715a65d4559f8c6159eb5d31d5f7.tar.gz
volse-hubzilla-827d4c5fb094715a65d4559f8c6159eb5d31d5f7.tar.bz2
volse-hubzilla-827d4c5fb094715a65d4559f8c6159eb5d31d5f7.zip
use lock colour to indicate that permissions have been set by the software to something you might not expect rather than an exclamation mark. This may not be the best colour in this page context, but it serves the intended purpose. Perhaps orange might be less intrusive and still convey the desired information.
-rw-r--r--view/js/acl.js1
-rw-r--r--view/theme/redbasic/css/style.css5
-rwxr-xr-xview/tpl/jot.tpl2
3 files changed, 7 insertions, 1 deletions
diff --git a/view/js/acl.js b/view/js/acl.js
index c11997c43..4dd60d303 100644
--- a/view/js/acl.js
+++ b/view/js/acl.js
@@ -276,6 +276,7 @@ ACL.prototype.update_view = function(value) {
/* jot acl */
$('#jot-perms-icon, #dialog-perms-icon, #' + that.form_id[0].id + ' .jot-perms-icon').removeClass('fa-lock').addClass('fa-unlock');
+ $('#jot-perms-icon').removeClass('jot-lock-warn');
$('#dbtn-jotnets').show();
$('.profile-jot-net input').attr('disabled', false);
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 3ae52d5cc..5f5df808f 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1267,6 +1267,11 @@ img.mail-conv-sender-photo {
color: $toolicon_colour;
}
+.jot-icons.jot-lock-warn {
+ color: red;
+}
+
+
/* conversation */
.nsfw-wrap {
text-align: center;
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index a3bfad842..377eef453 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -180,7 +180,7 @@
{{/if}}
{{if $showacl}}
<button id="dbtn-acl" class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" title="{{$permset}}" type="button" data-form_id="profile-jot-form">
- <i id="jot-perms-icon" class="fa fa-{{$lockstate}} jot-icons"></i>{{if $bang}}&nbsp;<i class="fa fa-exclamation jot-icons"></i>{{/if}}
+ <i id="jot-perms-icon" class="fa fa-{{$lockstate}} jot-icons{{if $bang}} jot-lock-warn{{/if}}"></i>
</button>
{{/if}}
<button id="dbtn-submit" class="btn btn-primary btn-sm" type="submit" tabindex="3" name="button-submit">{{$share}}</button>