Upgrade spectre to v4

This commit is contained in:
James Cole
2018-04-28 05:25:29 +02:00
parent 85d655d3e2
commit bc8bcf7a1a
12 changed files with 102 additions and 68 deletions

View File

@@ -47,20 +47,27 @@
{% endfor %}
</td>
<td>
{% if account.options|length > 0 %}
<select class="form-control" name="import[{{ account.id }}]">
{% for id,name in account.options %}
<option value="{{ id }}" label="{{ name }}">{{ name }}</option>
{% endfor %}
</select>
{% else %}
<em>
{{ trans('import.spectre_no_supported_accounts') }}
</em>
{% endif %}
</td>
<td>
{% if account.options|length > 0 %}
<div class="checkbox">
<label>
<input type="checkbox" value="1" name="do_import[{{ account.id }}]" checked>
{{ trans('import.spectre_do_import') }}
</label>
</div>
{% endif %}
</td>
</tr>

View File

@@ -23,9 +23,8 @@
<div class="row">
<div class="col-lg-8">
{{ ExpandedForm.text('client_id') }}
{{ ExpandedForm.text('service_secret') }}
{{ ExpandedForm.text('app_secret') }}
{{ ExpandedForm.text('app_id') }}
{{ ExpandedForm.text('secret') }}
</div>
</div>
<div class="row">