jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
2.6 KiB

mixin modal(data)
.modal-bg(style=data.hidden?'display:none':'')
.modal(style=data.hidden?'display:none':'')
.row
p.bold #{data.title}
a.close.postform-style#modalclose X
if data.message || data.messages || data.error || data.errors
.row
ul.nomarks
if data.message
li #{data.message}
if data.error
li #{data.error}
if data.messages
each msg in data.messages
li #{msg}
if data.errors
each error in data.errors
li #{error}
if data.link
.row
a.button.mv-0(href=data.link.href target='_blank') #{data.link.text}
else if data.settings
.row
.form-wrapper.flexleft.mt-10
.row
.label Theme
5 years ago
select#theme-setting
option(value='default') default
each theme in data.settings.themes
option(value=theme) #{theme}
.row
.label Code theme
5 years ago
select#codetheme-setting
option(value='default') default
each theme in data.settings.codeThemes
option(value=theme) #{theme}
.row
.label Live posts
label.postform-style.ph-5
input#live-setting(type='checkbox')
.row
.label Notifications
label.postform-style.ph-5
input#notification-setting(type='checkbox')
.row
.label Scroll to new posts
label.postform-style.ph-5
input#scroll-setting(type='checkbox')
.row
.label Local time
label.postform-style.ph-5
input#localtime-setting(type='checkbox')
.row
.label 24h time
label.postform-style.ph-5
input#24hour-setting(type='checkbox')
.row
.label Show relative time
label.postform-style.ph-5
input#relative-setting(type='checkbox')
.row
.label Hide Thumbnails
label.postform-style.ph-5
input#hideimages-setting(type='checkbox')
.row
.label Recursive Post Hide
label.postform-style.ph-5
input#hiderecursive-setting(type='checkbox')
.row
.label Video/Audio Volume
label.postform-style.ph-5
input#volume-setting(type='range' min='0' max='100')
.row
.label Loop audio/video
label.postform-style.ph-5
input#loop-setting(type='checkbox')
.row
.label Unlimit expand height
label.postform-style.ph-5
input#heightlimit-setting(type='checkbox')
.row
.label Crisp image rendering
label.postform-style.ph-5
input#crispimages-setting(type='checkbox')
.row
.label Post Password
input#postpassword-setting(type='password' name='postpassword')
5 years ago
.row
.label Custom CSS
textarea#customcss-setting