summaryrefslogtreecommitdiff
path: root/lib/templates/index.html
blob: 9f393f157a2bf465a37f49f170f648a99eecdd81 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
  <head>
  <title>Stout &middot; check TODO list thank to Redis</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="keywords" content="stout, redis, todo, list">
	<meta name="description" content="Check TODO list thank to Redis">
	<meta property="og:site_name" content="Stout">
	<meta property="og:title" content="Stout &middot; Check TODO list thank to Redis">
	<meta property="og:url" content="http://github.com/dcariotti/Stout">
	<meta property="og:image" content="https://raw.githubusercontent.com/dcariotti/Stout/master/logo_stout.png">
	<meta property="og:description" content="Check TODO list thank to Redis">
	<meta name="twitter:card" content="summary_large_image">
	<meta name="twitter:title" content="Stout &middot; Check TODO list thank to Redis">
    <meta name="twitter:description" content="Check TODO list thank to Redis">
	<meta name="twitter:creator" content="@dcariotti">
	<meta name="twitter:image" content="https://raw.githubusercontent.com/dcariotti/Stout/master/logo_stout.png">
    <link href="https://fonts.googleapis.com/css?family=Space+Mono" rel="stylesheet" type="text/css">
    <link rel="icon" type="image/x-icon" href="/static/fav.ico">
    <link rel="stylesheet" href="http://fontawesome.io/assets/font-awesome/css/font-awesome.css">
    <style>
    body {
        font-family: 'Space Mono', monospace;
        background: #FFF;
        margin: 0;
    }
    header {
        width: 100%;
        height: 150px;
        background: #F5F5F5;
        margin: 0;
        padding: 0;
        background-image: linear-gradient(to bottom right, #ffca34 0%, #ffb32c 100%);
        background-color: #ffb32c;
    }

    header img {
        height: 75%;
        margin: 15px;
    }

    #wrapper {
        width: 100%;
        min-height: 600px;
        margin: 25px auto;
    }

    #wrapper .todo {
        width: 80%;
        min-height: 50px;
        background: #FFF;
        color: #1E1E1E;
        padding: 0 20px;
        font-size: 35pt;
        border-radius: 4px;
        border: rgba(0,0,0,0.1) 2px solid;
        border-bottom: rgba(0,0,0,0.1) 4px solid;
        margin: 40px auto;
    }
    .todo p {margin:0;}
    .todo p i {
        color: #ffeb3b;
    }
    footer {
        padding: 5px;
    }
    footer p {
        color: #000;
        text-align: center;
    }
    footer p a{ color: #000; text-decoration: none;cursor: pointer;}
    </style>
</head>
<body>
    <header>
        <img src="/static/logo_stout_w.png" class="logo" />
    </header>
    <section id="wrapper">
        {% if len_todo == 0 %}
        <p style="color:#ffca34; font-size: 50pt; margin: 100px 0 0;text-align:center;">
            <i class="fa fa-beer" style="font-size:200pt"></i><br>
            nessun todo in lista: goditi una <strong>Stout</strong>!!!</p>
        {% endif %}
        {% for i in list_todo %}
        <div class="todo">
            <p><i class="fa fa-bullhorn" aria-hidden="true"></i> {{ i.decode('utf-8') }}</p>
        </div>
        {% endfor %}
    </section>
    <footer>
        <p>Made with <i class="fa fa-heart"></i> on <a class="fa fa-github" href="https://github.com/dcariotti/Stout"></a></p>
    </footer>
</body>