diff --git a/chanbans/templates/index.html b/chanbans/templates/index.html index 051125b..ff33dae 100644 --- a/chanbans/templates/index.html +++ b/chanbans/templates/index.html @@ -41,36 +41,39 @@ {% for post in posts %} -
-
- - /{{post['board']}}/ - {{post['sub']|safe}} - - {{post['name']}} - {% if post['trip'] %} - {{post['trip']}} - {% endif %} - - {{post['now']}} - No. XXX -
- {% if post['thumb_path'] %} -
-
- - File: {{post['tim']}}{{post['ext']}} - ({{post['fsize']}}, {{post['w']}}x{{post['h']}}, {{post['filename']}}{{post['ext']}}) +
+
+
+ + {% if post['thumb_path'] %} +
+
+ + File: {{post['tim']}}{{post['ext']}} + ({{post['fsize']}}, {{post['w']}}x{{post['h']}}, {{post['filename']}}{{post['ext']}}) + +
+ +
- - - -
- {% endif %} -
- {{post['com']|safe}} -
+ {% endif %} +
+ {{post['com']|safe}} +
+
{{post['action']}} diff --git a/static/style00.css b/static/style00.css index dcc4ca9..1c41620 100644 --- a/static/style00.css +++ b/static/style00.css @@ -42,6 +42,28 @@ header { font-size: large; } +.post-container { + height: 100%; + width: 100%; + display: table; +} + +.post-left { + display: table-cell; + width: 5px; +} + +.post-left-op { + display: table-cell; + width: 5px; + background-color: #f00; +} + +.post-right { + display: table-cell; + padding-left: 10px; +} + table { border-top: 1px solid black; border-left: 1px solid black;