Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
d5f6fdb3
Commit
d5f6fdb3
authored
Apr 26, 2024
by
w-e-w
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compact-checkbox-group
parent
e85e327a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
modules/ui_extensions.py
modules/ui_extensions.py
+4
-4
style.css
style.css
+4
-0
No files found.
modules/ui_extensions.py
View file @
d5f6fdb3
...
@@ -604,12 +604,12 @@ def create_ui():
...
@@ -604,12 +604,12 @@ def create_ui():
install_extension_button
=
gr
.
Button
(
elem_id
=
"install_extension_button"
,
visible
=
False
)
install_extension_button
=
gr
.
Button
(
elem_id
=
"install_extension_button"
,
visible
=
False
)
with
gr
.
Row
():
with
gr
.
Row
():
selected_tags
=
gr
.
CheckboxGroup
(
value
=
[
"ads"
,
"localization"
,
"installed"
],
label
=
"Extension tags"
,
choices
=
[
"script"
,
"ads"
,
"localization"
,
"installed"
])
selected_tags
=
gr
.
CheckboxGroup
(
value
=
[
"ads"
,
"localization"
,
"installed"
],
label
=
"Extension tags"
,
choices
=
[
"script"
,
"ads"
,
"localization"
,
"installed"
]
,
elem_classes
=
[
'compact-checkbox-group'
]
)
sort_column
=
gr
.
Radio
(
value
=
"newest first"
,
label
=
"Order"
,
choices
=
[
"newest first"
,
"oldest first"
,
"a-z"
,
"z-a"
,
"internal order"
,
'update time'
,
'create time'
,
"stars"
],
type
=
"index"
)
sort_column
=
gr
.
Radio
(
value
=
"newest first"
,
label
=
"Order"
,
choices
=
[
"newest first"
,
"oldest first"
,
"a-z"
,
"z-a"
,
"internal order"
,
'update time'
,
'create time'
,
"stars"
],
type
=
"index"
,
elem_classes
=
[
'compact-checkbox-group'
]
)
with
gr
.
Row
():
with
gr
.
Row
():
showing_type
=
gr
.
Radio
(
value
=
"hide"
,
label
=
"Showing type"
,
choices
=
[
"hide"
,
"show"
])
showing_type
=
gr
.
Radio
(
value
=
"hide"
,
label
=
"Showing type"
,
choices
=
[
"hide"
,
"show"
]
,
elem_classes
=
[
'compact-checkbox-group'
]
)
filtering_type
=
gr
.
Radio
(
value
=
"or"
,
label
=
"Filtering type"
,
choices
=
[
"or"
,
"and"
])
filtering_type
=
gr
.
Radio
(
value
=
"or"
,
label
=
"Filtering type"
,
choices
=
[
"or"
,
"and"
]
,
elem_classes
=
[
'compact-checkbox-group'
]
)
with
gr
.
Row
():
with
gr
.
Row
():
search_extensions_text
=
gr
.
Text
(
label
=
"Search"
,
container
=
False
)
search_extensions_text
=
gr
.
Text
(
label
=
"Search"
,
container
=
False
)
...
...
style.css
View file @
d5f6fdb3
...
@@ -854,6 +854,10 @@ table.popup-table .link{
...
@@ -854,6 +854,10 @@ table.popup-table .link{
display
:
inline-block
;
display
:
inline-block
;
}
}
.compact-checkbox-group
div
label
{
padding
:
0.1em
0.3em
!important
;
}
/* extensions tab table row hover highlight */
/* extensions tab table row hover highlight */
#extensions
tr
:hover
td
,
#extensions
tr
:hover
td
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment