swarm-ui: the review try-out page shows and changes the review classifier's settings
A classifier settings panel under the try-out form reads and saves the model, effort and how many requested reviews run at once through the settings route. A save replaces all three; a refused one shows the route's reason and leaves the form as typed. There is no API key field.
This commit is contained in:
parent
37c58e79dc
commit
baf282131f
5 changed files with 293 additions and 3 deletions
|
|
@ -0,0 +1,25 @@
|
|||
/* The settings form: the three fields on one line, then the save action. */
|
||||
.ui-classifier-settings {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
.ui-classifier-settings-fields {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75em;
|
||||
}
|
||||
.ui-classifier-settings-fields > * {
|
||||
flex: 1 1 14em;
|
||||
}
|
||||
.ui-classifier-settings-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.75em;
|
||||
}
|
||||
.ui-classifier-settings-note {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
Loading…
Reference in a new issue