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
f39a79d1
Commit
f39a79d1
authored
Jan 02, 2023
by
AUTOMATIC1111
Committed by
GitHub
Jan 02, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6183 from Kryptortio/add_more_element_ids
Add additional elem_id/HTML ids
parents
311354c0
a005fccd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
134 additions
and
134 deletions
+134
-134
modules/generation_parameters_copypaste.py
modules/generation_parameters_copypaste.py
+1
-1
modules/ui.py
modules/ui.py
+127
-127
style.css
style.css
+6
-6
No files found.
modules/generation_parameters_copypaste.py
View file @
f39a79d1
...
@@ -93,7 +93,7 @@ def integrate_settings_paste_fields(component_dict):
...
@@ -93,7 +93,7 @@ def integrate_settings_paste_fields(component_dict):
def
create_buttons
(
tabs_list
):
def
create_buttons
(
tabs_list
):
buttons
=
{}
buttons
=
{}
for
tab
in
tabs_list
:
for
tab
in
tabs_list
:
buttons
[
tab
]
=
gr
.
Button
(
f
"Send to {tab}"
)
buttons
[
tab
]
=
gr
.
Button
(
f
"Send to {tab}"
,
elem_id
=
f
"{tab}_tab"
)
return
buttons
return
buttons
...
...
modules/ui.py
View file @
f39a79d1
This diff is collapsed.
Click to expand it.
style.css
View file @
f39a79d1
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
margin-right
:
auto
;
margin-right
:
auto
;
}
}
#random_seed
,
#random_subseed
,
#reuse_seed
,
#reuse_subseed
,
#open_folder
{
[
id
$
=
_random_seed
],
[
id
$
=
_random_subseed
],
[
id
$
=
_reuse_seed
],
[
id
$
=
_reuse_subseed
]
,
#open_folder
{
min-width
:
auto
;
min-width
:
auto
;
flex-grow
:
0
;
flex-grow
:
0
;
padding-left
:
0.25em
;
padding-left
:
0.25em
;
...
@@ -84,27 +84,27 @@
...
@@ -84,27 +84,27 @@
display
:
none
;
display
:
none
;
}
}
#seed_row
,
#subseed_row
{
[
id
$
=
_seed_row
],
[
id
$
=
_subseed_row
]
{
gap
:
0.5rem
;
gap
:
0.5rem
;
}
}
#subseed_show_box
{
[
id
$
=
_subseed_show_box
]
{
min-width
:
auto
;
min-width
:
auto
;
flex-grow
:
0
;
flex-grow
:
0
;
}
}
#subseed_show_box
>
div
{
[
id
$
=
_subseed_show_box
]
>
div
{
border
:
0
;
border
:
0
;
height
:
100%
;
height
:
100%
;
}
}
#subseed_show
{
[
id
$
=
_subseed_show
]
{
min-width
:
auto
;
min-width
:
auto
;
flex-grow
:
0
;
flex-grow
:
0
;
padding
:
0
;
padding
:
0
;
}
}
#subseed_show
label
{
[
id
$
=
_subseed_show
]
label
{
height
:
100%
;
height
:
100%
;
}
}
...
...
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