server consent improvements
This commit is contained in:
parent
42190df040
commit
e9224c4d66
2 changed files with 7 additions and 2 deletions
|
@ -70,7 +70,7 @@ textarea {
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
button {
|
||||
button, input[type=submit] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,12 @@ export class ServerConsentView extends TemplateView {
|
|||
class ServerOptions extends TemplateView {
|
||||
render(t, vm) {
|
||||
const options = vm.servers.map(server => {
|
||||
return t.div(t.label([t.input({type: "radio", name: "selectedServer", value: server}), t.span(server)]))
|
||||
return t.div(t.label([t.input({
|
||||
type: "radio",
|
||||
name: "selectedServer",
|
||||
value: server,
|
||||
checked: server === vm.selectedServer
|
||||
}), t.span(server)]))
|
||||
});
|
||||
options.push(t.div({className: "other"}, t.label([
|
||||
t.input({type: "radio", name: "selectedServer", value: "other"}),
|
||||
|
|
Loading…
Reference in a new issue