Merge branch 'actix'
This commit is contained in:
commit
e6642a7a94
13 changed files with 1868 additions and 1259 deletions
15
templates/404.html
Normal file
15
templates/404.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>404 Not Found</title>
|
||||
</head>
|
||||
<body align="center">
|
||||
<div align="center">
|
||||
<h1>404: Not Found</h1>
|
||||
<p>The requested resource could not be found.</p>
|
||||
<hr />
|
||||
<small>bin.</small>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
15
templates/500.html
Normal file
15
templates/500.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>500 Internal Server Error</title>
|
||||
</head>
|
||||
<body align="center">
|
||||
<div align="center">
|
||||
<h1>500: Internal Server Error</h1>
|
||||
<p>An error occurred while fetching the requested resource.</p>
|
||||
<hr />
|
||||
<small>bin.</small>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,18 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>bin.</title>
|
||||
|
||||
<link rel="help" href="https://github.com/w4/bin">
|
||||
|
||||
<style>
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html, body { margin: 0; }
|
||||
|
||||
body {
|
||||
height: 100vh;
|
||||
padding: 2rem;
|
||||
|
@ -20,13 +16,11 @@
|
|||
color: #B0BEC5;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
line-height: 1.1;
|
||||
|
||||
display: flex;
|
||||
}
|
||||
|
||||
{% block styles %}
|
||||
{% endblock styles %}
|
||||
{% block styles %}{% endblock styles %}
|
||||
</style>
|
||||
{% block head %}{% endblock head %}
|
||||
</head>
|
||||
<body>{% block content %}{% endblock content %}</body>
|
||||
</html>
|
||||
|
|
|
@ -9,12 +9,11 @@
|
|||
font-family: inherit;
|
||||
font-size: 1rem;
|
||||
line-height: inherit;
|
||||
counter-reset: line;
|
||||
counter-reset: line;
|
||||
}
|
||||
code {
|
||||
counter-increment: line;
|
||||
}
|
||||
|
||||
code::before {
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
|
@ -24,8 +23,10 @@
|
|||
color: #888;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
|
||||
{% endblock styles %}
|
||||
|
||||
{% block head %}
|
||||
<link rel="stylesheet" type="text/css" href="highlight.css" />
|
||||
{% endblock head %}
|
||||
|
||||
{% block content %}<pre>{{ content|safe }}</pre>{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue