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.

114 lines
3.6 KiB

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