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

23
app/views/qor/index.tmpl Normal file
View File

@@ -0,0 +1,23 @@
{{$actions := load_actions "index" }}
{{if $actions}}
<div class="qor-page__header">
{{$actions}}
</div>
{{end}}
<div class="qor-page__body">
{{render "shared/flashes"}}
{{render "shared/errors"}}
<div class="qor-table-container">
{{render "index/table"}}
</div>
{{if has_create_permission .Resource}}
<a class="mdl-button mdl-button--fab mdl-button--primary qor-button--new" href="{{new_resource_path .Resource}}" data-url="{{new_resource_path .Resource}}">
<i class="material-icons">add</i>
</a>
{{end}}
{{render "index/pagination"}}
</div>