mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
bugfixes
This commit is contained in:
parent
ddb5d220af
commit
ebc22a52ac
3
.gitignore
vendored
3
.gitignore
vendored
@ -150,3 +150,6 @@ configs/*
|
||||
personalities/*
|
||||
!personalities/gpt4all_chatbot.yaml
|
||||
|
||||
# extensions
|
||||
extensions/
|
||||
!extensions/.keep
|
||||
|
@ -65,12 +65,12 @@ function populate_discussions_list()
|
||||
//renameButton.style.backgroundImage = "/rename_discussion.svg"; //.textContent = 'Rename';
|
||||
renameButton.addEventListener('click', () => {
|
||||
const dialog = document.createElement('dialog');
|
||||
dialog.classList.add('bg-gray-500 text-white', 'rounded', 'p-4');
|
||||
dialog.classList.add('bg-gray-500', 'text-white', 'rounded', 'p-4');
|
||||
|
||||
const inputLabel = document.createElement('label');
|
||||
inputLabel.textContent = 'New name: ';
|
||||
const inputField = document.createElement('input');
|
||||
inputField.classList.add('border', 'border-gray-400', 'rounded', 'py-1', 'px-2');
|
||||
inputField.classList.add('border', "px-2", "mx-2", 'bg-gray-800', 'border-gray-400', 'rounded', 'py-1', 'px-2');
|
||||
inputField.setAttribute('type', 'text');
|
||||
inputField.setAttribute('name', 'title');
|
||||
inputField.setAttribute('value', discussion.title);
|
||||
|
Loading…
Reference in New Issue
Block a user