This commit is contained in:
Robo 2016-08-17 23:24:07 +02:00
commit 839f28f56d
3 changed files with 5 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
node_modules/ node_modules/
cfg.cfg cfg.json
b/ b/

View File

@ -7,9 +7,10 @@
</head> </head>
<body> <body>
<div class="navbar"><a href="/">f0ck.me</a> | <a href="/how">how to</a> | <a href="/contact">Contact</a></div><br /> <div class="navbar"><a href="/">f0ck.me</a> | <a href="/how">how to</a> | <a href="/contact">Contact</a></div><br />
{% for item in items %}<div class="centeredthumbs"> <div class="centeredthumbs">
{% for item in items %}
<div class="mrhankyisteinneger"><a href="./{{ item }}"><img src="./t/{{ item }}.png" /></a></div> <div class="mrhankyisteinneger"><a href="./{{ item }}"><img src="./t/{{ item }}.png" /></a></div>
</div>
{% endfor %} {% endfor %}
</div>
</html> </html>
</body> </body>

View File

@ -269,7 +269,7 @@ http.createServer((req, res) => {
if(rows[3].length) if(rows[3].length)
data.first = rows[3][0].id; data.first = rows[3][0].id;
if(rows[4].length) if(rows[4].length)
data.first = rows[4][0].id; data.last = rows[4][0].id;
} }
res.writeHead(200, { 'Content-Type': 'text/html' }); res.writeHead(200, { 'Content-Type': 'text/html' });
res.end(tpl(data), 'utf-8'); res.end(tpl(data), 'utf-8');