Skip to content

Commit 28c3df5

Browse files
committed
move settings div
1 parent 5099a62 commit 28c3df5

File tree

1 file changed

+70
-70
lines changed

1 file changed

+70
-70
lines changed

popup.html

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,76 @@ <h2>Button Configuration</h2>
183183
</div>
184184
</section>
185185

186+
<!-- ===== Settings ===== -->
187+
<section class="section">
188+
<h2>Settings</h2>
189+
<div class="row">
190+
<label
191+
class="checkbox-row"
192+
for="autoSendToggle"
193+
title="Global setting for this profile. If unchecked, no buttons will auto-send, overriding individual button settings."
194+
>
195+
<input type="checkbox" id="autoSendToggle" />
196+
<span
197+
>Enable Global Auto-send for profile. Disabling will disable
198+
auto-send everywhere.</span
199+
>
200+
</label>
201+
</div>
202+
<div class="row">
203+
<label
204+
class="checkbox-row"
205+
for="shortcutsToggle"
206+
title="Enable or disable keyboard shortcuts (Alt+1 through Alt+0) for the first 10 buttons in this profile, so you can press keyboard instead of clicking them. If disabled, you can still click buttons with mouse."
207+
>
208+
<input type="checkbox" id="shortcutsToggle" />
209+
<span>Enable Keyboard Shortcuts</span>
210+
</label>
211+
</div>
212+
<div class="row">
213+
<button
214+
id="revertDefault"
215+
class="danger"
216+
title="Reset all buttons and settings in the current profile back to the extension's defaults."
217+
>
218+
Revert Current Profile to Default
219+
</button>
220+
</div>
221+
<!-- Floating Window Settings -->
222+
<div class="collapsible" id="floatingWindowSettingsSection">
223+
<div class="section-header">
224+
<h2>
225+
Floating Window Settings
226+
<span class="expand-text">(click to expand)</span>
227+
</h2>
228+
<span class="toggle-icon"></span>
229+
</div>
230+
<div class="section-content">
231+
<div class="text-inside-container">
232+
<p>
233+
Reset the position, size, and visibility of the floating panel.
234+
This can fix issues if the panel becomes stuck or invisible.
235+
</p>
236+
</div>
237+
<div id="floatingWindowSitesList" class="floating-sites-list">
238+
<!-- Site-specific reset buttons will be added here dynamically -->
239+
<p class="empty-message" style="display: none">
240+
No saved settings found for any website.
241+
</p>
242+
</div>
243+
<div class="row" style="margin-top: 16px">
244+
<button
245+
id="resetAllFloatingWindowSettings"
246+
class="danger"
247+
title="Reset floating window settings for ALL websites."
248+
>
249+
Reset settings for all websites
250+
</button>
251+
</div>
252+
</div>
253+
</div>
254+
</section>
255+
186256
<!-- ===== Modules Section ===== -->
187257
<!-- This is a top-level collapsible container. The .collapsible class enables the expand/collapse behavior via popup-page-collapsible.js -->
188258
<section class="section collapsible" id="modulesSection">
@@ -433,76 +503,6 @@ <h2>Help</h2>
433503
</div>
434504
</section>
435505

436-
<!-- Settings -->
437-
<section class="section">
438-
<h2>Settings</h2>
439-
<div class="row">
440-
<label
441-
class="checkbox-row"
442-
for="autoSendToggle"
443-
title="Global setting for this profile. If unchecked, no buttons will auto-send, overriding individual button settings."
444-
>
445-
<input type="checkbox" id="autoSendToggle" />
446-
<span
447-
>Enable Global Auto-send for profile. Disabling will disable
448-
auto-send everywhere.</span
449-
>
450-
</label>
451-
</div>
452-
<div class="row">
453-
<label
454-
class="checkbox-row"
455-
for="shortcutsToggle"
456-
title="Enable or disable keyboard shortcuts (Alt+1 through Alt+0) for the first 10 buttons in this profile, so you can press keyboard instead of clicking them. If disabled, you can still click buttons with mouse."
457-
>
458-
<input type="checkbox" id="shortcutsToggle" />
459-
<span>Enable Keyboard Shortcuts</span>
460-
</label>
461-
</div>
462-
<div class="row">
463-
<button
464-
id="revertDefault"
465-
class="danger"
466-
title="Reset all buttons and settings in the current profile back to the extension's defaults."
467-
>
468-
Revert Current Profile to Default
469-
</button>
470-
</div>
471-
<!-- Floating Window Settings -->
472-
<div class="collapsible" id="floatingWindowSettingsSection">
473-
<div class="section-header">
474-
<h2>
475-
Floating Window Settings
476-
<span class="expand-text">(click to expand)</span>
477-
</h2>
478-
<span class="toggle-icon"></span>
479-
</div>
480-
<div class="section-content">
481-
<div class="text-inside-container">
482-
<p>
483-
Reset the position, size, and visibility of the floating panel.
484-
This can fix issues if the panel becomes stuck or invisible.
485-
</p>
486-
</div>
487-
<div id="floatingWindowSitesList" class="floating-sites-list">
488-
<!-- Site-specific reset buttons will be added here dynamically -->
489-
<p class="empty-message" style="display: none">
490-
No saved settings found for any website.
491-
</p>
492-
</div>
493-
<div class="row" style="margin-top: 16px">
494-
<button
495-
id="resetAllFloatingWindowSettings"
496-
class="danger"
497-
title="Reset floating window settings for ALL websites."
498-
>
499-
Reset settings for all websites
500-
</button>
501-
</div>
502-
</div>
503-
</div>
504-
</section>
505-
506506
<!-- Console -->
507507
<section class="section">
508508
<h2>Console</h2>

0 commit comments

Comments
 (0)