mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 08:19:30 +08:00
Web UI: cosmetic improvements to torrent upload dialog
This commit is contained in:
parent
5a68bc5801
commit
8f22279428
@ -13,11 +13,13 @@ function hideAll() {
|
||||
</head>
|
||||
<body>
|
||||
<br/>
|
||||
<iframe id="upload_frame" name="upload_frame" style="width:1px;height:1px;border:0px;" src="javascript:false;"></iframe>
|
||||
<center>
|
||||
<h1 class="vcenter"><img class="vcenter" title="Download local torrent" src="theme/list-add"/>_(Download local torrent)</h1>
|
||||
<iframe src="uploadframe.html" frameborder="0" style="padding: 10px; height: 80px; width: 500px;" id="myiframe">
|
||||
<p>Your Web browser does not support iframes</p>
|
||||
</iframe>
|
||||
<form action="/command/upload" enctype="multipart/form-data" method="post" id="uploadForm" target="upload_frame">
|
||||
<input type="file" name="torrentfile" id="torrentfile" size="40"/><br/><br/>
|
||||
<input type="submit" value="_(Download)" id="upButton"/>
|
||||
</form>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,17 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>_(Download local torrent)</title>
|
||||
<link rel="stylesheet" href="css/style.css" type="text/css" />
|
||||
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<form action="/command/upload" enctype="multipart/form-data" method="post" name="uploadForm">
|
||||
<input type="file" name="torrentfile" id="torrentfile" size="40"/><br/><br/>
|
||||
<input type="submit" value="_(Download)" id="upButton"/>
|
||||
</form>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@ -4,7 +4,6 @@
|
||||
<file>html/download.html</file>
|
||||
<file>html/addtrackers.html</file>
|
||||
<file>html/upload.html</file>
|
||||
<file>html/uploadframe.html</file>
|
||||
<file>html/about.html</file>
|
||||
<file>html/filters.html</file>
|
||||
<file>html/transferlist.html</file>
|
||||
|
Loading…
Reference in New Issue
Block a user