|
|
- {% extends "base.html" %}
- {% load compress humanize staticfiles hc_extras %}
-
- {% block title %}Add Pushover - healthchecks.io{% endblock %}
-
-
- {% block content %}
- <div class="row">
- <div class="col-sm-12">
- <h1>Pushover</h1>
-
- <p><a href="https://www.pushover.net/">Pushover</a> is a service to receive
- instant push notifications on your phone or tablet from a variety of
- sources. If you bought the app on your mobile device, you can integrate it
- with your healthchecks.io account in a few simple steps.</p>
-
- <h2>Integration Settings</h2>
-
- <form method="post" class="form-horizontal" action="{% url 'hc-add-pushover' %}">
- {% csrf_token %}
- <div class="form-group">
- <label for="po_priority" class="col-sm-2 control-label">Notification priority</label>
- <div class="col-sm-3">
- <select class="form-control" id="po_priority" name="po_priority">
- <option value="-2">Lowest</option>
- <option value="-1">Low</option>
- <option value="0" selected>Normal</option>
- <option value="1">High</option>
- <option value="2"
- data-toggle="tooltip" data-placement="right"
- title="Emergency notifications will be repeated every
- {{po_retry_delay|hc_duration }} for at most
- {{ po_expiration|hc_duration }} until you
- acknowledge them.">
- Emergency
- </option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-2 col-sm-10">
- <button type="submit" class="btn btn-default">
- <img class="ai-icon" src="{% static 'img/integrations/pushover.png' %}" alt="Pushover" />
- Subscribe with Pushover
- </button>
- </div>
- </div>
- </form>
- </div>
- </div>
- {% endblock %}
-
- {% block scripts %}
- {% compress js %}
- <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
- <script src="{% static 'js/bootstrap.min.js' %}"></script>
- {% endcompress %}
- <script>$(function() {
- $('[data-toggle="tooltip"]').tooltip({container: 'body'});
- })</script>
- {% endblock %}
|