wanikaniburned/templates/quiz.html

64 lines
3.1 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="{{ url_for('static', filename='wanakana.min.js') }}"></script>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="{{ url_for('show_home') }}">
<img alt="Brand" height="24" width="24" src="{{ url_for('static', filename='burned.png')}}">
</a>
</div>
<ul class="nav navbar-nav navbar-right">
<li>
<button id="api-refresh" type="submit" class="btn btn-default navbar-btn" aria-label="Refresh API">
<span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>
</button>
</li>
<li class="navbar-text" data-toggle="tooltip" data-placement="bottom" title="Last API Refresh: {{ current_user.last_updated }}"><span><img alt="avatar" src="http://www.gravatar.com/avatar/{{ current_user.gravatar }}?s=24"></span> {{ current_user.username }}</li>
<li><a href="/logout">Logout</a></li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-md-12 text-center"><p class="question-size" id="question-area"></p><img id="question-image" src=""></div>
</div>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<input type="text" autocomplete=off id="kana" class="form-control answer-size">
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<button class="btn btn-default btn-lg" id="submit-answer">Check</button>
</div>
</div>
<div class="row">
<div id="answer" class="col-md-12 text-center help-size hidden">
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<button class="btn btn-default btn-lg" id="get-help">Reveal Answer(s)</button>
</div>
</div>
</div>
</body>
<script defer src="{{ url_for('static', filename='quiz_item.js')}}"></script>
</html>