From 36aaf4cdc8f978920db073aba03b136fc8a7a432 Mon Sep 17 00:00:00 2001 From: fahimkhan Date: Tue, 20 Sep 2016 17:33:40 +0530 Subject: Subject: Added layout Description: Added layput to About and Contact page. --- public/css/customstylesheet.css | 5 + routes/routes.js | 5 + views/about.html | 9 +- views/base.html | 0 views/contact.html | 13 +- views/footer.html | 8 + views/head.html | 21 +++ views/header.html | 24 +++ views/index.html | 69 ++------- views/indexes.html | 313 ++++++++++++++++++++++++++++++++++++++++ 10 files changed, 404 insertions(+), 63 deletions(-) delete mode 100644 views/base.html create mode 100644 views/footer.html create mode 100644 views/head.html create mode 100644 views/header.html create mode 100644 views/indexes.html diff --git a/public/css/customstylesheet.css b/public/css/customstylesheet.css index 26ae4b7..35fe451 100644 --- a/public/css/customstylesheet.css +++ b/public/css/customstylesheet.css @@ -11,4 +11,9 @@ body { .footer{ background: #222222; + position: fixed; + height: 50px; + bottom: 0; + width: 100%; + } diff --git a/routes/routes.js b/routes/routes.js index e20ae07..6889f74 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -10,6 +10,11 @@ module.exports = function(express,app,fs,os,io,PythonShell,scriptPath){ }); + router.get('/index',function(req,res,next){ + res.render('index',{host:app.get('host'),title:'Ngspice Simulator'}); + + }); + /*About Page*/ router.get('/about',function(req,res,next){ res.render('about',{title:'Ngspice Simulator'}); diff --git a/views/about.html b/views/about.html index c43a799..2ba0e0f 100644 --- a/views/about.html +++ b/views/about.html @@ -1,9 +1,12 @@
-@@ -13,6 +16,10 @@ The FOSSEE project is part of the National Mission on Education through Information and Communication Technology (ICT), Ministry of Human Resources and Development, Government of India.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
+
Please write your ngspice netlist in the below editor.
+ + + +Server acknowledgement goes here
+