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.

93 lines
2.8 KiB

  1. {% extends "base.html" %}
  2. {% load compress humanize staticfiles hc_extras %}
  3. {% block title %}Notification Channels - healthchecks.io{% endblock %}
  4. {% block content %}
  5. <div class="row">
  6. <div class="col-sm-12">
  7. <h1>HipChat</h1>
  8. <p>If your team uses <a href="https://www.hipchat.com/">HipChat</a>,
  9. you can set up healthchecks.io to post status updates directly to an
  10. appropriate HipChat room.</p>
  11. <h2>Setup Guide</h2>
  12. <div class="row ai-step">
  13. <div class="col-sm-6">
  14. <span class="step-no">1</span>
  15. Log into your HipChat account and
  16. pick an appropriate room. From the options menu
  17. select <strong>Integrations...</strong>
  18. </div>
  19. <div class="col-sm-6">
  20. <img
  21. class="ai-guide-screenshot"
  22. src="{% static 'img/integrations/setup_hipchat_1.png' %}">
  23. </div>
  24. </div>
  25. <div class="row ai-step">
  26. <div class="col-sm-6">
  27. <span class="step-no">2</span>
  28. <p>
  29. From the list of available integrations, select
  30. <strong>Build Your Own</strong>. It's at the very top.
  31. </p>
  32. <p>
  33. Give it a descriptive name
  34. and click <strong>Create</strong>.
  35. </p>
  36. </div>
  37. <div class="col-sm-6">
  38. <img
  39. class="ai-guide-screenshot"
  40. src="{% static 'img/integrations/setup_hipchat_2.png' %}">
  41. </div> </div>
  42. <div class="row ai-step">
  43. <div class="col-sm-6">
  44. <span class="step-no">3</span>
  45. <p>Copy the displayed <strong>URL</strong> and paste it down below.</p>
  46. <p>Save the integration, and it's done!</p>
  47. </div>
  48. <div class="col-sm-6">
  49. <img
  50. class="ai-guide-screenshot"
  51. src="{% static 'img/integrations/setup_hipchat_3.png' %}">
  52. </div>
  53. </div>
  54. <h2>Integration Settings</h2>
  55. <form method="post" class="form-horizontal" action="{% url 'hc-add-channel' %}">
  56. {% csrf_token %}
  57. <input type="hidden" name="kind" value="hipchat" />
  58. <div class="form-group">
  59. <label for="inputEmail3" class="col-sm-2 control-label">Callback URL</label>
  60. <div class="col-sm-10">
  61. <input type="text" class="form-control" name="value" placeholder="">
  62. </div>
  63. </div>
  64. <div class="form-group">
  65. <div class="col-sm-offset-2 col-sm-10">
  66. <button type="submit" class="btn btn-primary">Save Integration</button>
  67. </div>
  68. </div>
  69. </form>
  70. </div>
  71. </div>
  72. </div>
  73. {% endblock %}
  74. {% block scripts %}
  75. {% compress js %}
  76. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  77. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  78. {% endcompress %}
  79. {% endblock %}