remove section labels from settings panel for cleaner UI
This commit is contained in:
parent
0c6277536c
commit
2284c4e7cb
1 changed files with 0 additions and 20 deletions
|
|
@ -256,9 +256,6 @@ async function openUncloseaiEmbeddedModalNew() {
|
|||
const modelSection = document.createElement("div");
|
||||
modelSection.className = "uncloseai-section";
|
||||
|
||||
const modelLabel = document.createElement("label");
|
||||
modelLabel.textContent = getUIText("modelLabel");
|
||||
modelLabel.className = "uncloseai-label";
|
||||
|
||||
const modelSelect = document.createElement("select");
|
||||
modelSelect.className = "uncloseai-modal-select";
|
||||
|
|
@ -340,16 +337,12 @@ async function openUncloseaiEmbeddedModalNew() {
|
|||
}
|
||||
};
|
||||
|
||||
modelSection.appendChild(modelLabel);
|
||||
modelSection.appendChild(modelSelect);
|
||||
|
||||
// Voice selection for TTS
|
||||
const voiceSection = document.createElement("div");
|
||||
voiceSection.className = "uncloseai-section";
|
||||
|
||||
const voiceLabel = document.createElement("label");
|
||||
voiceLabel.textContent = getUIText("voiceLabel");
|
||||
voiceLabel.className = "uncloseai-label";
|
||||
|
||||
const voiceSelect = document.createElement("select");
|
||||
voiceSelect.id = "hermes-voice-select";
|
||||
|
|
@ -374,16 +367,12 @@ async function openUncloseaiEmbeddedModalNew() {
|
|||
console.log("Voice changed to:", voiceSelect.value);
|
||||
};
|
||||
|
||||
voiceSection.appendChild(voiceLabel);
|
||||
voiceSection.appendChild(voiceSelect);
|
||||
|
||||
// Language preference section
|
||||
const languageSection = document.createElement("div");
|
||||
languageSection.className = "uncloseai-section";
|
||||
|
||||
const languageLabel = document.createElement("label");
|
||||
languageLabel.textContent = getUIText("languageLabel");
|
||||
languageLabel.className = "uncloseai-label";
|
||||
|
||||
// Create language selector
|
||||
const { SUPPORTED_LANGUAGES, NATIVE_LANGUAGE_NAMES } = await import(
|
||||
|
|
@ -428,16 +417,12 @@ async function openUncloseaiEmbeddedModalNew() {
|
|||
}, 100);
|
||||
};
|
||||
|
||||
languageSection.appendChild(languageLabel);
|
||||
languageSection.appendChild(languageSelect);
|
||||
|
||||
// API Configuration section
|
||||
const apiConfigSection = document.createElement("div");
|
||||
apiConfigSection.className = "uncloseai-section";
|
||||
|
||||
const apiConfigLabel = document.createElement("div");
|
||||
apiConfigLabel.textContent = getUIText("apiConfigLabel");
|
||||
apiConfigLabel.className = "uncloseai-label";
|
||||
|
||||
// Toggle for custom API
|
||||
const customAPIToggle = document.createElement("div");
|
||||
|
|
@ -534,7 +519,6 @@ async function openUncloseaiEmbeddedModalNew() {
|
|||
localStorage.setItem("customModelName", modelNameInput.value);
|
||||
};
|
||||
|
||||
apiConfigSection.appendChild(apiConfigLabel);
|
||||
apiConfigSection.appendChild(customAPIToggle);
|
||||
apiConfigSection.appendChild(apiConfigInputs);
|
||||
|
||||
|
|
@ -542,9 +526,6 @@ async function openUncloseaiEmbeddedModalNew() {
|
|||
const actionsSection = document.createElement("div");
|
||||
actionsSection.className = "uncloseai-section";
|
||||
|
||||
const actionsLabel = document.createElement("div");
|
||||
actionsLabel.textContent = getUIText("quickActions");
|
||||
actionsLabel.className = "uncloseai-label";
|
||||
|
||||
const actionsGrid = document.createElement("div");
|
||||
actionsGrid.className = "uncloseai-grid-actions";
|
||||
|
|
@ -580,7 +561,6 @@ async function openUncloseaiEmbeddedModalNew() {
|
|||
actionsGrid.appendChild(btn);
|
||||
});
|
||||
|
||||
actionsSection.appendChild(actionsLabel);
|
||||
actionsSection.appendChild(actionsGrid);
|
||||
|
||||
// Create left and right columns
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue