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.

31 lines
1.5 KiB

  1. <div id="copy-modal" class="modal">
  2. <div class="modal-dialog">
  3. <form action="{% url 'hc-copy' check.code %}" method="post">
  4. {% csrf_token %}
  5. <div class="modal-content">
  6. <div class="modal-header">
  7. <button type="button" class="close" data-dismiss="modal">&times;</button>
  8. <h4>Create a Copy of This Check</h4>
  9. </div>
  10. <div class="modal-body">
  11. <p>You are about to <strong>create a new check based on this
  12. check's configuration</strong>. The following items will
  13. get copied:</p>
  14. <ul class="checkmarks">
  15. <li>Name, tags and description</li>
  16. <li>Schedule</li>
  17. <li>Assigned notification methods</li>
  18. </ul>
  19. <p>The following items <em>will not</em> be copied:</p>
  20. <ul class="crosses">
  21. <li>Its URL (a new URL will be generated)</li>
  22. <li>The log of already received pings</li>
  23. </ul>
  24. </div>
  25. <div class="modal-footer">
  26. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  27. <button type="submit" class="btn btn-primary">Create a Copy</button>
  28. </div>
  29. </div>
  30. </form>
  31. </div>
  32. </div>