mirror of https://github.com/JoeBiellik/paste
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.2 KiB
Plaintext
69 lines
2.2 KiB
Plaintext
9 years ago
|
extends layout
|
||
|
|
||
|
block head
|
||
9 years ago
|
link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Open+Sans:400,300')
|
||
9 years ago
|
style.
|
||
|
html {
|
||
|
position: relative;
|
||
|
min-height: 100%;
|
||
|
}
|
||
|
body {
|
||
8 years ago
|
font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||
9 years ago
|
margin-bottom: 60px;
|
||
|
}
|
||
9 years ago
|
@media (min-width: 1800px) {
|
||
|
.container {
|
||
|
max-width: 1500px;
|
||
|
}
|
||
|
}
|
||
|
@media (min-width: 2400px) {
|
||
|
.container {
|
||
|
max-width: 1800px;
|
||
|
}
|
||
|
}
|
||
|
.display-3 {
|
||
|
font-size: 5.5rem;
|
||
|
}
|
||
9 years ago
|
textarea, textarea:required, textarea:invalid {
|
||
|
font-family: monospace, serif;
|
||
8 years ago
|
line-height: 1.5em;
|
||
9 years ago
|
box-shadow: none;
|
||
|
}
|
||
|
footer {
|
||
|
width: 100%;
|
||
|
height: 35px;
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
line-height: 35px;
|
||
|
}
|
||
|
block content
|
||
9 years ago
|
main.container.m-t-3.m-x-6
|
||
|
h1.display-3.m-b-3 #{title}
|
||
9 years ago
|
|
||
|
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')
|
||
|
|
||
|
form(action='/?redirect', method='POST', accept-charset='UTF-8')
|
||
|
fieldset.form-group
|
||
9 years ago
|
textarea.form-control(name='paste', rows='10', required, autofocus)
|
||
9 years ago
|
|
||
8 years ago
|
select#highlight.custom-select.select-lg.m-t-2.m-r-2(name='highlight')
|
||
9 years ago
|
option(value='', selected) Choose syntax highlighting
|
||
|
each val, key in highlights
|
||
8 years ago
|
option(value=key) #{val}
|
||
9 years ago
|
|
||
8 years ago
|
select#expire.custom-select.select-lg.m-t-2(name='expire')
|
||
9 years ago
|
option(value='', selected) Choose expiry
|
||
|
each val, key in expires
|
||
8 years ago
|
option(value=key) #{val}
|
||
9 years ago
|
|
||
9 years ago
|
button.btn.btn-primary.btn-lg.m-t-2.m-l-2.pull-md-right(type='submit') Upload
|
||
9 years ago
|
|
||
|
footer.hidden-sm-down
|
||
9 years ago
|
pre.text-md-center.text-muted.m-b-0.
|
||
9 years ago
|
echo 'Hello World' | curl -F 'paste=<-' #{url}
|
||
9 years ago
|
|
||
8 years ago
|
script(src='https://cdnjs.cloudflare.com/ajax/libs/autosize.js/3.0.17/autosize.min.js')
|
||
|
script(src='https://code.jquery.com/jquery-2.2.4.min.js', integrity='sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=', crossorigin='anonymous')
|
||
9 years ago
|
script(src='/main.js')
|