Rewrite edit blocs and themes
This commit is contained in:
9
app/templates/admin/_blocs_list.html
Normal file
9
app/templates/admin/_blocs_list.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% for item in myblocs.keys() %}
|
||||
|
||||
<div class="bloc" id="bloc-{{ item }}" style="margin-top: 10px;">
|
||||
<button class="btn"> {{ item }} - {{ myblocs[item]['type'] }} </button>
|
||||
<input class="input-menu" id="bloc-{{ item }}" name="{{ item }}" value="" style="display:none;">
|
||||
<button class="btn btn-danger" onclick="deleteItem(this)"> x </button>
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user