wip: full editing support and login of user achieved, updated minijinja to v2, htmx, hyperscript
This commit is contained in:
8
templates/admin/widgets/checkbox_toggle.jinja
Normal file
8
templates/admin/widgets/checkbox_toggle.jinja
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="ui toggle checkbox">
|
||||
<!--noformat-->
|
||||
<input type="checkbox"
|
||||
name="{{ field.name }}"
|
||||
{% if field.value %}checked="checked" {% endif %}>
|
||||
<label>{{field.label or field.name|capitalize}}</label>
|
||||
<!--noformat-->
|
||||
</div>
|
||||
8
templates/admin/widgets/password_change.jinja
Normal file
8
templates/admin/widgets/password_change.jinja
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="ui action input inline field">
|
||||
<label>{{field.label or field.name|capitalize}}</label>
|
||||
<input type="text" value="{{field.value}}" readonly="readonly">
|
||||
<button class="ui teal right labeled icon button" hx-disable>
|
||||
<i class="key icon"></i>
|
||||
Set Password...
|
||||
</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user