mmg/templates/index.html

28 lines
1.1 KiB
HTML
Raw Normal View History

2013-04-23 18:02:59 -07:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/static/math.css" rel="stylesheet" media="screen">
2013-04-23 18:02:59 -07:00
</head>
<body>
<section id="content">
<form method="post" action="{% url 'mmg.views.answer' %}">
{% csrf_token %}
<div class="number question">
<span class="number" id="first">{{ form.first.value }}</span>
<span class="number" id="operation">{{ form.operation.value }}</span>
<span class="number" id="second">{{ form.second.value }}</span>
</div>
{{ form.first }}
{{ form.operation }}
{{ form.second }}
{{ form.answer }}
<input type="submit" name="check" value="check"/>
</form>
2013-04-23 18:02:59 -07:00
</section>
<script src="/static/jquery-2.0.0.min.js"></script>
<script src="/static/math.js"></script>
</body>
</html>