BUGFIX: Fixed Web UI torrent upload form

This commit is contained in:
Christophe Dumez
2009-03-12 13:26:12 +00:00
parent 16832d52c0
commit 2dd376a5b1
4 changed files with 19 additions and 7 deletions

View File

@@ -1,3 +1,6 @@
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.3.3
- BUGFIX: Fixed Web UI torrent upload form
* Sat Mar 7 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.3.2 * Sat Mar 7 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.3.2
- BUGFIX: Fix top toolbar disabling - BUGFIX: Fix top toolbar disabling
- BUGFIX: Fix building with Qt 4.5 - BUGFIX: Fix building with Qt 4.5

View File

@@ -3,6 +3,7 @@
<file>webui/index.html</file> <file>webui/index.html</file>
<file>webui/download.html</file> <file>webui/download.html</file>
<file>webui/upload.html</file> <file>webui/upload.html</file>
<file>webui/uploadframe.html</file>
<file>webui/about.html</file> <file>webui/about.html</file>
<file>webui/css/mocha.css</file> <file>webui/css/mocha.css</file>
<file>webui/css/dynamicTable.css</file> <file>webui/css/dynamicTable.css</file>

View File

@@ -23,7 +23,7 @@
<div id="desktop"> <div id="desktop">
<div id="desktopHeader"> <div id="desktopHeader">
<div id="desktopTitlebar"> <div id="desktopTitlebar">
<h1 class="applicationTitle">qBittorrent Web User Interface <span class="version">version 1.3</span></h1> <h1 class="applicationTitle">qBittorrent Web User Interface <span class="version">version 1.3.1</span></h1>
</div> </div>
<div id="desktopNavbar"> <div id="desktopNavbar">
<ul> <ul>

View File

@@ -7,15 +7,23 @@
<link rel="stylesheet" href="css/mocha.css" type="text/css" /> <link rel="stylesheet" href="css/mocha.css" type="text/css" />
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script> <script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
<!-- <script type="text/javascript" src="scripts/upload.js" charset="utf-8"></script> --> <!-- <script type="text/javascript" src="scripts/upload.js" charset="utf-8"></script> -->
<script type="text/javascript">
function showSuccess() {
$('myiframe').addClass('invisible');
$('successMessage').removeClass('invisible');
}
</script>
</head> </head>
<body> <body>
<center> <center>
<h1 class="vcenter"><img class="vcenter" title="Download local torrent" src="images/skin/open.png"/>Download local torrent</h1> <h1 class="vcenter"><img class="vcenter" title="Download local torrent" src="images/skin/open.png"/>Download local torrent</h1>
<form action="/command/upload" enctype="multipart/form-data" method="post" name="uploadForm"> <span style="padding: 10px;" class="invisible" id="successMessage">
<br/><br/>
<input type="file" name="torrentfile" id="torrentfile" size="40"/><p>Point to torrent file</p><!--<input type="submit" value="Download"/> --> Torrent files were correctly uploaded.
<a id="upButton" onclick="document.uploadForm.submit();window.parent.document.getElementById('uploadPage').parentNode.removeChild(window.parent.document.getElementById('uploadPage'));">Download</a> </span>
</form> <iframe src="uploadframe.html" width="100%" frameborder="0" style="padding: 10px;" id="myiframe">
</center> <p>Your Web browser does not support iframes</p>
</iframe>
</center>
</body> </body>
</html> </html>