mirror of
https://github.com/vladmandic/automatic
synced 2026-08-26 23:20:59 +02:00
update main ui
This commit is contained in:
@@ -191,17 +191,15 @@ function setupExtraNetworksForTab(tabname) {
|
||||
const btnRefresh = gradioApp().getElementById(`${tabname}_extra_refresh`);
|
||||
const btnScan = gradioApp().getElementById(`${tabname}_extra_scan`);
|
||||
const btnSave = gradioApp().getElementById(`${tabname}_extra_save`);
|
||||
const btnApply = gradioApp().getElementById(`${tabname}_extra_apply`);
|
||||
const btnClose = gradioApp().getElementById(`${tabname}_extra_close`);
|
||||
txtSearch.classList.add('search');
|
||||
txtDescription.classList.add('description');
|
||||
const buttons = document.createElement('span');
|
||||
buttons.classList.add('buttons');
|
||||
buttons.appendChild(btnRefresh);
|
||||
buttons.appendChild(btnScan);
|
||||
buttons.appendChild(btnSave);
|
||||
buttons.appendChild(btnApply);
|
||||
buttons.appendChild(btnClose);
|
||||
if (btnRefresh) buttons.appendChild(btnRefresh);
|
||||
if (btnScan) buttons.appendChild(btnScan);
|
||||
if (btnSave) buttons.appendChild(btnSave);
|
||||
if (btnClose) buttons.appendChild(btnClose);
|
||||
tabs.appendChild(buttons);
|
||||
const div = document.createElement('div');
|
||||
div.classList.add('second-line');
|
||||
|
||||
Reference in New Issue
Block a user