1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00
qBittorrent/src/webui/uploadframe.html

29 lines
1.2 KiB
HTML
Raw Normal View History

2009-03-14 15:22:40 +00:00
<!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>
2009-03-14 15:22:40 +00:00
<link rel="stylesheet" href="css/style.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/upload.js" charset="utf-8"></script> -->
<script type="text/javascript">
function submitForm(form) {
if($('torrentfile').get('value').length == 0) {
alert("Form cannot be left empty");
return false;
}
document.uploadForm.submit();
window.parent.showSuccess();
}
</script>
</head>
<body>
<form action="/command/upload" enctype="multipart/form-data" method="post" name="uploadForm">
<input type="file" name="torrentfile" id="torrentfile" size="40"/><p>_(Point to torrent file)</p><!--<input type="submit" value="Download"/> -->
<a id="upButton" onclick="javascript:submitForm();">_(Download)</a>
2009-03-14 15:22:40 +00:00
</form>
</body>
</html>