Started editing and adding real content.

This commit is contained in:
José Carlos Cuevas 2013-06-01 22:07:39 +02:00
parent fa596ab21c
commit 4b09e35748
2 changed files with 2 additions and 4 deletions

View file

@ -53,8 +53,8 @@ app.use(express.static(__dirname + '/public'));
app.get('/', function (req, res) {
var player_number = 0;
database.get("SELECT COUNT(*) FROM players", function (err, row) {
player_number = row;
database.get("SELECT * FROM players", function (err, row) {
player_number = row.count;
});
res.render('index',

View file

@ -3,8 +3,6 @@ block content
h2 Summary
p
| Registered players: #{player_num}
| vehicula. Sed auctor neque eu tellus
| rhuncus ut eleifend nibh porttitor. Ut in.
p
| Donec congue lacinia dui, a porttitor
| lectus condimentum laoreet. Nunc eu