summaryrefslogtreecommitdiff
path: root/templates/index.html
blob: 566565b3e79ea950b75c9b833aac15575ff9a642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>

<head>
    <title>{{ thing.markdown }}</title>
    <style>
        body {
            background: #dddde7;
            font-family: Helvetica, sans-serif;
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100vh;
            margin: 0;
        }

        section {
            width: 600px;
            margin: auto;
        }

        p {
            font-size: 24px;
        }

        a {
            text-decoration: none;
        }
    </style>
    <meta property="og:type" content="website">
    <meta property="og:title" content="Troubleshooting suggestion">
    <meta property="og:description" content="{{ thing.markdown }}">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css">
</head>

<body>
    <section>
        {{ thing.html|safe }}
        <p><a href="{{ req.new_suggestion()? }}">That wasn't it, suggest something else.</a></p>
        <p><a href="{{ req.suggestion(index)? }}">Share this troubleshooting suggestion.</a></p>
    </section>
    <a class="github-fork-ribbon"
        href="https://gitlab.com/ojacobson/things-to-check/"
        data-ribbon="Fork me on GitLab"
        title="Fork me on GitLab">Fork me on GitLab</a>
</body>

</html>