diff --git a/public/css/promptmanager.css b/public/css/promptmanager.css index 8ca03f27d..ee6c27135 100644 --- a/public/css/promptmanager.css +++ b/public/css/promptmanager.css @@ -29,14 +29,10 @@ display: inline !important; } -#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_marker .fa-thumb-tack { +#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt .completion_prompt_manager_prompt_name .fa-solid { padding: 0 0.5em; color: var(--white50a); } -#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_name .fa-globe { - padding: 0 0.4em; - color: var(--white50a); -} #completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_invisible { display: none; diff --git a/public/scripts/PromptManager.js b/public/scripts/PromptManager.js index 1dc6022bc..213749797 100644 --- a/public/scripts/PromptManager.js +++ b/public/scripts/PromptManager.js @@ -703,7 +703,7 @@ PromptManagerModule.prototype.isPromptEditAllowed = function (prompt) { * @returns {boolean} True if the prompt can be deleted, false otherwise. */ PromptManagerModule.prototype.isPromptToggleAllowed = function (prompt) { - return !this.configuration.toggleDisabled.includes(prompt.identifier); + return prompt.marker ? false : !this.configuration.toggleDisabled.includes(prompt.identifier); } /** @@ -1249,23 +1249,18 @@ PromptManagerModule.prototype.renderPromptManagerListItems = function () { ${prompt.marker ? '' : ''} ${!prompt.marker && prompt.system_prompt ? '' : ''} + ${!prompt.marker && !prompt.system_prompt ? '' : ''} ${prompt.name} - ${prompt.marker - ? ` - - - ${inspectSpanHtml} - - ` - : ` + ${detachSpanHtml} ${editSpanHtml} + ${inspectSpanHtml} ${toggleSpanHtml} - - `} + + ${calculatedTokens} `;