mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
355 B
11 lines
355 B
3 years ago
|
mixin mypermissions(jsonPermissions, keys)
|
||
|
for perm, index in keys
|
||
|
if jsonPermissions[perm].title && index > 0
|
||
|
hr(size=1)
|
||
|
h4.mv-5 #{jsonPermissions[perm].title}
|
||
|
.row
|
||
|
label.postform-style.ph-5
|
||
|
input(type='checkbox' checked=jsonPermissions[perm].state disabled)
|
||
|
.rlabel #{jsonPermissions[perm].label}
|
||
|
p #{jsonPermissions[perm].desc}
|