Commit 1b1080d3 authored by Curtis Adam's avatar Curtis Adam

Move import examples below the import format buttons

parent 48e8c6ba
......@@ -82,7 +82,7 @@
"popover-content": "Unterstützt werden die Dateiformate JSON und CSV (Excel, kommagetrennt). Die folgenden Links zeigen die erforderliche Dateistruktur:",
"upload-title": "Karten importieren",
"upload-card-title-placeholder": "Mnemosyne Import",
"upload-type": "Dateityp",
"upload-type": "Dateiformat",
"upload-type1": ".cards",
"upload-type2": "Mnemosyne",
"wait": "Dateien werden hochgeladen",
......
......@@ -1150,10 +1150,6 @@
<h4 id="importModalTitle" class="modal-title">{{_ "upload-form.upload-title"}}</h4>
</div>
<div class="modal-body">
<p>{{_ "upload-form.popover-content"}}</p>
<a role='button' target='_blank' class='btn btn-default' href='/examples/example.json'>JSON</a>
<a role='button' target='_blank' class='btn btn-default' href='/examples/example.csv.txt'>CSV</a>
<h4>{{_ "upload-form.upload-type"}}</h4>
<div id="importTypeGroup" class="form-group btn-group" role="group" data-toggle="buttons">
<label id="importType1"
class="btn btn-default btn-white import-type {{#if importType 1}}active{{/if}}"
......@@ -1178,8 +1174,16 @@
{{_ "upload-form.upload-type2"}}
</label>
</div>
{{#if importType 1}}
<hr/>
<h4>{{_ "upload-form.upload-type"}}</h4>
<p>{{_ "upload-form.popover-content"}}</p>
<a role='button' target='_blank' class='btn btn-default'
href='/examples/example.json'>JSON</a>
<a role='button' target='_blank' class='btn btn-default' href='/examples/example.csv.txt'>CSV</a>
{{/if}}
<hr/>
</div>
<hr/>
<div class="modal-footer">
{{#unless uploading}}
<button id="importCancel" class="btn btn-default btn-raised btn-block col-xs-12 col-sm-4"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment