Browse Source

WebUI: change order of accepted types of file input

PR #18286.
adaptive-webui-19844
Jason Carr 2 years ago committed by GitHub
parent
commit
71f4a5667c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/www/private/upload.html

2
src/webui/www/private/upload.html

@ -14,7 +14,7 @@
<iframe id="upload_frame" name="upload_frame" class="invisible" src="about:blank"></iframe> <iframe id="upload_frame" name="upload_frame" class="invisible" src="about:blank"></iframe>
<form action="api/v2/torrents/add" enctype="multipart/form-data" method="post" id="uploadForm" style="text-align: center;" target="upload_frame" autocorrect="off" autocapitalize="none"> <form action="api/v2/torrents/add" enctype="multipart/form-data" method="post" id="uploadForm" style="text-align: center;" target="upload_frame" autocorrect="off" autocapitalize="none">
<div style="margin-top: 25px; display: inline-block; border: 1px solid lightgrey; border-radius: 4px;"> <div style="margin-top: 25px; display: inline-block; border: 1px solid lightgrey; border-radius: 4px;">
<input type="file" id="fileselect" accept="application/x-bittorrent, .torrent" name="fileselect[]" multiple /> <input type="file" id="fileselect" accept=".torrent, application/x-bittorrent" name="fileselect[]" multiple />
</div> </div>
<fieldset class="settings" style="border: 0; text-align: left; margin-top: 12px;"> <fieldset class="settings" style="border: 0; text-align: left; margin-top: 12px;">
<table style="margin: auto;"> <table style="margin: auto;">

Loading…
Cancel
Save