diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-09-03 18:31:54 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-09-03 18:31:54 -0400 |
| commit | df4892fb2b7abdbdc59ae7f9a7048b3fee1f9a07 (patch) | |
| tree | 02e61e3e40caa79de43e4d19ecf25c0c1c7fb304 /views | |
| parent | c4f8d3508367de71f708825ccba48096f3490f1f (diff) | |
starting to write apis
Diffstat (limited to 'views')
| -rw-r--r-- | views/pages/index.ejs | 12 | ||||
| -rw-r--r-- | views/pages/login.ejs | 21 | ||||
| -rw-r--r-- | views/partials/header.ejs | 4 | ||||
| -rw-r--r-- | views/partials/login.ejs | 18 |
4 files changed, 35 insertions, 20 deletions
diff --git a/views/pages/index.ejs b/views/pages/index.ejs index dea659f..9924a2b 100644 --- a/views/pages/index.ejs +++ b/views/pages/index.ejs @@ -1,2 +1,14 @@ <% include ../partials/header %> + +<hr> + +<div id="sidebar"> + <div class="bluebox"> + welcome to bucky + </div> +</div> + +<div id="content"> +</div> + <% include ../partials/footer %> diff --git a/views/pages/login.ejs b/views/pages/login.ejs index 722e1a3..7c56c2f 100644 --- a/views/pages/login.ejs +++ b/views/pages/login.ejs @@ -1,3 +1,22 @@ <% include ../partials/header %> -<% include ../partials/login %> + +<div id="login"> + <form> + <div> + <label for="username">username</label> + <input type="text" id="login-username" name="username"> + </div> + + <div> + <label for="password">password</label> + <input type="password" id="login-password" name="password"> + </div> + + <div> + <label for="login-submit"></label> + <button id="login-submit">LOGIN</button> + </div> + </form> +</div> + <% include ../partials/footer %> diff --git a/views/partials/header.ejs b/views/partials/header.ejs index 43c4465..3074c0a 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -5,4 +5,6 @@ <link rel="stylesheet" href="/assets/css/bucky.css"> <meta name="_csrf" value="<%= csrfToken %>"> </head> -<body>
\ No newline at end of file +<body> + +<h1><%= title %></h1> diff --git a/views/partials/login.ejs b/views/partials/login.ejs deleted file mode 100644 index b5e8c04..0000000 --- a/views/partials/login.ejs +++ /dev/null @@ -1,18 +0,0 @@ -<div id="login"> - <form> - <div> - <label for="username">username</label> - <input type="text" id="login-username" name="username"> - </div> - - <div> - <label for="password">password</label> - <input type="password" id="login-password" name="password"> - </div> - - <div> - <label for="login-submit"></label> - <button id="login-submit">LOGIN</button> - </div> - </form> -</div> |
