-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
118 lines (100 loc) · 4.72 KB
/
index.html
File metadata and controls
118 lines (100 loc) · 4.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Saturno Web Editor</title>
<link rel="icon" href="assets/Favicon1.ico" type="image/x-icon">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="pedalStyles.css">
<script>
if (location.protocol === 'http:') {
location.replace(`https://${location.host}${location.pathname}${location.search}`);
}
window.onload = () => {
window.scrollTo(0, 0); // Garante que a página seja rolada para o topo
setupDragAndDrop();
};
</script>
<script src="bossa-web.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
<header class="header">
<nav class="nav-bar">
<a href="https://saturnopedais.com.br/" target="_blank" rel="noopener noreferrer">
<img src="assets/Logo.png" alt="Logo Saturno" class="logo">
</a>
<p id="editor-title">Saturno Web Editor</p>
</nav>
</header>
<img src="assets/Fundo.png" alt="Fundo Saturno" class="fundo">
<div class="container">
<div id="loading-overlay">
<div class="spinner"></div>
</div>
<aside class="sidebar" id="sidebar">
</aside>
<main class="main-content" id="mainContent">
<section class="patch-title" id="patchTitle">
<p class="selected-patch" id="selectedPatch"></p>
<p class="patch-type" id="patchType"></p>
</section>
<div class="table-container">
<section class="table-section" id="table-1">
<p class="table-title">Loop Selector</p>
<div class="table" id="loop-table"></div>
</section>
<section class="table-section" id="table-3">
<p class="table-title">Remote Switch</p>
<div class="table" id="remote-table"></div>
</section>
</div>
<div class="table-container">
<section class="table-section" id="table-2">
<p class="table-title">Advanced MIDI</p>
<div class="table" id="midi-table"></div>
</section>
<section class="table-section" id="table-4">
<p class="table-title">MIDI Over USB</p>
<div class="table" id="midi-table-2"></div>
</section>
</div>
<div class="table-container">
<section class="table-section" id="table-5">
<p class="table-title">MIDI Over Air</p>
<div class="table" id="midi-table-3"></div>
</section>
</div>
<div class="table-section" id="table-6">
<div class="buttons-container">
<button class="system-button" id="saveButton" onclick="saveChanges(this)">Save</button>
<button class="system-button" id="cancelButton" onclick="cancelChanges(this)">Cancel</button>
</div>
</div>
<div class="extraScroll" id="extraScroll">
<p></p>
</div>
</main>
<aside class="sidebar2" id="sidebar2">
<button class="system-button" id="connectButton" onclick="toggleConnection(this)">Connect</button>
<div id="manager">
<div id="dropzone">
<ul id="file-list"></ul>
<p id="dropzone-text">Arraste e solte um arquivo aqui</p>
<button id="file-select-button" class="system-button">Import File</button>
<label for="file-input" class="sr-only">Select File</label>
<input type="file" id="file-input" accept=".json,.stnpreset" multiple>
</div>
<div class="buttons-container" id="managerButtons">
<button class="system-button" id="savePresetButton" onclick="savePreset()">Generate Preset File</button>
<button class="system-button" id="backupButton" onclick="generateBackup()">Generate Backup File</button>
</div>
<button class="system-button" id="updateButton" onclick="updateDevice()">Check for updates</button>
</div>
</aside>
</div>
<script src="script.js"></script>
</body>
</html>