|
|
|
@ -8,17 +8,19 @@ block head
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
}
|
|
|
|
|
body {
|
|
|
|
|
font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
|
|
|
margin-bottom: 4rem;
|
|
|
|
|
}
|
|
|
|
|
body, button, input, optgroup, select, textarea {
|
|
|
|
|
font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
|
|
|
}
|
|
|
|
|
@media (min-width: 1800px) {
|
|
|
|
|
.container {
|
|
|
|
|
max-width: 1500px;
|
|
|
|
|
min-width: 1500px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media (min-width: 2400px) {
|
|
|
|
|
.container {
|
|
|
|
|
max-width: 1800px;
|
|
|
|
|
min-width: 1800px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.display-3 {
|
|
|
|
@ -36,33 +38,38 @@ block head
|
|
|
|
|
bottom: 0;
|
|
|
|
|
line-height: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
block content
|
|
|
|
|
main.container.m-t-3.m-x-6
|
|
|
|
|
h1.display-3.m-b-3 #{title}
|
|
|
|
|
a(href='https://github.com/JoeBiellik/paste', style='position: absolute; top: 0; right: 0; border: 0;')
|
|
|
|
|
img(src='https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png', alt='Fork me on GitHub')
|
|
|
|
|
|
|
|
|
|
a(href='https://github.com/JoeBiellik/paste')
|
|
|
|
|
img(style='position: absolute; top: 0; right: 0; border: 0;', src='https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png', alt='Fork me on GitHub')
|
|
|
|
|
main.container.pt-5.mx-6
|
|
|
|
|
h1.display-3.mb-5 #{title}
|
|
|
|
|
|
|
|
|
|
form(action='/?redirect', method='POST', accept-charset='UTF-8')
|
|
|
|
|
fieldset.form-group
|
|
|
|
|
textarea.form-control(name='paste', rows='10', required, autofocus)
|
|
|
|
|
|
|
|
|
|
select#highlight.custom-select.select-lg.m-t-2.m-r-2(name='highlight')
|
|
|
|
|
div.row.mt-4
|
|
|
|
|
div.col-md-auto.col-sm-12
|
|
|
|
|
select#highlight.custom-select.mt-3(name='highlight')
|
|
|
|
|
option(value='', selected) Choose syntax highlighting
|
|
|
|
|
each val, key in highlights
|
|
|
|
|
option(value=key) #{val}
|
|
|
|
|
|
|
|
|
|
select#expire.custom-select.select-lg.m-t-2(name='expire')
|
|
|
|
|
div.col-md-auto.col-sm-12
|
|
|
|
|
select#expire.custom-select.mt-3(name='expire')
|
|
|
|
|
option(value='', selected) Choose expiry
|
|
|
|
|
each val, key in expires
|
|
|
|
|
option(value=key) #{val}
|
|
|
|
|
|
|
|
|
|
button.btn.btn-primary.btn-lg.m-t-2.m-l-2.pull-md-right(type='submit') Upload
|
|
|
|
|
div.col.text-md-right
|
|
|
|
|
button.btn.btn-primary.btn-lg.mt-3(type='submit') Upload
|
|
|
|
|
|
|
|
|
|
footer.hidden-sm-down
|
|
|
|
|
pre.text-md-center.text-muted.m-b-0.
|
|
|
|
|
pre.text-center.text-muted.mb-0.
|
|
|
|
|
echo 'Hello World' | curl -F 'paste=<-' #{url}
|
|
|
|
|
|
|
|
|
|
script(src='https://cdnjs.cloudflare.com/ajax/libs/autosize.js/3.0.18/autosize.min.js' integrity='sha256-BnEqLjcr1FPis5CS7xHGpAo7ZmbYrokk0j6/Srd0Rus=', crossorigin='anonymous')
|
|
|
|
|
script(src='https://code.jquery.com/jquery-3.1.1.min.js', integrity='sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=', crossorigin='anonymous')
|
|
|
|
|
script(src='https://cdnjs.cloudflare.com/ajax/libs/autosize.js/4.0.0/autosize.min.js' integrity='sha256-F7Bbc+3hGv34D+obsHHsSm3ZKRBudWR7e2H0fS0beok=', crossorigin='anonymous')
|
|
|
|
|
script(src='https://code.jquery.com/jquery-3.2.1.min.js', integrity='sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=', crossorigin='anonymous')
|
|
|
|
|
script(src='/main.js')
|
|
|
|
|