Development
This commit is contained in:
parent
867911f276
commit
375e8cf8b6
2 changed files with 8 additions and 8 deletions
|
|
@ -1075,7 +1075,7 @@ def _render_item(item, tokens, inherited_req=None):
|
|||
return f'<select name="{name}" class="form-select"{extra}>{options}</select>'
|
||||
|
||||
if t == 'spacer':
|
||||
return '<span style="flex:1"></span>'
|
||||
return '<span style="margin-left:auto"></span>'
|
||||
|
||||
if t == 'button_row':
|
||||
inner = render_items(item.get('items', []), tokens, req)
|
||||
|
|
|
|||
|
|
@ -525,18 +525,18 @@
|
|||
"type": "button_row",
|
||||
"items": [
|
||||
{
|
||||
"type": "button_danger",
|
||||
"action": "/action/clear_ddns_log",
|
||||
"method": "post",
|
||||
"text": "Clear Log"
|
||||
"type": "button_ghost",
|
||||
"action": "/action/download_ddns_log",
|
||||
"text": "Download Log"
|
||||
},
|
||||
{
|
||||
"type": "spacer"
|
||||
},
|
||||
{
|
||||
"type": "button_ghost",
|
||||
"action": "/action/download_ddns_log",
|
||||
"text": "Download Log"
|
||||
"type": "button_danger",
|
||||
"action": "/action/clear_ddns_log",
|
||||
"method": "post",
|
||||
"text": "Clear Log"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue