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.

118 lines
3.8 KiB

5 years ago
  1. {% extends "base.html" %}
  2. {% load compress humanize static hc_extras %}
  3. {% block title %}Pushover Integration for {{ site_name }}{% endblock %}
  4. {% block description %}
  5. <meta name="description" content="Use {{ site_name }} with Pushover: configure {{ site_name }} to send Pushover notifications when a checks go up or down.">
  6. {% endblock %}
  7. {% block content %}
  8. <div class="row">
  9. <div class="col-sm-12">
  10. <h1>Pushover</h1>
  11. <div class="jumbotron">
  12. {% if request.user.is_authenticated %}
  13. <p>
  14. <a href="https://www.pushover.net/">Pushover</a> delivers
  15. real-time notifications on your Android, iPhone, iPad, Desktop,
  16. Android Wear and Apple Watch. You can set up {{ site_name }} to
  17. receive Pushover notifications in a few simple steps.
  18. </p>
  19. {% else %}
  20. <p>
  21. {{ site_name }} is a <strong>free</strong> and
  22. <a href="https://github.com/healthchecks/healthchecks">open source</a>
  23. service for monitoring your cron jobs, background processes and
  24. scheduled tasks. Before adding Pushover integration, please log into
  25. {{ site_name }}:
  26. </p>
  27. <div class="text-center">
  28. <a href="{% url 'hc-login' %}"
  29. class="btn btn-primary btn-lg">Sign In</a>
  30. </div>
  31. {% endif %}
  32. </div>
  33. <h2>Setup Guide</h2>
  34. <div class="row ai-step">
  35. <div class="col-sm-6">
  36. <span class="step-no"></span>
  37. <p>
  38. {% if request.user.is_authenticated %}
  39. Go
  40. {% else %}
  41. After logging in, go
  42. {% endif %}
  43. to the <strong>Integrations</strong> page,
  44. and click on <strong>Add Integration</strong> next to the
  45. Pushover integration.
  46. </p>
  47. </div>
  48. <div class="col-sm-6">
  49. <img
  50. class="ai-guide-screenshot"
  51. alt="Screenshot"
  52. src="{% static 'img/integrations/setup_pushover_0.png' %}">
  53. </div>
  54. </div>
  55. <div class="row ai-step">
  56. <div class="col-sm-6">
  57. <span class="step-no"></span>
  58. <p>
  59. Pushover supports different notification priorities from
  60. silent to "Emergency". Select your preferred priorities
  61. and click "Subscribe with Pushover".
  62. </p>
  63. </div>
  64. <div class="col-sm-6">
  65. <img
  66. class="ai-guide-screenshot"
  67. alt="Screenshot"
  68. src="{% static 'img/integrations/setup_pushover_1.png' %}">
  69. </div>
  70. </div>
  71. <div class="row ai-step">
  72. <div class="col-sm-6">
  73. <span class="step-no"></span>
  74. <p>
  75. You will be redirected to
  76. <a href="https://pushover.net">pushover.net</a> and
  77. asked to confirm a subscription. Review the subscription
  78. details and click "Subscribe Me".
  79. </p>
  80. </div>
  81. <div class="col-sm-6">
  82. <img
  83. class="ai-guide-screenshot"
  84. alt="Screenshot"
  85. src="{% static 'img/integrations/setup_pushover_2.png' %}">
  86. </div>
  87. </div>
  88. <div class="row ai-step">
  89. <div class="col-sm-6">
  90. <span class="step-no"></span>
  91. <p>
  92. That is all! You will now be redirected back to
  93. "Integrations" page on {{ site_name }} and see
  94. the new integration!
  95. </p>
  96. </div>
  97. <div class="col-sm-6">
  98. <img
  99. class="ai-guide-screenshot"
  100. alt="Screenshot"
  101. src="{% static 'img/integrations/setup_pushover_3.png' %}">
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. {% endblock %}