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.

49 lines
1.5 KiB

  1. {% extends "base.html" %}
  2. {% load humanize static hc_extras %}
  3. {% block title %}Apprise Integration for {% site_name %}{% endblock %}
  4. {% block content %}
  5. <div class="row">
  6. <div class="col-sm-12">
  7. <h1>Apprise</h1>
  8. <p>
  9. Identify as many Apprise URLs as you wish. You can use a comma (,) to identify
  10. more than on URL if you wish to.
  11. For a detailed list of all supported Apprise Notification URLs simply
  12. <a href="https://github.com/caronc/apprise#popular-notification-services" >click here</a>.
  13. </p>
  14. <h2>Integration Settings</h2>
  15. <form method="post" class="form-horizontal">
  16. {% csrf_token %}
  17. <div class="form-group {{ form.room_id.css_classes }}">
  18. <label for="url" class="col-sm-2 control-label">Apprise URL</label>
  19. <div class="col-sm-6">
  20. <input
  21. id="url"
  22. type="text"
  23. class="form-control"
  24. name="url"
  25. value="{{ form.url.value|default:"" }}">
  26. {% if form.url.errors %}
  27. <div class="help-block">
  28. {{ form.url.errors|join:"" }}
  29. </div>
  30. {% endif %}
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <div class="col-sm-offset-2 col-sm-10">
  35. <button type="submit" class="btn btn-primary">Save Integration</button>
  36. </div>
  37. </div>
  38. </form>
  39. </div>
  40. </div>
  41. {% endblock %}