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

  1. {% extends "base.html" %}
  2. {% load compress humanize staticfiles hc_extras %}
  3. {% block title %}Add Discord - {% site_name %}{% endblock %}
  4. {% block content %}
  5. <div class="row">
  6. <div class="col-sm-12">
  7. <h1>Discord</h1>
  8. <div class="jumbotron">
  9. <p>
  10. With this integration, {% site_name %} will send
  11. a notification to a <a href="http://discord.com/">Discord</a>
  12. channel when a check
  13. goes <strong>up</strong> or <strong>down</strong>.
  14. </p>
  15. <form method="post" class="text-center">
  16. {% csrf_token %}
  17. <a href="{{ authorize_url }}" class="btn btn-default">
  18. <img class="ai-icon" src="{% static 'img/integrations/discord.png' %}" alt="Discord" />
  19. Connect Discord
  20. </a>
  21. </form>
  22. </div>
  23. </div>
  24. </div>
  25. {% endblock %}
  26. {% block scripts %}
  27. {% compress js %}
  28. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  29. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  30. {% endcompress %}
  31. {% endblock %}