From 8f3dff023cf8809bbd56c0a3a6c8d59ac614a275 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 7 May 2013 10:38:41 +0200 Subject: added post-page --- controllers/system.js | 6 ++-- views/newProject.ejs | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++ views/newproject.ejs | 81 --------------------------------------------------- 3 files changed, 84 insertions(+), 84 deletions(-) create mode 100644 views/newProject.ejs delete mode 100644 views/newproject.ejs diff --git a/controllers/system.js b/controllers/system.js index 0be82d1..40e13e8 100644 --- a/controllers/system.js +++ b/controllers/system.js @@ -109,11 +109,11 @@ exports.projectParticipants = function(req, res) { exports.postProjectParticipants = function(req, res) { - - } exports.projectPost = function(req, res) { + res.render('projectPost', { title: 'Legg til utgift', loggedin: true, req: req }); + } @@ -122,7 +122,7 @@ exports.postProjectPost = function(req, res) { } exports.newProject = function(req, res) { - res.render('newproject', { title: 'Nytt prosjekt', loggedin: true }); + res.render('newProject', { title: 'Nytt prosjekt', loggedin: true }); } exports.postNewProject = function(req, res) { diff --git a/views/newProject.ejs b/views/newProject.ejs new file mode 100644 index 0000000..5559a9c --- /dev/null +++ b/views/newProject.ejs @@ -0,0 +1,81 @@ +<% include header %> + + + + <% include navbar %> + + +
+
+ + +
+
+ +

<%= title %>

+ +
+ +
+
+ u/fb.dennis.se/ + +
+

Navnet på prosjektet du vil lage

+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ + +
+
+ + +
+ +
+ + +
+
+ +
+
+ + + + + + + +
+
+ + +<% include footer %> + + diff --git a/views/newproject.ejs b/views/newproject.ejs deleted file mode 100644 index 5559a9c..0000000 --- a/views/newproject.ejs +++ /dev/null @@ -1,81 +0,0 @@ -<% include header %> - - - - <% include navbar %> - - -
-
- - -
-
- -

<%= title %>

- -
- -
-
- u/fb.dennis.se/ - -
-

Navnet på prosjektet du vil lage

-
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- - -
-
- - -
- -
- - -
-
- -
-
- - - - - - - -
-
- - -<% include footer %> - - -- cgit v1.2.3