Use <once-button>
for restarting datasync daemon
This commit is contained in:
parent
93a3da2335
commit
0a80e01d0b
|
@ -7,7 +7,13 @@
|
|||
% if request.has_perm('datasync.restart'):
|
||||
${h.form(url('datasync.restart'), name='restart-datasync', class_='autodisable control')}
|
||||
${h.csrf_token(request)}
|
||||
% if use_buefy:
|
||||
<once-button native-type="submit"
|
||||
text="Restart DataSync">
|
||||
</once-button>
|
||||
% else:
|
||||
${h.submit('submit', "Restart DataSync", data_working_label="Restarting DataSync", class_='button')}
|
||||
% endif
|
||||
${h.end_form()}
|
||||
% endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue