minecraft_manager/templates/minecraft_manager/warning_add.html

31 lines
889 B
HTML

{% extends "minecraft_manager/dashboard.html" %}
{% load csrf_html %}
{% block title %}Add Warning{% endblock %}
{% block section %}
<div id="content">
<h2 class="sub-header">New Warning</h2>
<div class="row">
<div class="col-xs-18 col-md-12">
<form action="" method="post">{% autoescape off %}{% get_csrf_html request %}{% endautoescape %}
<p><label for="">Player Filter:</label> <input id="id_filter" type="text"/></p>
{{ form }}
<button id="saveButton" class="btn btn-primary" type="submit">Save</button>
</form>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-md-4">
</div>
<div class="col-xs-12 col-md-8">
</div>
</div>
</div>
<script>
$(document).ready(function() {
$("#id_player").filterByText($("#id_filter"));
});
</script>
{% endblock section %}