2024-11-10 15:01:02 +08:00
|
|
|
{
|
|
|
|
"widgettype":"PopupWindow",
|
|
|
|
"options":{
|
|
|
|
"archor":"cc",
|
|
|
|
"cwidth":16,
|
2024-11-26 22:45:38 +08:00
|
|
|
"chegith":10,
|
2024-11-10 15:01:02 +08:00
|
|
|
"title":"add admin user"
|
|
|
|
},
|
|
|
|
"subwidgets":[
|
|
|
|
{
|
|
|
|
"id":"adminuser",
|
|
|
|
"widgettype":"Form",
|
|
|
|
"options":{
|
|
|
|
"cols":1,
|
|
|
|
"fields":[
|
|
|
|
{
|
|
|
|
"name":"username",
|
|
|
|
"label":"用户名",
|
|
|
|
"uitype":"str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name":"password",
|
|
|
|
"label":"密码",
|
|
|
|
"uitype":"password"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name":"chkpassword",
|
|
|
|
"label":"确认密码",
|
|
|
|
"uitype":"password"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"binds":[
|
|
|
|
{
|
|
|
|
"wid":"adminuser",
|
|
|
|
"event":"submit",
|
|
|
|
"actiontype":"urlwidget",
|
|
|
|
"target":"self",
|
|
|
|
"options":{
|
|
|
|
"url":"{{entire_url('./add_adminuser.dspy')}}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|