registration and other stuff

This commit is contained in:
Matthew Scragg 2013-10-03 09:58:07 -05:00
parent 613d1c6ca3
commit cba28239a2
13 changed files with 326 additions and 50 deletions

View file

@ -1,15 +1,20 @@
{% extends 'layout.html' %}
{% block body %}
<div id="page-content" style="display:none">
{{ page.data|safe }}
</div>
<div class="controls pull-right">
<a class="btn btn-default btn-sm" href="/edit/{{ name }}">Edit</a>
<a class="btn btn-default btn-sm" href="/history/{{ name }}">History</a>
</div>
<div id="page-content" style="display:none">
{{ page.data|safe }}
</div>
{% endblock %}
{% block js %}
<script>
$(function(){
$("#page-content").html(converter({{ page.data|tojson|safe }})).show();
});
</script>
<script>
$(function(){
$("#page-content").html(converter({{ page.data|tojson|safe }})).show();
});
</script>
{% endblock %}