Skip to content

Self-hosted AI workspace.

Python

Settings/Add Models: fuse Local Type select + URL input into one bordered group

pewdiepie-archdaemon0661be92ef6a
diff --git a/static/index.html b/static/index.html
index 56bdea119..b4b98a8d2 100644
--- a/static/index.html
+++ b/static/index.html
@@ -2010,11 +2010,13 @@
<div class="adm-add-section">
<div class="admin-model-form">
<div class="admin-model-form-row">
- <select id="adm-epLocalType" style="padding:5px;width:57px;flex-shrink:0;">
- <option value="llm" selected>LLM</option>
- <option value="image">Image</option>
- </select>
- <input id="adm-epLocalUrl" type="text" placeholder="Paste endpoint URL, e.g. http://localhost:11434/v1" style="flex:1">
+ <div class="adm-fused-group" style="display:flex;flex:1 1 180px;min-width:0;">
+ <select id="adm-epLocalType" style="padding:5px;width:57px;flex-shrink:0;border-top-right-radius:0;border-bottom-right-radius:0;border-right:0;">
+ <option value="llm" selected>LLM</option>
+ <option value="image">Image</option>
+ </select>
+ <input id="adm-epLocalUrl" type="text" placeholder="Paste endpoint URL, e.g. http://localhost:11434/v1" style="flex:1;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0;">
+ </div>
<button class="admin-btn-add" id="adm-epLocalAddBtn" style="min-width:55px;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>Add
</button>