Skip to content

Commit 7b6d8a3

Browse files
committed
MOVE DIVS
1 parent 28c3df5 commit 7b6d8a3

File tree

1 file changed

+55
-53
lines changed

1 file changed

+55
-53
lines changed

popup.html

Lines changed: 55 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,55 @@ <h2>
253253
</div>
254254
</section>
255255

256+
<!-- Backup Section -->
257+
<section class="section" id="backupSection">
258+
<h2>Backup &amp; Restore</h2>
259+
<div class="row">
260+
<button
261+
id="exportProfile"
262+
title="Download the current profile's settings as a JSON backup file. You can then import this file to another computer or restore in case of data loss."
263+
>
264+
Export Profile
265+
</button>
266+
<button
267+
id="importProfile"
268+
title="Import a profile's settings from a JSON backup file."
269+
>
270+
Import Profile
271+
</button>
272+
<!-- Hidden file input for importing profile -->
273+
<input
274+
type="file"
275+
id="importFileInput"
276+
accept="application/json"
277+
style="display: none"
278+
title="Import profile file"
279+
aria-label="Import profile file"
280+
/>
281+
</div>
282+
<!-- Confirmation Div -->
283+
<div id="confirmationDiv" class="confirmation" style="display: none">
284+
<p>
285+
File loaded successfully, but a profile with the same name already
286+
exists in the system. Do you want to overwrite the existing profile?
287+
</p>
288+
<button id="confirmOverwrite">Yes</button>
289+
<button id="cancelOverwrite">No</button>
290+
</div>
291+
<!-- Error Message Div -->
292+
<div id="errorDiv" class="error" style="display: none">
293+
<p>
294+
Error loading file. Please ensure the file is a valid JSON profile.
295+
</p>
296+
</div>
297+
</section>
298+
299+
<!-- Console -->
300+
<section class="section">
301+
<h2>Console</h2>
302+
<div id="console" class="console"></div>
303+
</section>
304+
256305
<!-- ===== Modules Section ===== -->
257306
<!-- This is a top-level collapsible container. The .collapsible class enables the expand/collapse behavior via popup-page-collapsible.js -->
258307
<section class="section collapsible" id="modulesSection">
@@ -436,9 +485,11 @@ <h2>Help</h2>
436485
accordance with the website's Terms of Service.
437486
</li>
438487
<li>
439-
<strong>Cross-Chat Prompt Sharing:</strong> A new module that
440-
lets you copy (adds button 📋) a prompt from one AI chat and paste it (📥) into
441-
another. Just as usual buttons, allows autosend. Does not uses clipboard. A Enable it in the "Modules" section above to get started.
488+
<strong>Cross-Chat Prompt Sharing:</strong> A new module that lets
489+
you copy (adds button 📋) a prompt from one AI chat and paste it
490+
(📥) into another. Just as usual buttons, allows autosend. Does
491+
not uses clipboard. A Enable it in the "Modules" section above to
492+
get started.
442493
</li>
443494
<li>In case of a problem: first step is to reload your browser.</li>
444495
<li>
@@ -503,55 +554,6 @@ <h2>Help</h2>
503554
</div>
504555
</section>
505556

506-
<!-- Console -->
507-
<section class="section">
508-
<h2>Console</h2>
509-
<div id="console" class="console"></div>
510-
</section>
511-
512-
<!-- Backup Section -->
513-
<section class="section" id="backupSection">
514-
<h2>Backup &amp; Restore</h2>
515-
<div class="row">
516-
<button
517-
id="exportProfile"
518-
title="Download the current profile's settings as a JSON backup file. You can then import this file to another computer or restore in case of data loss."
519-
>
520-
Export Profile
521-
</button>
522-
<button
523-
id="importProfile"
524-
title="Import a profile's settings from a JSON backup file."
525-
>
526-
Import Profile
527-
</button>
528-
<!-- Hidden file input for importing profile -->
529-
<input
530-
type="file"
531-
id="importFileInput"
532-
accept="application/json"
533-
style="display: none"
534-
title="Import profile file"
535-
aria-label="Import profile file"
536-
/>
537-
</div>
538-
<!-- Confirmation Div -->
539-
<div id="confirmationDiv" class="confirmation" style="display: none">
540-
<p>
541-
File loaded successfully, but a profile with the same name already
542-
exists in the system. Do you want to overwrite the existing profile?
543-
</p>
544-
<button id="confirmOverwrite">Yes</button>
545-
<button id="cancelOverwrite">No</button>
546-
</div>
547-
<!-- Error Message Div -->
548-
<div id="errorDiv" class="error" style="display: none">
549-
<p>
550-
Error loading file. Please ensure the file is a valid JSON profile.
551-
</p>
552-
</div>
553-
</section>
554-
555557
<!-- ===== Advanced Selector Configuration ===== -->
556558
<section class="section collapsible" id="advancedSection">
557559
<div class="section-header">
@@ -699,4 +701,4 @@ <h2>Theme</h2>
699701
<!-- Cross-Chat Module UI handler script -->
700702
<script src="/modules/popup-page-modules-promptShare.js"></script>
701703
</body>
702-
</html>
704+
</html>

0 commit comments

Comments
 (0)