- Fix repair bugs
- Minor html/js bugs from new template - Other minor issues
This commit is contained in:
@@ -350,6 +350,7 @@
|
||||
<script>
|
||||
// Tab Navigation Handler
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
window.configManager = new ConfigManager();
|
||||
|
||||
const tabButtons = document.querySelectorAll('.tab-button');
|
||||
const tabContents = document.querySelectorAll('.tab-content');
|
||||
|
||||
@@ -138,4 +138,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
let downloadFolder = "{{ .DownloadFolder }}" || '';
|
||||
window.downloadManager = new DownloadManager(downloadFolder);
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
||||
@@ -134,4 +134,10 @@
|
||||
<i class="bi bi-trash"></i>Delete Torrent
|
||||
</a></li>
|
||||
</ul>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
window.dashboard = new TorrentDashboard();
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
||||
@@ -17,7 +17,7 @@
|
||||
<i class="bi bi-collection mr-2 text-secondary"></i>Arr Instance
|
||||
</span>
|
||||
</label>
|
||||
<select class="select select-bordered" id="arrSelect" required>
|
||||
<select class="select select-bordered" id="arrSelect">
|
||||
<option value="">Select an Arr instance</option>
|
||||
</select>
|
||||
<div class="label">
|
||||
@@ -171,14 +171,6 @@
|
||||
<h3 class="font-bold text-2xl">
|
||||
<i class="bi bi-info-circle mr-2 text-primary"></i>Job Details
|
||||
</h3>
|
||||
<div class="flex gap-2">
|
||||
<button type="button" class="btn btn-primary btn-sm hidden" id="processJobBtn">
|
||||
<i class="bi bi-play-fill mr-1"></i>Process
|
||||
</button>
|
||||
<button type="button" class="btn btn-warning btn-sm hidden" id="stopJobBtn">
|
||||
<i class="bi bi-stop-fill mr-1"></i>Stop
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="space-y-6">
|
||||
@@ -322,7 +314,21 @@
|
||||
<div class="flex-1">
|
||||
<small class="text-base-content/60" id="modalFooterStats">-</small>
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
<button type="button" class="btn btn-primary btn-sm hidden" id="processJobBtn">
|
||||
<i class="bi bi-play-fill mr-1"></i>Process
|
||||
</button>
|
||||
<button type="button" class="btn btn-warning btn-sm hidden" id="stopJobBtn">
|
||||
<i class="bi bi-stop-fill mr-1"></i>Stop
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</dialog>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
window.repairManager = new RepairManager();
|
||||
window.RepairUtils = RepairUtils;
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user