windhamdavid 4 years ago
parent
commit
7d105f8499
4 changed files with 42 additions and 69 deletions
  1. 4 1
      src/css/main.css
  2. 26 0
      src/views/account/login.hbs
  3. 0 67
      src/views/home.hbs
  4. 12 1
      src/views/layouts/main.hbs

+ 4 - 1
src/css/main.css

@@ -162,7 +162,10 @@ header .header-content .header-content-inner p {
 ===================  Sections ======================
 ==================================================== */
 section {
-    padding:50px 0;
+  padding:50px 0;
+}
+#partial {
+  padding:150px 0;
 }
 #about {
   background-color: rgba(255,255,255,.2);

+ 26 - 0
src/views/account/login.hbs

@@ -0,0 +1,26 @@
+<form method="POST" class="form-horizontal">
+   <input type="hidden" name="_csrf" value="KcUHwvO1V3HzvKe3AfVh0s7Xrxl7mvKXJbXk0=">
+   <div class="form-group">
+      <label for="email" class="col-sm-3 control-label">Email</label>
+      <div class="col-sm-7">
+         <input type="email" name="email" id="email" placeholder="Email" autofocus class="form-control">
+      </div>
+   </div>
+   <div class="form-group">
+      <label for="password" class="col-sm-3 control-label">Password</label>
+      <div class="col-sm-7">
+         <input type="password" name="password" id="password" placeholder="Password" class="form-control">
+      </div>
+   </div>
+   <div class="form-group">
+      <div class="col-sm-offset-3 col-sm-7">
+         <button type="submit" class="col-sm-3 btn btn-primary"><i class="fa fa-user"></i>Login</button>
+         <a href="/forgot" class="btn btn-link">Forgot your password?</a>
+      </div>
+   </div>
+   <div class="form-group">
+      <div class="col-sm-offset-3 col-sm-7">
+         <hr>
+      </div>
+   </div>
+</form>

+ 0 - 67
src/views/home.hbs

@@ -1,67 +0,0 @@
-<!DOCTYPE html>
-<head>
-   <meta charset="utf-8">
-   <meta http-equiv="x-ua-compatible" content="ie=edge">
-   <meta name="viewport" content="width=device-width, initial-scale=1">
-   <title></title>
-   <meta name="description" content="Juryd Judging Everything">
-   <link rel="stylesheet" href="css/style.min.css">
-</head>
-<body>
-
- <nav id="mainNav" class="navbar navbar-default navbar-fixed-top">
-     <div class="container">
-         <div class="navbar-header">
-             <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
-                 <span class="sr-only">Toggle navigation</span>
-                 <span class="icon-bar"></span>
-                 <span class="icon-bar"></span>
-                 <span class="icon-bar"></span>
-             </button>
-             <a class="navbar-brand page-scroll" href="#page-top">Juryd</a>
-         </div>
-
-         <div class="collapse navbar-collapse" id="navbar-collapse">
-             <ul class="nav navbar-nav navbar-right">
-                 <li><a class="btn page-scroll" href="#">Sign In</a></li>
-             </ul>
-         </div>
-     </div>
- </nav>
-
-{{{body}}}
-
-
-<footer class="bg-dark">
-   <div class="container bg-dark">
-      <div class="row">
-         <div class="col-sm-3 col-sm-offset-2">
-            <h5>About</h5>
-            <p>Documentation</p>
-            <p>History</p>
-            <p>About Us</p>
-         </div>
-         <div class="col-sm-3">
-            <h5>Support</h5>
-            <p>System Status</p>
-            <p>Support Ticket</p>
-            <p>Account Preferences</p>
-         </div>
-         <div class="col-sm-3">
-            <h5>About</h5>
-            <p>Contact</p>
-            <p>Privacy Policy</p>
-            <p>Terms of Use</p>
-         </div>
-      </div>
-   </div>
-</footer>
-   
-<script src="js/lib.min.js"></script>
-<script src="js/main.min.js"></script>
- <!--[if lt IE 9]>
-   <script src="js/html5shiv.min.js"></script>
-   <script src="js/respond.min.js"></script>
- <![endif]-->
-</body>
-</html>

+ 12 - 1
src/views/layouts/main.hbs

@@ -29,7 +29,18 @@
      </div>
  </nav>
 
-{{body}}
+<section id="partial">
+   <div class="container">
+      <div class="row">
+         <h1>{{Title}}</h1>
+         <div class="col-sm-8 col-sm-offset-2">
+            {{{body}}}
+         </div>
+      </div>
+   </div>
+</section>
+
+
 
 
 <footer class="bg-dark">