Fix new_session.ui: remove custom toolbar and use params instead of data in urlwidget
This commit is contained in:
parent
f6c07f6d10
commit
0ac8ca310f
@ -43,30 +43,7 @@
|
|||||||
"height": "100px",
|
"height": "100px",
|
||||||
"marginBottom": "24px"
|
"marginBottom": "24px"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"toolbar": {
|
|
||||||
"tools": [
|
|
||||||
{
|
|
||||||
"label": "Create Session",
|
|
||||||
"bgcolor": "#22C55E",
|
|
||||||
"color": "#FFFFFF",
|
|
||||||
"border": "none",
|
|
||||||
"borderRadius": "6px",
|
|
||||||
"padding": "10px 20px",
|
|
||||||
"fontWeight": "600",
|
|
||||||
"action": "submit"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Cancel",
|
|
||||||
"bgcolor": "#64748B",
|
|
||||||
"color": "#FFFFFF",
|
|
||||||
"border": "none",
|
|
||||||
"borderRadius": "6px",
|
|
||||||
"padding": "10px 20px",
|
|
||||||
"action": "cancel"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"binds": [
|
"binds": [
|
||||||
{
|
{
|
||||||
@ -77,7 +54,7 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"url": "{{entire_url('hermes-web-cli/sessions/create_session.dspy')}}",
|
"url": "{{entire_url('hermes-web-cli/sessions/create_session.dspy')}}",
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"data": "{{ 'new-session-form'.data }}"
|
"params": "{{ 'new-session-form'.data }}"
|
||||||
},
|
},
|
||||||
"mode": "replace"
|
"mode": "replace"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user