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
9d3dd64f
Commit
9d3dd64f
authored
Jul 16, 2023
by
AUTOMATIC1111
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor restyling for extra networks
parent
690d56f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/ui_extra_networks.py
modules/ui_extra_networks.py
+2
-1
style.css
style.css
+1
-2
No files found.
modules/ui_extra_networks.py
View file @
9d3dd64f
...
...
@@ -11,6 +11,7 @@ import html
from
fastapi.exceptions
import
HTTPException
from
modules.generation_parameters_copypaste
import
image_from_url_text
from
modules.ui_components
import
ToolButton
extra_pages
=
[]
allowed_dirs
=
set
()
...
...
@@ -377,7 +378,7 @@ def create_ui(container, button, tabname):
gr
.
Textbox
(
''
,
show_label
=
False
,
elem_id
=
tabname
+
"_extra_search"
,
placeholder
=
"Search..."
,
visible
=
False
)
gr
.
Dropdown
(
choices
=
[
'Default Sort'
,
'Date Created'
,
'Date Modified'
,
'Name'
],
value
=
'Default Sort'
,
elem_id
=
tabname
+
"_extra_sort"
,
multiselect
=
False
,
visible
=
False
,
show_label
=
False
,
interactive
=
True
)
gr
.
Button
(
up_down_symbol
,
elem_id
=
tabname
+
"_extra_sortorder"
)
Tool
Button
(
up_down_symbol
,
elem_id
=
tabname
+
"_extra_sortorder"
)
button_refresh
=
gr
.
Button
(
'Refresh'
,
elem_id
=
tabname
+
"_extra_refresh"
)
ui
.
button_save_preview
=
gr
.
Button
(
'Save preview'
,
elem_id
=
tabname
+
"_save_preview"
,
visible
=
False
)
...
...
style.css
View file @
9d3dd64f
...
...
@@ -783,8 +783,7 @@ footer {
margin
:
0
0.15em
;
}
.extra-networks
.tab-nav
.search
,
.extra-networks
.tab-nav
.sort
,
.extra-networks
.tab-nav
.sortorder
{
.extra-networks
.tab-nav
.sort
{
display
:
inline-block
;
margin
:
0.3em
;
align-self
:
center
;
...
...
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