pastethingy/resources/views/paste/available.blade.php

76 lines
1.4 KiB
PHP
Raw Normal View History

2016-05-30 21:31:50 +02:00
<!DOCTYPE html>
<html>
<head>
<title>{{ $id }} &middot; pastethingy</title>
2016-05-31 00:30:26 +02:00
<link href='https://fonts.googleapis.com/css?family=Roboto+Mono:400,300' rel='stylesheet' type='text/css'>
2016-05-30 21:31:50 +02:00
2016-05-30 21:51:31 +02:00
<style>
/* how do I CSS */
2016-05-30 21:31:50 +02:00
2016-05-30 21:51:31 +02:00
html, body {
margin: 0 auto;
font-family: 'Roboto Mono';
}
2016-05-30 21:31:50 +02:00
2016-05-30 21:51:31 +02:00
header {
text-align: center;
font-family: 'Roboto Mono';
font-weight: 300;
font-size: 12px;
user-select: none;
-webkit-user-select: none;
2016-05-30 21:51:31 +02:00
}
pre {
margin: 0 0;
white-space: pre-wrap;
2016-05-31 00:30:26 +02:00
font-family: 'Roboto Mono';
font-size: 10pt;
font-weight: 400;
2016-05-30 21:51:31 +02:00
}
2016-05-30 21:31:50 +02:00
2016-05-30 21:51:31 +02:00
section {
padding: 5px 5px;
2016-05-31 00:30:26 +02:00
margin: 10px 10px;
2016-05-30 21:51:31 +02:00
border: 1px solid #ccc;
2016-05-31 00:30:26 +02:00
font-family: 'Roboto Mono';
font-weight: 400;
}
footer {
display: flex;
justify-content: center;
}
a {
display: inline-block;
align-self: flex-end;
font-weight: 300;
color: #555;
margin-bottom: 0px;
2016-05-30 21:51:31 +02:00
}
2016-05-31 00:30:26 +02:00
2016-05-30 21:31:50 +02:00
</style>
<link href="/pygments.css" rel="stylesheet">
</head>
<body>
2016-05-30 21:51:31 +02:00
<header>
@if($expires_at !== null)
{{ $id }} ({{ $language }}, expires at: {{ $expires_at }} UTC)
@else
{{ $id }} ({{ $language }}, doesn't expire)
@endif
2016-05-30 21:51:31 +02:00
</header>
<section>
{!! $content !!}
</section>
2016-05-31 00:30:26 +02:00
<footer>
@foreach(array('json', 'terminal', 'terminal256', 'png', 'latex', 'irc') as $format)
<a href="?format={{$format}}">{{ $format }}</a>&nbsp;
@endforeach
</footer>
2016-05-30 21:51:31 +02:00
</body>
2016-05-30 21:31:50 +02:00
</html>