{% extends 'web_template/index.html' %}
|
{% load i18n %}
|
{% load static %}
|
{% load problemparser %}
|
{% block stylesheets %}
|
{{ block.super }}
|
<link rel="stylesheet" type="text/css" href="{% static 'datatables/media/css/dataTables.bootstrap.min.css' %}">
|
<link rel="stylesheet" type="text/css" href="{% static 'exam/draggable.css' %}">
|
{% endblock %}
|
{% block page_name %}
|
<!-- {% blocktrans with type=exam.type subject=exam.subject date=exam.date %}{{ type }} on {{ subject }} ({{ date }}){% endblocktrans %} -->
|
<div class="info-box">
|
<span class="info-box-icon bg-aqua"><i class="fa fa-info-circle"></i></span>
|
<div class="info-box-content">
|
<span class="info-box-text">{{ exam.type }}</span>
|
<span class='info-box-number'>{{ exam.subject.name }}, {{ exam.study_type.name }}</span>
|
<span class="info-box-text">{{ exam.date }}</span>
|
<p class='info-box-text'>{{ exam.user.name }} ({{ exam.user }})</p>
|
<!-- /.info-box-content -->
|
</div>
|
<!-- /.info-box -->
|
</div>
|
|
|
|
{% endblock %}
|
{% block page_description %}
|
{% endblock %}
|
{%block content %}
|
<form method="post" class="post-form" url='{% url 'examupload' 1 %}' enctype="multipart/form-data">
|
{% csrf_token %}
|
{{ form.as_p }}
|
<input type="submit" value="Submit" />
|
</form>
|
{% endblock %}
|
|
|
{% block extra_foot %}
|
{{ block.super }}
|
<script src='{% static 'datatables/media/js/jquery.dataTables.min.js' %}'></script>
|
<script src='{% static 'datatables/media/js/dataTables.bootstrap.min.js' %}'></script>
|
<script src='{% static 'jquery-sortable/source/js/jquery-sortable-min.js' %}'></script>
|
|
|
|
{% endblock %}
|