Browse Source

WebUI: Make rename file dialog resizable

PR #18154.
adaptive-webui-19844
Torsten Schwarz 2 years ago committed by GitHub
parent
commit
2109c4e1ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/www/private/rename_file.html
  2. 4
      src/webui/www/private/scripts/prop-files.js

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

@ -85,7 +85,7 @@ @@ -85,7 +85,7 @@
<body>
<div style="padding: 10px 10px 0px 10px;">
<p style="font-weight: bold;">QBT_TR(New name:)QBT_TR[CONTEXT=TorrentContentTreeView]</p>
<input type="text" id="rename" style="width: 220px;" />
<input type="text" id="rename" style="width: 99%;" />
<div style="text-align: center; padding-top: 10px;">
<input type="button" value="QBT_TR(Save)QBT_TR[CONTEXT=HttpServer]" id="renameButton" />
</div>

4
src/webui/www/private/scripts/prop-files.js

@ -561,11 +561,11 @@ window.qBittorrent.PropFiles = (function() { @@ -561,11 +561,11 @@ window.qBittorrent.PropFiles = (function() {
contentURL: 'rename_file.html?hash=' + hash + '&isFolder=' + node.isFolder
+ '&path=' + encodeURIComponent(path),
scrollbars: false,
resizable: false,
resizable: true,
maximizable: false,
paddingVertical: 0,
paddingHorizontal: 0,
width: 250,
width: 400,
height: 100
});
},

Loading…
Cancel
Save