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.

47 lines
1.3 KiB

  1. {% extends "base.html" %}
  2. {% load compress humanize staticfiles hc_extras %}
  3. {% block title %}Add WebHook - healthchecks.io{% endblock %}
  4. {% block content %}
  5. <div class="row">
  6. <div class="col-sm-12">
  7. <h1>WebHook</h1>
  8. <p>WebHooks are a simple way to notify an external system when a check
  9. goes down. healthcheks.io will run a normal HTTP GET call to your
  10. specified URL.</p>
  11. <h2>Integration Settings</h2>
  12. <form method="post" class="form-horizontal" action="{% url 'hc-add-channel' %}">
  13. {% csrf_token %}
  14. <input type="hidden" name="kind" value="webhook" />
  15. <div class="form-group">
  16. <label for="inputEmail3" class="col-sm-2 control-label">URL</label>
  17. <div class="col-sm-3">
  18. <input type="text" class="form-control" name="value" placeholder="http://...">
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <div class="col-sm-offset-2 col-sm-10">
  23. <button type="submit" class="btn btn-primary">Save Integration</button>
  24. </div>
  25. </div>
  26. </form>
  27. </div>
  28. </div>
  29. </div>
  30. {% endblock %}
  31. {% block scripts %}
  32. {% compress js %}
  33. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  34. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  35. {% endcompress %}
  36. {% endblock %}