{% extends "minecraft_manager/dashboard.html" %}
{% load csrf_html %}
{% block title %}Alert Info{% endblock %}
{% block section %}
<div id="content">
  <h2 class="sub-header">Alert Info</h2>
  <div class="row">
      <div class="col-xs-6 col-md-4">
          <p>Message: </p>
          <p class="well">{{ alert.message }}</p>
      </div>
      <div class="col-xs-12 col-md-8">
          <p>Date: {{ alert.date }}</p>
      </div>
  </div>
{% if alert.seen is True %}
<div class="row">
    <form method="post">{% autoescape off %}{% get_csrf_html request %}{% endautoescape %}
        <button type="submit" class="btn btn-primary" name="action" value="mu">Mark Unread</button>
    </form>
</div>
{% endif %}
</div>
{% endblock section %}
