-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (95 loc) · 1.85 KB
/
index.html
File metadata and controls
96 lines (95 loc) · 1.85 KB
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
95
96
<html>
<head>
<title>t2f - Posted Pics</title>
<style type="text/css">
#logo {
float:left;
width:auto;
padding:18px 0 34px 0;
}
#logo a {
color:#ff2b06;
font-size:60px;
font-weight:600;
text-decoration:none;
border-bottom:none;
letter-spacing:-4px;
background-color:#fff;
}
.frame {
display:block;
width:80%;
margin-left: auto;
margin-right: auto;
font-family: Sans-Serif;
}
table {
display:block;
background:#fff;
border:1px solid #ccc;
width:100%;
border-bottom-left-radius: 5px 5px;
border-bottom-right-radius: 5px 5px;
border-top-left-radius: 5px 5px;
border-top-right-radius: 5px 5px;
}
tr.rowdiv {
display: table-row;
background:#fff;
margin: 0px ;
}
tr.highlight {
background: #f7f7f7;
maring: 0px;
color:#e12000;
}
a.highlight {
color:#e12000;
}
.celldiv {
float: left;
padding: 10px 20px;
margin: 0px ;
display: table-cell;
}
a {
border-bottom:1px dotted #000;
text-decoration:none;
color:#000;
}
a:hover {
color:#e12000;
border-bottom:1px dashed #e12000;
background-color:#f7f7f7;
}
th {
margin: 0px;
}
</style>
</head>
<body>
<div class="frame">
<div id="logo">
<h1><a href="">t2f</a></h1>
</div>
<table>
<thead>
<tr style="background: #eee; border: 0px; margin:0px;">
<th>Date</th>
<th>Message</th>
<th>Tags</th>
</tr>
</thead>
{% for photo in photos %}
<tr class="rowdiv" onMouseOver="this.className='highlight'" onMouseOut="this.className='rowdiv'">
<td class="celldiv">{{ photo.date }}</td>
<td class="celldiv">{{ photo.message }}</td>
TODO:
<td class="celldiv">
{% for tag in tags %}
</td>
</tr>
</table>
</div>
</body>
</html>