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.

58 lines
1.6 KiB

9 years ago
  1. {% extends "base.html" %}
  2. {% load compress humanize staticfiles hc_extras %}
  3. {% block title %}Notification Channels - {% site_name %}{% endblock %}
  4. {% block content %}
  5. <div class="row">
  6. <div class="col-sm-12">
  7. <h1>Email</h1>
  8. <p>Get an email message when check goes up or down.</p>
  9. <p>
  10. <strong>Tip:</strong>
  11. Add multiple email addresses, to notify multiple team members.
  12. </p>
  13. <p>
  14. <strong>Confirmation needed.</strong>
  15. After entering an email address, {% site_name %} will send out a confirmation link.
  16. Only confirmed addresses will receive notifications.
  17. </p>
  18. <h2>Integration Settings</h2>
  19. <form method="post" class="form-horizontal" action="{% url 'hc-add-channel' %}">
  20. {% csrf_token %}
  21. <input type="hidden" name="kind" value="email" />
  22. <div class="form-group">
  23. <label for="id_email" class="col-sm-2 control-label">Email</label>
  24. <div class="col-sm-3">
  25. <input
  26. id="id_email"
  27. type="email"
  28. class="form-control"
  29. name="value"
  30. placeholder="[email protected]">
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <div class="col-sm-offset-2 col-sm-10">
  35. <button type="submit" class="btn btn-primary">Save Integration</button>
  36. </div>
  37. </div>
  38. </form>
  39. </div>
  40. </div>
  41. {% endblock %}
  42. {% block scripts %}
  43. {% compress js %}
  44. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  45. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  46. {% endcompress %}
  47. {% endblock %}