modals.tpl 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {# Global modal, load content by AJAX call to href attribute on anchor tag with 'ajax' class #}
  2. <div class="modal fade" id="global-modal" tabindex="-1" role="dialog" aria-labelledby="global-modal-title" aria-hidden="true">
  3. <div class="modal-dialog modal-lg">
  4. <div class="modal-content">
  5. <div class="modal-header">
  6. <button type="button" class="close" data-dismiss="modal" aria-label="{{ "Close" | get_lang }}">
  7. <span aria-hidden="true">&times;</span>
  8. </button>
  9. <h4 class="modal-title" id="global-modal-title">&nbsp;</h4>
  10. </div>
  11. <div class="modal-body" id="global-modal-body">
  12. </div>
  13. </div>
  14. </div>
  15. </div>
  16. {# Expands an image modal #}
  17. <div class="modal fade" id="expand-image-modal" tabindex="-1" role="dialog" aria-labelledby="expand-image-modal-title" aria-hidden="true">
  18. <div class="modal-dialog modal-lg">
  19. <div class="modal-content">
  20. <div class="modal-header">
  21. <button type="button" class="close" data-dismiss="modal" aria-label="{{ "Close" | get_lang }}"><span aria-hidden="true">&times;</span></button>
  22. <h4 class="modal-title" id="expand-image-modal-title">&nbsp;</h4>
  23. </div>
  24. <div class="modal-body">
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. {# Delete modal #}
  30. <div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-labelledby="confirm-delete-title" aria-hidden="true">
  31. <div class="modal-dialog">
  32. <div class="modal-content">
  33. <div class="modal-header">
  34. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  35. <h4 class="modal-title" id="myModalLabel">{{ 'Delete' | get_lang }}</h4>
  36. </div>
  37. <div class="modal-body">
  38. <p class="debug-url"></p>
  39. </div>
  40. <div class="modal-footer">
  41. <button type="button" class="btn btn-default" data-dismiss="modal">{{ 'Cancel' | get_lang }}</button>
  42. <a id="delete_item" class="btn btn-danger btn-ok">{{ 'Delete' | get_lang }}</a>
  43. </div>
  44. </div>
  45. </div>
  46. </div>