2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-22 21:27:58 +01:00
brutaldon-interfaccia-web-m.../brutaldon/templates/main/post.html

24 lines
632 B
HTML
Raw Permalink Normal View History

2018-04-30 14:58:10 +02:00
{% extends "base.html" %}
{% load static %}
2018-04-30 14:58:10 +02:00
2018-07-18 19:48:33 +02:00
{% block title %} Brutaldon ({{ own_acct.username }}) - toot {% endblock %}
2018-04-30 14:58:10 +02:00
{% block content %}
<h1 class="title" >Toot!</h1>
<div class="box">
{% include "main/post_partial.html" %}
</div>
{% endblock %}
{% block page_scripts_inline %}
<script type="application/javascript">
document.addEventListener('DOMContentLoaded', function () {
Mousetrap.bind('ctrl+enter', function(e) {
var form = document.querySelector('#post-form');
form.submit();
return true;
});
});
</script>
{% endblock %}