mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
get progressbar to display correctly in extensions tab
This commit is contained in:
parent
965c728914
commit
afea99a72b
@ -33,7 +33,7 @@ function extensions_check() {
|
|||||||
|
|
||||||
|
|
||||||
var id = randomId();
|
var id = randomId();
|
||||||
requestProgress(id, gradioApp().getElementById('extensions_installed_top'), null, function() {
|
requestProgress(id, gradioApp().getElementById('extensions_installed_html'), null, function() {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -557,8 +557,12 @@ def create_ui():
|
|||||||
msg = '"--disable-extra-extensions" was used, remove it to load all extensions again'
|
msg = '"--disable-extra-extensions" was used, remove it to load all extensions again'
|
||||||
html = f'<span style="color: var(--primary-400);">{msg}</span>'
|
html = f'<span style="color: var(--primary-400);">{msg}</span>'
|
||||||
|
|
||||||
info = gr.HTML(html)
|
with gr.Row():
|
||||||
extensions_table = gr.HTML('Loading...')
|
info = gr.HTML(html)
|
||||||
|
|
||||||
|
with gr.Row(elem_classes="progress-container"):
|
||||||
|
extensions_table = gr.HTML('Loading...', elem_id="extensions_installed_html")
|
||||||
|
|
||||||
ui.load(fn=extension_table, inputs=[], outputs=[extensions_table])
|
ui.load(fn=extension_table, inputs=[], outputs=[extensions_table])
|
||||||
|
|
||||||
apply.click(
|
apply.click(
|
||||||
|
@ -517,6 +517,11 @@ table.popup-table .link{
|
|||||||
background: #b4c0cc;
|
background: #b4c0cc;
|
||||||
border-radius: 3px !important;
|
border-radius: 3px !important;
|
||||||
top: -20px;
|
top: -20px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-container{
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
[id$=_results].mobile{
|
[id$=_results].mobile{
|
||||||
|
Loading…
Reference in New Issue
Block a user