mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 17:35:00 -06:00
Apply formatting to Web UI files
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="${LANG}">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>QBT_TR(Deletion confirmation - qBittorrent)QBT_TR[CONTEXT=confirmDeletionDlg]</title>
|
||||
@@ -8,13 +9,13 @@
|
||||
<script src="scripts/lib/mootools-1.2-more.js"></script>
|
||||
<script>
|
||||
var hashes = new URI().getData('hashes').split('|');
|
||||
window.addEvent('domready', function(){
|
||||
window.addEvent('domready', function() {
|
||||
$('cancelBtn').focus();
|
||||
$('cancelBtn').addEvent('click', function(e){
|
||||
$('cancelBtn').addEvent('click', function(e) {
|
||||
new Event(e).stop();
|
||||
window.parent.closeWindows();
|
||||
});
|
||||
$('confirmBtn').addEvent('click', function(e){
|
||||
$('confirmBtn').addEvent('click', function(e) {
|
||||
parent.torrentsTable.deselectAll();
|
||||
new Event(e).stop();
|
||||
var cmd = 'api/v2/torrents/delete';
|
||||
@@ -34,13 +35,15 @@
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<br/>
|
||||
|
||||
<p> QBT_TR(Are you sure you want to delete the selected torrents from the transfer list?)QBT_TR[CONTEXT=HttpServer]</p>
|
||||
<input type="checkbox" id="deleteFromDiskCB"/> <label for="deleteFromDiskCB"><i>QBT_TR(Also delete the files on the hard disk)QBT_TR[CONTEXT=confirmDeletionDlg]</i></label><br/><br/>
|
||||
<div style="text-align: right;">
|
||||
<input type="button" id="cancelBtn" value="QBT_TR(No)QBT_TR[CONTEXT=MainWindow]" /> <input type="button" id="confirmBtn" value="QBT_TR(Yes)QBT_TR[CONTEXT=MainWindow]"/>
|
||||
</div>
|
||||
<body>
|
||||
<br/>
|
||||
|
||||
<p> QBT_TR(Are you sure you want to delete the selected torrents from the transfer list?)QBT_TR[CONTEXT=HttpServer]</p>
|
||||
<input type="checkbox" id="deleteFromDiskCB" /> <label for="deleteFromDiskCB"><i>QBT_TR(Also delete the files on the hard disk)QBT_TR[CONTEXT=confirmDeletionDlg]</i></label><br/><br/>
|
||||
<div style="text-align: right;">
|
||||
<input type="button" id="cancelBtn" value="QBT_TR(No)QBT_TR[CONTEXT=MainWindow]" /> <input type="button" id="confirmBtn" value="QBT_TR(Yes)QBT_TR[CONTEXT=MainWindow]" />
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user