summaryrefslogtreecommitdiff
path: root/views/login.html
diff options
context:
space:
mode:
authorHorus32015-03-20 18:05:18 +0100
committerHorus32015-03-20 18:05:18 +0100
commit17bea88eb3f6e2bc5f63641437a997cc8bd32881 (patch)
treeb683c2db5abdd134bd5e41ced9e257655fe40578 /views/login.html
parent410504e069d37c522dca6bf820e9fc4cea2de871 (diff)
downloadfreemail-17bea88eb3f6e2bc5f63641437a997cc8bd32881.tar.gz
Too much CSS for now.
Diffstat (limited to 'views/login.html')
-rw-r--r--views/login.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/views/login.html b/views/login.html
new file mode 100644
index 0000000..d7a3865
--- /dev/null
+++ b/views/login.html
@@ -0,0 +1,62 @@
+{{template "header.html"}}
+{{template "navbar.html"}}
+<div class="container">
+ <div class="row">
+{{range .Error}}
+<h4 class="col-md-4 col-md-offset-4 alert alert-danger alert-dismissible" role="alert">
+ <button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">&times;</span></button>
+ {{.}}
+</h4>
+{{end}}
+{{range .Success}}
+<h4 class="col-md-4 col-md-offset-4 alert alert-success alert-dismissible" role="alert">
+ <button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">&times;</span></button>
+ {{.}}
+</h4>
+{{end}}
+ </div>
+</div>
+<div class="container">
+ <div class="row">
+ </div>
+</div>
+<div class="container">
+ <div class="row">
+<form class="form-horizontal" method='post' action='/login'>
+ <fieldset>
+
+ <!-- Form Name -->
+ <div class="text-center">
+ <legend>Login!</legend>
+ </div>
+
+ <!-- Text input-->
+ <div class="form-group">
+ <label class="col-md-4 control-label" for="Name">Name:</label>
+ <div class="col-md-4">
+ <input id="Name" name="Name" placeholder="Your Name" class="form-control input-md" required="" type="text">
+ </div>
+ </div>
+
+ <!-- Text input-->
+ <div class="form-group">
+ <label class="col-md-4 control-label" for="Password">Password:</label>
+ <div class="col-md-4">
+ <input id="Password" name="Password" placeholder="Your Password" class="form-control input-md" required="" type="password">
+ </div>
+ </div>
+
+ <!-- Button -->
+ <div class="form-group">
+ <label class="col-md-4 control-label" for="submit"></label>
+ <div class="col-md-4">
+ <button class="btn btn-primary btn-raised">Submit</button>
+ </div>
+ </div>
+
+ </fieldset>
+</form>
+
+ </div>
+</div>
+{{template "footer.html"}}