Added views for QOR admin

This commit is contained in:
Nedim
2023-09-07 13:04:34 +02:00
parent 40c6366608
commit f02e5e49cb
180 changed files with 18556 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
<div class="qor-field">
<label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" {{if .InputId}}for="{{.InputId}}"{{end}}>
<span class="qor-field__label mdl-checkbox__label">{{meta_label .Meta}}</span>
<span class="qor-field__edit">
<input type="checkbox" {{if .InputId}}id="{{.InputId}}"{{end}} name="{{.InputName}}" class="mdl-checkbox__input" value="true" type="checkbox" {{if .Value}}checked{{end}} {{if (not (has_change_permission .Meta)) }} disabled{{end}}>
{{if has_change_permission .Meta}}<input type="hidden" name="{{.InputName}}" value="false">{{end}}
</span>
</label>
</div>