summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/pages/index.ejs12
-rw-r--r--views/pages/login.ejs21
-rw-r--r--views/partials/header.ejs4
-rw-r--r--views/partials/login.ejs18
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>