diff options
author | fahimkhan | 2016-09-20 15:25:40 +0530 |
---|---|---|
committer | fahimkhan | 2016-09-20 15:25:40 +0530 |
commit | 5f620e4c14b2245ec1382dc2e377fa037bc83703 (patch) | |
tree | a6c160c4aeaec56ea8a81e93ff12b348ec07c0a7 /views | |
parent | af0a1e7f2d785a6f0ef01cb6fd97725bbc27de1f (diff) | |
download | Online-NgSpice-Simulator-5f620e4c14b2245ec1382dc2e377fa037bc83703.tar.gz Online-NgSpice-Simulator-5f620e4c14b2245ec1382dc2e377fa037bc83703.tar.bz2 Online-NgSpice-Simulator-5f620e4c14b2245ec1382dc2e377fa037bc83703.zip |
Subject: Replace Hogan express with ejs
Description: Replace Hogan express with ejs. Added Contact and About
page.
Diffstat (limited to 'views')
-rw-r--r-- | views/about.html | 18 | ||||
-rw-r--r-- | views/base.html | 0 | ||||
-rw-r--r-- | views/contact.html | 11 | ||||
-rw-r--r-- | views/index.html | 33 |
4 files changed, 49 insertions, 13 deletions
diff --git a/views/about.html b/views/about.html new file mode 100644 index 0000000..c43a799 --- /dev/null +++ b/views/about.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> +<head> + <title><%= title %></title> +</head> +<body> + <h1>About</h1> + <section> + <p> + FOSSEE (Free and Open Software in Education) project promotes the use of FOSS tools to improve the quality of education in our country. We aim to reduce dependency on proprietary software in educational institutions. We encourage the use of FOSS tools through various activities to ensure commercial software is replaced by equivalent FOSS tools. We also develop new FOSS tools and upgrade existing tools to meet requirements in academia and research. + </p> + <p> + 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. + </p> + </section> + +</body> +</html>
\ No newline at end of file diff --git a/views/base.html b/views/base.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/views/base.html diff --git a/views/contact.html b/views/contact.html new file mode 100644 index 0000000..946da42 --- /dev/null +++ b/views/contact.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> + <title><%= title %></title> +</head> +<body> + <h2>Welcome to contact Page</h2> + +</body> +</html> + diff --git a/views/index.html b/views/index.html index 3471303..64a05e9 100644 --- a/views/index.html +++ b/views/index.html @@ -2,7 +2,7 @@ <html lang="en">
<head>
<meta charset="UTF-8">
- <title>{{title}}</title>
+ <title><%= title %></title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="../css/bootstrap.min-3.3.6.css">
@@ -27,17 +27,24 @@ <span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Online Simulator</a>
+
</div>
<div id="navbar" class="navbar-collapse collapse">
- <!--form class="navbar-form navbar-right">
- <div class="form-group">
- <input type="text" placeholder="Email" class="form-control">
- </div>
- <div class="form-group">
- <input type="password" placeholder="Password" class="form-control">
- </div>
- <button type="submit" class="btn btn-success">Sign in</button>
- </form-->
+ <ul class="nav navbar-nav">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="/about">About</a></li>
+ <li><a href="/contact">Contact</a></li>
+ </ul>
+ <form class="navbar-form navbar-right">
+ <div class="form-group">
+ <input type="text" placeholder="Email" class="form-control">
+ </div>
+ <div class="form-group">
+ <input type="password" placeholder="Password" class="form-control">
+ </div>
+ <button type="submit" class="btn btn-success">Sign in</button>
+ <button type="submit" class="btn btn-success">Sign up</button>
+ </form
</div><!--/.navbar-collapse -->
</div>
</nav>
@@ -85,9 +92,9 @@ v(in) v(out) </div>
</form>
<div class="buttonArea">
- <button id="doSubmit" class="button">Submit</button>
- <button id="doSaveNetlist" class="button">Save Netlist</button>
- <button id="doClear" class="button">Clear Plots</button>
+ <button id="doSubmit" class="btn btn-success">Submit</button>
+ <button id="doSaveNetlist" class="btn btn-success">Save Netlist</button>
+ <button id="doClear" class="btn btn-danger">Clear Plots</button>
</div>
<hr>
|