From 901b378912055684645b901e857f7b055fff3c87 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Mon, 13 May 2013 17:40:14 -0400 Subject: [PATCH] css fix --- public/templates/accountedit.tpl | 107 ++++++++++++++++--------------- src/webserver.js | 6 +- 2 files changed, 61 insertions(+), 52 deletions(-) diff --git a/public/templates/accountedit.tpl b/public/templates/accountedit.tpl index 195f9bbcc0..f2ed3d5e70 100644 --- a/public/templates/accountedit.tpl +++ b/public/templates/accountedit.tpl @@ -73,57 +73,62 @@ edit -
-
- change picture -
- - -
-
-
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- - - - - -
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ + + + + +
+
+
diff --git a/src/webserver.js b/src/webserver.js index 4608a6401d..7cb4904b37 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -347,7 +347,11 @@ var express = require('express'), if(data) { data.joindate = utils.relativeTime(data.joindate); - data.age = new Date().getFullYear() - new Date(data.birthday).getFullYear();; + data.age = new Date().getFullYear() - new Date(data.birthday).getFullYear(); + + console.log(data.birthday); + console.log(new Date(data.birthday).getFullYear()); + data.uid = uid; callback({