rebuild location index and detail view

This commit is contained in:
2017-04-27 10:35:10 +02:00
parent 9186ed2083
commit 5477a26cbb
9 changed files with 99 additions and 33 deletions

View File

@@ -0,0 +1,25 @@
{% extends 'billard/base.html' %}
{% block title %}Standort{% endblock %}
{% block content %}
<div id="desk_data">
{% include 'billard/location_detail_ajax.html' %}
</div>
<div id="modal-wrapper">
</div>
{% endblock %}
{% block js %}
<script type="text/javascript">
var interval;
$(document).ready(function() {
$.ajaxSetup({ cache: false });
interval = window.setInterval(refresh_page, 1000);
});
function refresh_page() {
$('#desk_data').load('#');
}
</script>
{% endblock %}