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.
This commit is contained in:
@@ -276,6 +276,7 @@ ACL.prototype.update_view = function(value) {
|
|||||||
|
|
||||||
/* jot acl */
|
/* 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, #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();
|
$('#dbtn-jotnets').show();
|
||||||
$('.profile-jot-net input').attr('disabled', false);
|
$('.profile-jot-net input').attr('disabled', false);
|
||||||
|
|
||||||
|
|||||||
@@ -1267,6 +1267,11 @@ img.mail-conv-sender-photo {
|
|||||||
color: $toolicon_colour;
|
color: $toolicon_colour;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.jot-icons.jot-lock-warn {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* conversation */
|
/* conversation */
|
||||||
.nsfw-wrap {
|
.nsfw-wrap {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -180,7 +180,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $showacl}}
|
{{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">
|
<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}} <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>
|
</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<button id="dbtn-submit" class="btn btn-primary btn-sm" type="submit" tabindex="3" name="button-submit">{{$share}}</button>
|
<button id="dbtn-submit" class="btn btn-primary btn-sm" type="submit" tabindex="3" name="button-submit">{{$share}}</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user