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.
 
 
 
 
 

94 lines
3.4 KiB

{% 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" id="add-pushover" 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-6">
<div class="radio">
<label>
<input type="radio" name="po_priority" value="-2">
Lowest Priority.
<span class="help">
Generates no notification/alert on your device.
On iOS, the application badge number will be increased.
</span>
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="po_priority" value="-1">
Low Priority.
<span class="help">
Sends a quiet notification.
</span>
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="po_priority" value="0" checked>
Normal Priority.
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="po_priority" value="1">
<span class="text-warning">High Priority.</span>
<span class="help">
Bypasses user's quiet hours.
</span>
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="po_priority" value="-2">
<span class="text-danger">Emergency Priority.</span>
<span class="help">
The notification is repeated every
{{po_retry_delay|hc_duration }} for at most
{{ po_expiration|hc_duration }} until you
acknowledge them.
</span>
</label>
</div>
</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 %}
{% endblock %}