forked from piair/MsRewards-Reborn
euh ué?
This commit is contained in:
parent
2b0e99031e
commit
41f4059996
@ -76,17 +76,20 @@
|
||||
</form>
|
||||
|
||||
|
||||
<script>
|
||||
function addline(ligne){
|
||||
document.getElementById("table").insertRow(i+1).insertCell(0).innerHTML = '<input type="file" id="file' + ligne + 1 + '" name="file' + ligne + 1 + '" onchange="addline(' + ligne + 1 + ')">'
|
||||
}
|
||||
</script>
|
||||
|
||||
<form method="POST" action="/upload_file/" enctype=multipart/form-data>
|
||||
<table>
|
||||
<tr ><td><input type="file" id="file1" name="file1" onchange='table.insertRow(0).insertCell(0).innerHTML = "NEW CELL1"'></td></tr>
|
||||
<table id="table">
|
||||
<tr><td><input type="file" id="file1" name="file1" onchange='addline(0)'></td></tr>
|
||||
<tr><td><input type="submit" name="settings" id="submit" value="send file" class="button"/></td></tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<script>
|
||||
//
|
||||
</script>
|
||||
|
||||
{% endif %}
|
||||
{%endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user