Added environment manager and updated UI

This commit is contained in:
2026-06-24 19:23:50 +02:00
parent 594834908c
commit 0614ae82f5
7 changed files with 783 additions and 98 deletions
+22 -1
View File
@@ -28,7 +28,6 @@
<div class="search-wrap">
<svg viewBox="0 0 20 20" fill="none" class="search-ico"><circle cx="9" cy="9" r="6" stroke="currentColor" stroke-width="1.8" /><path d="M17 17L13.5 13.5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" /></svg>
<input id="searchInput" type="text" placeholder="Search endpoints, methods, paths…" autocomplete="off" spellcheck="false" />
<kbd class="search-kbd">/</kbd>
</div>
</div>
<div class="topbar-right">
@@ -41,6 +40,28 @@
<span>Auth</span>
<span class="auth-dot" id="authBadgeDot" style="display:none"></span>
</button>
<button id="envBtn" class="tb-btn" title="Environments">
<svg viewBox="0 0 20 20" fill="none">
<rect x="2.5" y="3" width="5" height="4" rx="1"
stroke="currentColor" stroke-width="1.8" />
<rect x="12.5" y="3" width="5" height="4" rx="1"
stroke="currentColor" stroke-width="1.8" />
<rect x="7.5" y="13" width="5" height="4" rx="1"
stroke="currentColor" stroke-width="1.8" />
<path d="M5 7v2.5h10V7"
stroke="currentColor"
stroke-width="1.8"
stroke-linecap="round"
stroke-linejoin="round" />
<path d="M10 9.5v3.5"
stroke="currentColor"
stroke-width="1.8"
stroke-linecap="round" />
</svg>
<span>Environments</span>
</button>
<button id="consoleBtn" class="tb-btn" title="Console">
<svg viewBox="0 0 20 20" fill="none"><rect x="2" y="3" width="16" height="14" rx="2" stroke="currentColor" stroke-width="1.8" /><path d="M6 8l4 4-4 4M12 16h4" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" /></svg>
<span>Console</span>