From e582c3b84c6090b08f33d599c354968fcd868d14 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sat, 25 May 2013 11:17:42 +0200 Subject: moved and renamed files to match the filesetup we want. havebeen using a dev-setup till now. --- app/views/project/post.ejs | 103 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 app/views/project/post.ejs (limited to 'app/views/project/post.ejs') diff --git a/app/views/project/post.ejs b/app/views/project/post.ejs new file mode 100644 index 0000000..5e8f283 --- /dev/null +++ b/app/views/project/post.ejs @@ -0,0 +1,103 @@ +<% include ../templates/header %> + + + + <% include ../templates/navbar %> + + +
+
+ + +
+ +
+ +

<%= title %>

+
+ +
+ <%= req.user.username %> +
+
+
+ +
+ +
+
+ <% + // we need to populate the date- and timefield with the current time and date + var d = new Date(); + var n = d.getFullYear() + '-' + ('0' + (d.getMonth()+1)).slice(-2) + '-' + ('0' + d.getDate()).slice(-2); + var t = d.toLocaleTimeString().slice(0, 5); + %> + +
+ +
+ + +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ + +
+
+ +
+
+ + + + + + + +
+
+ + +<% include ../templates/footer %> + + + + -- cgit v1.2.3