Simplified data structure around template files
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
</div>
|
||||
|
||||
<div class="metadata-field">
|
||||
<label for="protocol-summary">Protocol Summary:</label>
|
||||
<label for="protocol-summary">Summary:</label>
|
||||
<textarea id="protocol-summary" name="protocol-summary" placeholder="Briefly describe this dispute resolution protocol and its purpose..."></textarea>
|
||||
</div>
|
||||
</div>
|
||||
@ -116,7 +116,7 @@
|
||||
<a href="#" id="export-md" class="sidebar-btn">Export Markdown</a>
|
||||
<a href="#" id="export-pdf" class="sidebar-btn">Export PDF</a>
|
||||
<a href="#" id="export-json" class="sidebar-btn">Export JSON</a>
|
||||
<button id="import-btn" class="sidebar-btn">Import JSON</button>
|
||||
<a href="#" id="import-btn" class="sidebar-btn">Import JSON</a>
|
||||
<input type="file" id="import-json" accept=".json" style="display: none;">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -15,11 +15,9 @@
|
||||
|
||||
<!-- Custom JS for the builder -->
|
||||
{{ if eq .Layout "builder" }}
|
||||
<script defer src="{{ "js/data/modules.js" | relURL }}"></script>
|
||||
<script defer src="{{ "js/data/templates.js" | relURL }}"></script>
|
||||
<script defer src="{{ "js/data/template-mapper.js" | relURL }}"></script>
|
||||
<script defer src="{{ "js/debug.js" | relURL }}"></script>
|
||||
<script defer src="{{ "js/builder.js" | relURL }}"></script>
|
||||
<script type="module" src="{{ "js/templates/index.js" | relURL }}"></script>
|
||||
<script type="module" src="{{ "js/builder.js" | relURL }}"></script>
|
||||
{{ end }}
|
||||
|
||||
<!-- Additional custom JS from site parameters -->
|
||||
|
Reference in New Issue
Block a user