You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 lines
1.0 KiB

{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
{% block title %}Add Discord - {% site_name %}{% endblock %}
{% block content %}
<div class="row">
<div class="col-sm-12">
<h1>Discord</h1>
<div class="jumbotron">
<p>
With this integration, {% site_name %} will send
a notification to a <a href="http://discord.com/">Discord</a>
channel when a check
goes <strong>up</strong> or <strong>down</strong>.
</p>
<form method="post" class="text-center">
{% csrf_token %}
<a href="{{ authorize_url }}" class="btn btn-default">
<img class="ai-icon" src="{% static 'img/integrations/discord.png' %}" alt="Discord" />
Connect Discord
</a>
</form>
</div>
</div>
</div>
{% endblock %}
{% block scripts %}
{% compress js %}
<script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
{% endcompress %}
{% endblock %}