Move delete board and clear sessions/bypasses form to bottom of settings page instead of top

merge-requests/341/head
Thomas Lynch 6 months ago
parent d4a474fa6d
commit 20d8085964
  1. 40
      views/pages/globalmanagesettings.pug

@ -9,6 +9,26 @@ block content
br
+globalmanagenav('settings')
hr(size=1)
h4.no-m-p #{__('Settings')}:
.form-wrapper.flexleft
form.form-post(action=`/forms/global/settings`, enctype='application/x-www-form-urlencoded', method='POST')
input(type='hidden' name='_csrf' value=csrf)
.mv-10
.sm#tab-1
.sm#tab-2
.sm#tab-3
.sm#tab-4
.sm#tab-5
.sm#tab-6
.sm#tab-7
.sm#tab-8
.sm#tab-9
.sm#tab-10
.sm#tab-11
.tabbed-area
include ../includes/globalmanagesettings.pug
input.row(type='submit', value=__('Save settings'))
hr(size=1)
h4.no-m-p #{__('Delete board')}:
.form-wrapper.flexleft.mt-10
form.form-post(action=`/forms/global/deleteboard`, enctype='application/x-www-form-urlencoded', method='POST')
@ -36,23 +56,3 @@ block content
label.postform-style.ph-5
input(type='checkbox', name='confirm', value='true' required)
input(type='submit', value=__('Submit'))
hr(size=1)
h4.no-m-p #{__('Settings')}:
.form-wrapper.flexleft
form.form-post(action=`/forms/global/settings`, enctype='application/x-www-form-urlencoded', method='POST')
input(type='hidden' name='_csrf' value=csrf)
.mv-10
.sm#tab-1
.sm#tab-2
.sm#tab-3
.sm#tab-4
.sm#tab-5
.sm#tab-6
.sm#tab-7
.sm#tab-8
.sm#tab-9
.sm#tab-10
.sm#tab-11
.tabbed-area
include ../includes/globalmanagesettings.pug
input.row(type='submit', value=__('Save settings'))

Loading…
Cancel
Save