Capitalise placeholders in a bunch of places

merge-requests/208/head
Thomas Lynch 4 years ago
parent 53426d1098
commit 79deff75d4
  1. 2
      views/includes/captcha.pug
  2. 2
      views/includes/postform.pug
  3. 2
      views/pages/boardlist.pug
  4. 2
      views/pages/create.pug
  5. 10
      views/pages/editpost.pug
  6. 2
      views/pages/globalmanagenews.pug
  7. 2
      views/pages/globalmanagesettings.pug
  8. 10
      views/pages/managesettings.pug

@ -1,4 +1,4 @@
noscript.no-m-p
iframe.captcha(src='/captcha.html' 'width=210' height='80' scrolling='no' loading='lazy')
.jsonly.captcha(style='display:none;')
input.captchafield(type='text' name='captcha' autocomplete='off' placeholder='captcha text' pattern=".{6}" required title='6 characters')
input.captchafield(type='text' name='captcha' autocomplete='off' placeholder='Captcha text' pattern=".{6}" required title='6 characters')

@ -62,7 +62,7 @@ section.form-wrapper.flex-center
if board.settings.userPostSpoiler || board.settings.userPostDelete || board.settings.userPostUnlink || modview
section.row
.label Password
input(type='password', name='postpassword', placeholder='password to delete/spoiler/unlink later' maxlength='50')
input(type='password', name='postpassword', placeholder='Password to delete/spoiler/unlink later' maxlength='50')
if ((board.settings.captchaMode === 1 && !isThread) || board.settings.captchaMode === 2) && !modview
section.row
.label

@ -10,7 +10,7 @@ block content
input(type='hidden' value=page)
.row
.label Search
input(type='text' name='search' value=search placeholder='uri or tags')
input(type='text' name='search' value=search placeholder='Uri or tags')
.row
.label Sort
select(name='sort')

@ -18,7 +18,7 @@ block content
input(type='text', name='description', maxlength=globalLimits.fieldLength.description required)
.row
.label Tags
textarea(name='tags' placeholder='newline separated, max 10')
textarea(name='tags' placeholder='Newline separated, max 10')
.row
.label Captcha
span.col

@ -18,9 +18,9 @@ block content
label
if !post.thread
include ../includes/posticons.pug
input.edit.post-subject(value=post.subject placeholder='subject' type='text' name='subject' maxlength=globalLimits.fieldLength.subject)
input.edit.post-name(value=post.email type='text' name='email' placeholder='email' maxlength=globalLimits.fieldLength.email)
input.edit.post-name(type='text' name='name' placeholder='name' maxlength=globalLimits.fieldLength.name)
input.edit.post-subject(value=post.subject placeholder='Subject' type='text' name='subject' maxlength=globalLimits.fieldLength.subject)
input.edit.post-name(value=post.email type='text' name='email' placeholder='Email' maxlength=globalLimits.fieldLength.email)
input.edit.post-name(type='text' name='name' placeholder='Name' maxlength=globalLimits.fieldLength.name)
if post.country && post.country.code
span(class=`flag flag-${post.country.code.toLowerCase()}` title=post.country.name alt=post.country.name)
|
@ -45,7 +45,7 @@ block content
span.noselect: a(href=`${postURL}#postform`) [Reply]
.post-data
pre.post-message
textarea.edit.fw(name='message' rows='15' placeholder='message') #{post.nomarkup}
textarea.edit.fw(name='message' rows='15' placeholder='Message') #{post.nomarkup}
if post.banmessage
p.ban
span.message USER WAS BANNED FOR THIS POST
@ -55,5 +55,5 @@ block content
input.post-check(type='checkbox', name='hide_name' value='1')
| Hide Username
label.mv-5
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='save')

@ -19,7 +19,7 @@ block content
input(type='text' name='title' required)
.row
.label Message
textarea(name='message' rows='10' placeholder='supports post styling' required)
textarea(name='message' rows='10' placeholder='Supports post styling' required)
input(type='submit', value='submit')
if news.length > 0
hr(size=1)

@ -28,7 +28,7 @@ block content
input(type='hidden' name='_csrf' value=csrf)
.row
.label Filters
textarea(name='filters' placeholder='newline separated, max 50') #{settings.filters.join('\n')}
textarea(name='filters' placeholder='Newline separated, max 50') #{settings.filters.join('\n')}
.row
.label Filter Mode
select(name='filter_mode')

@ -48,13 +48,13 @@ block content
input(type='text' name='description' value=board.settings.description)
.row
.label Tags
textarea(name='tags' placeholder='newline separated, max 10') #{board.settings.tags.join('\n')}
textarea(name='tags' placeholder='Newline separated, max 10') #{board.settings.tags.join('\n')}
.row
.label Moderators
textarea(name='moderators' placeholder='newline separated, max 10') #{board.settings.moderators.join('\n')}
textarea(name='moderators' placeholder='Newline separated, max 10') #{board.settings.moderators.join('\n')}
.row
.label Announcement
textarea(name='announcement' placeholder='supports post styling') #{board.settings.announcement.raw}
textarea(name='announcement' placeholder='Supports post styling') #{board.settings.announcement.raw}
.row
.label Anon Name
input(type='text' name='default_name' value=board.settings.defaultName)
@ -187,7 +187,7 @@ block content
if globalLimits.customCss.enabled
.row
.label Custom CSS
textarea(name='custom_css' placeholder='test first in top-right settings if you have javascript enabled' maxlength=globalLimits.customCss.max) #{board.settings.customCss}
textarea(name='custom_css' placeholder='Test first in top-right settings if you have javascript enabled' maxlength=globalLimits.customCss.max) #{board.settings.customCss}
.row
.label Captcha Mode
select(name='captcha_mode')
@ -221,7 +221,7 @@ block content
include ../includes/2charisocountries.pug
.row
.label Filters
textarea(name='filters' placeholder='newline separated, max 50') #{board.settings.filters.join('\n')}
textarea(name='filters' placeholder='Newline separated, max 50') #{board.settings.filters.join('\n')}
.row
.label Strict Filtering
label.postform-style.ph-5

Loading…
Cancel
Save