From 66c8b8a90a8232d292a4b0905d2ef88031bbf2fb Mon Sep 17 00:00:00 2001
From: Andreas <andreasv@fsmpi.rwth-aachen.de>
Date: Sun, 16 Oct 2016 23:21:37 +0200
Subject: [PATCH] made all buttons look the same. closes #157

---
 templates/base.html    | 2 +-
 templates/lecture.html | 2 +-
 templates/login.html   | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/templates/base.html b/templates/base.html
index fb475f1..58d0545 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -86,7 +86,7 @@
 										{
 											html:true,
 											title:'Login für Moderatoren',
-											content:'<form method="post" action="{{url_for('login', ref=request.values.get('ref', request.url))}}"><input autofocus placeholder="User" name="user" type="text"><br><input placeholder="Password" name="password" type="password"><br><input type="submit" value="Login"></form>'
+											content:'<form method="post" action="{{url_for('login', ref=request.values.get('ref', request.url))}}"><input autofocus placeholder="User" name="user" type="text" class="form-control"><input placeholder="Password" name="password" type="password" class="form-control"><br><input type="submit" value="Login" class="btn btn-default"></form>'
 										}
 										)
 							</script>
diff --git a/templates/lecture.html b/templates/lecture.html
index ff63a94..4c25ec5 100644
--- a/templates/lecture.html
+++ b/templates/lecture.html
@@ -93,7 +93,7 @@ $(function() {
 					var m = zeropad( Math.trunc((timestamp%3600)/60),2);
 					var s = zeropad( Math.trunc(timestamp%60),2);
 					var timeasstring = h+':'+m+':'+s;
-					return '<form method="post" data-url="{{ url_for('suggest_chapter', lectureid=lecture.id) }}" onSubmit="return hintchapterclick(this);"><input placeholder="00:00.000" name="time" type="text" value="'+timeasstring+'"><br><input placeholder="Kapitel" name="text" type="texz"><br><input type="submit" value="Vorschlagen"></form>';
+					return '<form method="post" data-url="{{ url_for('suggest_chapter', lectureid=lecture.id) }}" onSubmit="return hintchapterclick(this);"><input class="form-control" placeholder="00:00.000" name="time" type="text" value="'+timeasstring+'"><br><input class="form-control" placeholder="Kapitel" name="text" type="texz"><br><input type="submit" class="btn btn-default" value="Vorschlagen"></form>';
 				}
 			})
 
diff --git a/templates/login.html b/templates/login.html
index c885172..110b5f3 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -4,14 +4,14 @@
 	<div class="panel-heading">
 		<h1 class="panel-title">Login für Moderatoren</h1>
 	</div>
-	<div class="panel-body">
+	<div class="panel-body input-group">
 		<form method="post" action="login">
-			<input placeholder="User" name="user" type="text"><br>
-			<input placeholder="Password" name="password" type="password"><br>
+			<input class="form-control" placeholder="User" name="user" type="text"><br>
+			<input class="form-control" placeholder="Password" name="password" type="password"><br>
 			{% if 'ref' in request.values %}
 			<input type="hidden" name="ref" value="{{ request.values.ref|e }}">
 			{% endif %}
-			<input type="submit" value="Login">
+			<input class="btn btn-default" type="submit" value="Login">
 		</form>
 	</div>
 </div>
-- 
GitLab