Cleanup markup

master
Joe Biellik 5 years ago
parent 54f6aea10d
commit 95b4d3003a

@ -6,13 +6,13 @@ block head
link(rel='stylesheet' href='/main.css')
block content
a.position-absolute.dropdown-menu-right.d-none.d-sm-block(href='https://github.com/JoeBiellik/paste')
a.position-absolute.dropdown-menu-right.d-none.d-sm-block(href='https://github.com/JoeBiellik/paste' aria-hidden='true')
img(src='https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png' alt='Fork me on GitHub')
main.container.py-3.pt-sm-5.pb-md-5
h1.display-3= title
form(action='/?redirect' method='POST' accept-charset='UTF-8')
form(action='/?redirect' method='POST')
label.sr-only(for='paste') Paste content
textarea#paste.my-3.my-sm-5.form-control(name='paste' rows='10' required autofocus)
@ -26,7 +26,7 @@ block content
.col-md-9.col-sm-12.mb-3.clearfix
label.d-block.float-sm-left(for='expire') Expiry
input#expire.mr-3.form-control.text-center.float-sm-left(name='expire' type='text' value=expires.default.value required)
label.sr-only(for='multiplier') Expiry multiplier
label.sr-only(for='multiplier') Expiry period
select#multiplier.custom-select.float-sm-left(name='multiplier' required)
each val, key in expires.multipliers
option(value=key selected=key == expires.default.multiplier)= val

@ -6,7 +6,7 @@ html(lang='en')
title= title
meta(name='description' content='Simple pastebin service, temporarily store text or code online and easily share it')
link(rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css' integrity='sha256-aAr2Zpq8MZ+YA/D6JtRD3xtrwpEz2IqOS+pWD/7XKIw=' crossorigin='anonymous')
link(rel='stylesheet' href='https://fonts.googleapis.com/css?family=Open+Sans:400,300')
link(rel='stylesheet' href='https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap')
block head

Loading…
Cancel
Save