WU/templates/add_question.html
2019-01-16 20:00:52 +01:00

164 lines
4.8 KiB
HTML

<!DOCTYPE html>
<!--<html lang="en">-->
<html lang="pl-PL">
<head>
<meta charset="UTF-8">
<title>Python Flask App</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="signup.css">
<!-- <link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"> -->
<link href="http://getbootstrap.com/examples/jumbotron-narrow/jumbotron-narrow.css" rel="stylesheet">
<link href="../static/css/signup.css" rel="stylesheet">
<link rel="stylesheet" href="../static/css/calendar.css">
<style>
table, td, th {
border: 1px solid;
text-align: left;
}
table {
border-collapse: collapse;
/*width: 100%;*/
}
th, td {
padding: 5px;
}
ul {list-style-type: none;}
body {font-family: Verdana, sans-serif;}
/* Month header */
.month {
/*padding: 70px 25px;*/
width: 100%;
background: #1abc9c;
text-align: center;
}
/* Month list */
.month ul {
margin: 0;
padding: 0;
}
.month ul li {
color: white;
font-size: 20px;
text-transform: uppercase;
letter-spacing: 3px;
}
/* Previous button inside month header */
.month .prev {
float: left;
padding-top: 10px;
}
/* Next button */
.month .next {
float: right;
padding-top: 10px;
}
/* Weekdays (Mon-Sun) */
.weekdays {
margin: 0;
padding: 10px 0;
background-color:#ddd;
}
.weekdays li {
display: inline-block;
width: 13.6%;
color: #666;
text-align: center;
}
/* Days (1-30) */
.days {
padding: 10px 0;
background: cyan;
margin: 0;
}
.days li {
list-style-type: none;
display: inline-block;
width: 13.6%;
text-align: center;
margin-bottom: 5px;
font-size:12px;
color: #777;
}
/* Highlight the "current" day */
.days li .active {
padding: 5px;
background: #1abc9c;
color: white !important
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<nav>
<ul class="nav nav-pills pull-left">
<li><img src="/static/logo.jpg" alt="Logo" height="150" width="150" border="5" style="padding: 25px;"></li>
<!--<form><input type="button" value="Back" onClick="history.go(-1);return true;"></form>-->
<!--<li role="presentation" class="active"><input type="button" value="Back" onClick="history.go(-1);return true;">
</li>-->
<!--<li role="presentation" class="active"><form action="http://google.com"><input type="button" value="Wstecz" onClick="history.go(-1);return true;"></form></li>-->
</ul>
<ul class="nav nav-pills pull-right">
<li role="presentation" class="active"><a href="/logout">Wyloguj</a>
</li>
</ul>
</nav>
<h3 class="text-muted"><center>Python Flask</center></h3>
</div>
<div class="jumbotron" style="height: 550px;">
<h1>{{test_title}}</h1>
<p class="lead"></p>
<p>
<!-- <a class="btn btn-lg btn-success" href="#" role="button">Moje zajęcia</a> -->
<!-- <a class="btn btn-lg btn-success" href="#" role="button">Test</a> -->
<!-- <a class="btn btn-lg btn-success" href="#" role="button">Wyniki</a> -->
<form class="form-signin" action="/add_question" method="post">
<input type="text" name="inputTitle" id="inputTitle" class="form-control" placeholder="Wpisz nazwę pytania" required>
A) <input type="text" name="inputA" id="inputA" class="form-control" placeholder="Odpowiedź A" required>
B) <input type="text" name="inputB" id="inputB" class="form-control" placeholder="Odpowiedź B" required>
C) <input type="text" name="inputC" id="inputC" class="form-control" placeholder="Odpowiedź C" required>
D) <input type="text" name="inputD" id="inputD" class="form-control" placeholder="Odpowiedź D" required>
Prawidłowa odpowiedź: <input type="text" name="inputCorrect" id="inputCorrect" class="form-control" required>
</br>
<input name="submit" class="btn btn-lg btn-success" type="submit" value="Dodaj kolejne pytanie">
</input>
<input name="submit"class="btn btn-lg btn-success" type="submit" value="Zatwierdź test">
</input>
</form>
<!-- <form action="ch"> -->
<!-- <input type="submit" value="Wejdź na czat grupowy" /> -->
<!-- </form> -->
</p>
</div>
<footer class="footer">
<p>&copy; UAM 2018</p>
</footer>
</div>
</body>
</html>