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

61 lines
1.1 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-30 21:51:31 +02:00
<link href="https://fonts.googleapis.com/css?family=Lato:300" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Fira+Mono|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 {
height: 100%;
margin: 0 auto;
font-family: 'Roboto Mono';
}
2016-05-30 21:31:50 +02:00
2016-05-30 21:51:31 +02:00
body {
width: 99%;
display: flex;
flex-flow: column;
}
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;
margin-bottom: 5px;
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-30 21:31:50 +02:00
2016-05-30 21:51:31 +02:00
section {
padding: 5px 5px;
margin: 3px 3px;
border: 1px solid #ccc;
}
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>
</body>
2016-05-30 21:31:50 +02:00
</html>