long actionsfooter in columns on wider displays, better usability closes #192

merge-requests/208/head
Thomas Lynch 4 years ago
parent 11c5aa8abb
commit 53426d1098
  1. 1
      gulp/res/css/style.css
  2. 4
      views/includes/actionfooter.pug
  3. 6
      views/includes/actionfooter_globalmanage.pug
  4. 156
      views/includes/actionfooter_manage.pug

@ -569,7 +569,6 @@ details.actions div {
.actions {
text-align: left;
max-width: 200px;
display: flex;
flex-direction: column;
margin: 2px 0;

@ -12,7 +12,7 @@ details.toggle-label#actionform
input.post-check(type='checkbox', name='spoiler' value='1')
| Spoiler Files
label
input#password(type='password', name='postpassword', placeholder='post password' autocomplete='off')
input#password(type='password', name='postpassword', placeholder='Post password' autocomplete='off')
label
input.post-check(type='checkbox', name='report' value='1')
| Report
@ -20,7 +20,7 @@ details.toggle-label#actionform
input.post-check(type='checkbox', name='global_report' value='1')
| Global Report
label
input#report(type='text', name='report_reason', placeholder='report reason' autocomplete='off')
input#report(type='text', name='report_reason', placeholder='Report reason' autocomplete='off')
.actions
h4.no-m-p Captcha:
include ./captcha.pug

@ -42,9 +42,9 @@ details.toggle-label#actionform
input.post-check(type='checkbox', name='hide_name' value='1')
| Hide Username In Modlog
label
input(type='text', name='ban_reason', placeholder='ban reason' autocomplete='off')
input(type='text', name='ban_reason', placeholder='Ban reason' autocomplete='off')
label
input(type='text', name='ban_duration', placeholder='ban duration e.g. 7d' autocomplete='off')
input(type='text', name='ban_duration', placeholder='Ban duration e.g. 7d' autocomplete='off')
label
input(type='text', name='log_message', placeholder='modlog message' autocomplete='off')
input(type='text', name='log_message', placeholder='Modlog message' autocomplete='off')
input(type='submit', value='submit')

@ -2,80 +2,84 @@ details.toggle-label#actionform
summary.toggle-summary Show Post Actions
.actions
h4.no-m-p Actions:
label
input.post-check(type='checkbox', name='delete' value='1')
| Delete Posts
label
input.post-check(type='checkbox', name='delete_file' value='1')
| Delete Files
label
input.post-check(type='checkbox', name='spoiler' value='1')
| Spoiler Files
label
input.post-check(type='checkbox', name='edit' value='1')
| Edit Post
label
input.post-check(type='checkbox', name='global_report' value='1')
| Global Report
label
input#report(type='text', name='report_reason', placeholder='report reason' autocomplete='off')
label
input.post-check(type='checkbox', name='delete_ip_thread' value='1')
| Delete from IP in thread
label
input.post-check(type='checkbox', name='delete_ip_board' value='1')
| Delete from IP on board
label
input.post-check(type='checkbox', name='delete_ip_global' value='1')
| Delete from IP globally
label
input.post-check(type='checkbox', name='dismiss' value='1')
| Dismiss Reports
label
input.post-check(type='checkbox', name='report_ban' value='1')
| Ban Reporters
label
input.post-check(type='checkbox', name='ban' value='1')
| Ban Poster
label
input.post-check(type='checkbox', name='global_ban' value='1')
| Global Ban Poster
label
input.post-check(type='checkbox', name='ban_q' value='1')
| 1/4 Range
label
input.post-check(type='checkbox', name='ban_h' value='1')
| 1/2 Range
label
input.post-check(type='checkbox', name='no_appeal' value='1')
| Non-appealable Ban
label
input.post-check(type='checkbox', name='preserve_post' value='1')
| Show Post In Ban
label
input.post-check(type='checkbox', name='hide_name' value='1')
| Hide Username In Modlog
label
input(type='text', name='ban_reason', placeholder='ban reason' autocomplete='off')
label
input(type='text', name='ban_duration', placeholder='ban duration e.g. 7d' autocomplete='off')
label
input(type='text', name='log_message', placeholder='modlog message' autocomplete='off')
label
input.post-check(type='checkbox', name='move' value='1')
| Move
label
input(type='number', name='move_to_thread', placeholder='destination thread No.' autocomplete='off')
label
input.post-check(type='checkbox', name='sticky' value='1')
| Toggle Sticky
label
input.post-check(type='checkbox', name='lock' value='1')
| Toggle Lock
label
input.post-check(type='checkbox', name='bumplock' value='1')
| Toggle Bumplock
label
input.post-check(type='checkbox', name='cyclic' value='1')
| Toggle Cycle
.row.wrap
.col.mr-5
label
input.post-check(type='checkbox', name='delete' value='1')
| Delete Posts
label
input.post-check(type='checkbox', name='delete_file' value='1')
| Delete Files
label
input.post-check(type='checkbox', name='delete_ip_thread' value='1')
| Delete from IP in thread
label
input.post-check(type='checkbox', name='delete_ip_board' value='1')
| Delete from IP on board
label
input.post-check(type='checkbox', name='delete_ip_global' value='1')
| Delete from IP globally
label
input.post-check(type='checkbox', name='spoiler' value='1')
| Spoiler Files
label
input.post-check(type='checkbox', name='dismiss' value='1')
| Dismiss Reports
label
input.post-check(type='checkbox', name='global_report' value='1')
| Global Report
label
input#report(type='text', name='report_reason', placeholder='Report reason' autocomplete='off')
label
input.post-check(type='checkbox', name='move' value='1')
| Move
label
input(type='number', name='move_to_thread', placeholder='Destination thread No.' autocomplete='off')
.col.mr-5
label
input.post-check(type='checkbox', name='report_ban' value='1')
| Ban Reporters
label
input.post-check(type='checkbox', name='ban' value='1')
| Ban Poster
label
input.post-check(type='checkbox', name='global_ban' value='1')
| Global Ban Poster
label
input.post-check(type='checkbox', name='ban_q' value='1')
| 1/4 Range
label
input.post-check(type='checkbox', name='ban_h' value='1')
| 1/2 Range
label
input.post-check(type='checkbox', name='no_appeal' value='1')
| Non-appealable Ban
label
input.post-check(type='checkbox', name='preserve_post' value='1')
| Show Post In Ban
label
input.post-check(type='checkbox', name='hide_name' value='1')
| Hide Username In Modlog
label
input(type='text', name='ban_reason', placeholder='Ban reason' autocomplete='off')
label
input(type='text', name='ban_duration', placeholder='Ban duration e.g. 7d' autocomplete='off')
label
input(type='text', name='log_message', placeholder='Modlog message' autocomplete='off')
.col
label
input.post-check(type='checkbox', name='edit' value='1')
| Edit Post
label
input.post-check(type='checkbox', name='sticky' value='1')
| Toggle Sticky
label
input.post-check(type='checkbox', name='lock' value='1')
| Toggle Lock
label
input.post-check(type='checkbox', name='bumplock' value='1')
| Toggle Bumplock
label
input.post-check(type='checkbox', name='cyclic' value='1')
| Toggle Cycle
input(type='submit', value='submit')

Loading…
Cancel
Save