Skip to content

Commit

Permalink
Display no-opinion permission checks on /-/permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Mar 21, 2022
1 parent e627510 commit dfafce6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions datasette/templates/permissions_debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
.check-result-false {
color: red;
}
.check-result-no-opinion {
color: #aaa;
}
.check h2 {
font-size: 1em
}
Expand Down Expand Up @@ -38,6 +41,8 @@ <h2>
<span class="check-when">{{ check.when }}</span>
{% if check.result %}
<span class="check-result check-result-true"></span>
{% elif check.result is none %}
<span class="check-result check-result-no-opinion">none</span>
{% else %}
<span class="check-result check-result-false"></span>
{% endif %}
Expand Down

0 comments on commit dfafce6

Please sign in to comment.