Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
S
Stable Diffusion Webui
管理
动态
成员
Automate
Agent sessions
代码
仓库
分支
提交
标签
仓库图
比较修订版本
部署
模型注册表
分析
模型实验
新增功能
4
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
GitLab 社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
代码片段
群组
项目
显示更多面包屑
Hunter0726
Stable Diffusion Webui
提交
afea99a7
提交
afea99a7
编辑于
2023年8月30日
作者:
AUTOMATIC1111
浏览文件
操作
下载
补丁
差异文件
get progressbar to display correctly in extensions tab
上级
965c7289
未找到相关分支
未找到相关标签
无相关合并请求
变更
3
显示空白变更内容
行内
左右并排
显示
3 个更改的文件
javascript/extensions.js
+1
-1
1 个添加, 1 个删除
javascript/extensions.js
modules/ui_extensions.py
+6
-2
6 个添加, 2 个删除
modules/ui_extensions.py
style.css
+5
-0
5 个添加, 0 个删除
style.css
有
12 个添加
和
3 个删除
javascript/extensions.js
+
1
−
1
浏览文件 @
afea99a7
...
@@ -33,7 +33,7 @@ function extensions_check() {
...
@@ -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
()
{
});
});
...
...
此差异已折叠。
点击以展开。
modules/ui_extensions.py
+
6
−
2
浏览文件 @
afea99a7
...
@@ -557,8 +557,12 @@ def create_ui():
...
@@ -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>
'
with
gr
.
Row
():
info
=
gr
.
HTML
(
html
)
info
=
gr
.
HTML
(
html
)
extensions_table
=
gr
.
HTML
(
'
Loading...
'
)
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
(
...
...
此差异已折叠。
点击以展开。
style.css
+
5
−
0
浏览文件 @
afea99a7
...
@@ -517,6 +517,11 @@ table.popup-table .link{
...
@@ -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
{
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录