2012-08-30 07:14:46 +00:00
|
|
|
{% extends "site_base.html" %}
|
|
|
|
|
2012-08-31 04:57:25 +00:00
|
|
|
{% load i18n %}
|
|
|
|
{% load bootstrap_tags %}
|
|
|
|
|
2012-08-30 07:14:46 +00:00
|
|
|
{% block head_title %}Conference Schedule Edit{% endblock %}
|
|
|
|
|
|
|
|
{% block body_class %}full{% endblock %}
|
|
|
|
|
|
|
|
{% block right %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block extra_head %}
|
2012-08-31 06:30:40 +00:00
|
|
|
<link rel="stylesheet" href="{{ STATIC_URL }}chosen/chosen.css" />
|
2012-08-30 07:14:46 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
2012-08-30 16:17:10 +00:00
|
|
|
{% block body_outer %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="span12">
|
|
|
|
<h1>Schedule Edit</h1>
|
2012-08-30 07:14:46 +00:00
|
|
|
|
2012-08-30 16:17:10 +00:00
|
|
|
{% for timetable in days %}
|
|
|
|
<h2>{{ timetable.day.date }}</h2>
|
2012-09-21 02:02:02 +00:00
|
|
|
{% include "schedule/_edit_grid.html" %}
|
2012-08-30 16:17:10 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2012-08-31 04:57:25 +00:00
|
|
|
|
2012-09-14 05:17:32 +00:00
|
|
|
<div class="modal fade hide in" id="slotEditModal"></div>
|
2012-08-30 16:17:10 +00:00
|
|
|
</div>
|
2012-08-30 07:14:46 +00:00
|
|
|
{% endblock %}
|
2012-08-31 04:57:25 +00:00
|
|
|
|
|
|
|
{% block extra_script %}
|
2012-08-31 06:30:40 +00:00
|
|
|
<script src="{{ STATIC_URL }}chosen/chosen.jquery.min.js" type="text/javascript"></script>
|
2012-08-31 04:57:25 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
2012-09-21 02:59:01 +00:00
|
|
|
$("a.edit-slot").click(function(e) {
|
2012-09-14 05:17:32 +00:00
|
|
|
$("#slotEditModal").load($(this).data("action"), function() {
|
|
|
|
$("#id_presentation").chosen();
|
|
|
|
$("#slotEditModal").modal("show");
|
|
|
|
});
|
2012-09-21 02:59:01 +00:00
|
|
|
e.preventDefault();
|
2012-08-31 04:57:25 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|