import page jiff
This commit is contained in:
@@ -10,3 +10,4 @@
|
||||
<input type="hidden" name="profile_name" value="{{ page.form.profile_name }}">
|
||||
<input type="hidden" name="table_name" value="{{ page.form.table_name }}">
|
||||
<input type="hidden" name="csv_data" value="{{ page.form.csv_data }}">
|
||||
<input type="hidden" name="date_format" value="{{ page.form.date_format }}">
|
||||
|
||||
@@ -35,6 +35,14 @@
|
||||
<input type="file" accept=".csv,text/csv"
|
||||
onchange="this.files[0]?.text().then(value => document.getElementById('csv-data').value = value)">
|
||||
</label>
|
||||
<label>{{ nav.tr("import-date-format") }}
|
||||
<select name="date_format" required>
|
||||
{% for option in page.date_formats %}
|
||||
<option value="{{ option.value }}"{% if option.selected %} selected{% endif %}>{{ option.label }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
<small>{{ nav.tr("import-date-format-hint") }}</small>
|
||||
<label class="wide">{{ nav.tr("import-csv-data") }}<textarea id="csv-data" name="csv_data" rows="12">{{ page.form.csv_data }}</textarea></label>
|
||||
<small class="wide">{{ nav.tr("import-csv-format-hint") }}</small>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user