kopia lustrzana https://github.com/simonw/datasette
Display no-opinion permission checks on /-/permissions
rodzic
e627510b76
commit
dfafce6d96
|
@ -10,6 +10,9 @@
|
||||||
.check-result-false {
|
.check-result-false {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
.check-result-no-opinion {
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
.check h2 {
|
.check h2 {
|
||||||
font-size: 1em
|
font-size: 1em
|
||||||
}
|
}
|
||||||
|
@ -38,6 +41,8 @@
|
||||||
<span class="check-when">{{ check.when }}</span>
|
<span class="check-when">{{ check.when }}</span>
|
||||||
{% if check.result %}
|
{% if check.result %}
|
||||||
<span class="check-result check-result-true">✓</span>
|
<span class="check-result check-result-true">✓</span>
|
||||||
|
{% elif check.result is none %}
|
||||||
|
<span class="check-result check-result-no-opinion">none</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="check-result check-result-false">✗</span>
|
<span class="check-result check-result-false">✗</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Ładowanie…
Reference in New Issue