Add object nesting and object collapsing

This commit is contained in:
Misode
2019-09-23 00:36:06 +02:00
parent dec0e82eb3
commit 4bac2fe276
4 changed files with 237 additions and 100 deletions

View File

@@ -185,7 +185,7 @@
</div>
</div>
<div id="poolTemplate" class="card bg-success text-white mt-3 pool" data-field="pools[]">
<!--div id="poolTemplate" class="card bg-success text-white mt-3 pool" data-field="pools[]">
<div class="card-header pb-1">
<button type="button" class="btn btn-danger mb-2 float-right" onclick="removeField(this)" data-i18n="remove_pool"></button>
<button type="button" class="btn btn-light mr-3 mb-2 float-left" onclick="addEntry(this)" data-i18n="add_entry"></button>
@@ -1102,7 +1102,7 @@
<input type="text" class="form-control range max d-none rounded-right" value="2" onchange="updateField(this)" onfocus="this.select()">
</div>
</div>
</div>
</div-->
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>