upload: add ids for a script for selection
This commit is contained in:
parent
ff479e8bcb
commit
ed16e40e20
@ -79,15 +79,14 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr>
|
<tr id="upload">
|
||||||
<th>
|
<th>
|
||||||
{% trans %}File{% endtrans %}
|
{% trans %}File{% endtrans %}
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
<input type="file" name="file">
|
<input type="file" name="file" id="upload_file">
|
||||||
{% if config.allow_upload_by_url %}
|
{% if config.allow_upload_by_url %}
|
||||||
<br>
|
<div style="float:none;text-align:left" id="upload_url">
|
||||||
<div style="float:none;text-align:left">
|
|
||||||
<label for="file_url">{% trans %}Or URL{% endtrans %}</label>:
|
<label for="file_url">{% trans %}Or URL{% endtrans %}</label>:
|
||||||
<input style="display:inline" type="text" id="file_url" name="file_url" size="35">
|
<input style="display:inline" type="text" id="file_url" name="file_url" size="35">
|
||||||
</div>
|
</div>
|
||||||
@ -96,7 +95,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% if config.enable_embedding %}
|
{% if config.enable_embedding %}
|
||||||
<tr>
|
<tr id="upload_embed">
|
||||||
<th>
|
<th>
|
||||||
{% trans %}Embed{% endtrans %}
|
{% trans %}Embed{% endtrans %}
|
||||||
{{ antibot.html() }}
|
{{ antibot.html() }}
|
||||||
|
Loading…
Reference in New Issue
Block a user