summaryrefslogtreecommitdiff
path: root/yaksh/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/base.html')
-rw-r--r--yaksh/templates/base.html25
1 files changed, 12 insertions, 13 deletions
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index 5fd53a1..c70c265 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -1,3 +1,4 @@
+{% load static %}
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
@@ -14,12 +15,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/bootstrap.min.css">
-
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/yakshcustom.css" type="text/css" />
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/animate.min.css" type="text/css" />
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/font-awesome.css" type="text/css" />
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/ontop.css" type="text/css" />
+ <link rel="stylesheet" href="{% static 'yaksh/css/bootstrap.min.css' %}">
+ <link rel="stylesheet" href="{% static 'yaksh/css/custom.css' %}" type="text/css" />
+ <link rel="stylesheet" href="{% static 'yaksh/css/animate.min.css' %}" type="text/css" />
+ <link rel="stylesheet" href="{% static 'yaksh/css/font-awesome.css' %}" type="text/css" />
+ <link rel="stylesheet" href="{% static 'yaksh/css/ontop.css' %}" type="text/css" />
{% block meta %}
@@ -33,24 +33,23 @@
- <script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/popper.min.js"></script>
- <script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/jquery-3.3.1.min.js"></script>
- <script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/bootstrap.min.js"></script>
- <script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/wow.min.js"></script>
+ <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/popper.min.js' %}"></script>
+ <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/jquery-3.3.1.min.js' %}"></script>
+ <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/bootstrap.min.js' %}"></script>
+ <script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/wow.min.js' %}"></script>
<script>
new WOW().init();
</script>
{% block script %}
{% endblock %}
- </script>
</head>
<body {% block onload %} {% endblock %} class="yaksh">
<div id="ontop">
<div id="state">
- Checking...<img src="{{ URL_ROOT }}/static/yaksh/images/check_answer.gif"/>
+ Checking...<img src="{% static 'yaksh/images/check_answer.gif' %}"/>
</div></div>
@@ -58,7 +57,7 @@
{% block nav %}
{% endblock %}
- <div class="content">
+ <div class="base-content">
<div class="header">
<h3><center>{% block pagetitle %}{% endblock pagetitle %}</center></h3>
</div>