Commit c4f47c1a authored by Renfred Harper's avatar Renfred Harper

Add templates block

parent 9e2131d6
......@@ -4,6 +4,28 @@
{% endblock %}
{% block templates %}
<script type="text/template" id="course-template">
<div class="row" id="course-<%- id %>">
<div class="large-1 columns instrument">
<p><%- name %></p>
</div>
<div class="large-11 columns notes"></div>
</div>
</script>
<script type="text/template" id="program-template">
<div class="panel panel-primary program" id="program-<%- id %>">
<div class="panel-heading">
<h3 class="panel-title"><%= name %></h3>
</div>
<div class="panel-body">
<div class="gridster courses">
</div>
</div>
</div>
</script>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-lg-12">
......
......@@ -40,6 +40,8 @@
<title> {% block title %} {% endblock %} </title>
</head>
<body>
{% block templates %}
{% endblock %}
<div id = "wrap">
{% include 'layouts/navbar.html' %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment