Açıklama Yok

manage_case_templates.html 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {% extends "layouts/default.html" %}
  2. {% block title %} Manage Case Templates {% endblock title %}
  3. {% block stylesheets %}
  4. {% endblock stylesheets %}
  5. {% block content %}
  6. {% if current_user.is_authenticated %}
  7. {{ form.hidden_tag() }}
  8. <div class="page-inner">
  9. <div class="row">
  10. <div class="col-md-12">
  11. <div class="card">
  12. <div class="card-header">
  13. <div class="row">
  14. <div class="col">
  15. <div class="card-title">Case Templates</div>
  16. </div>
  17. <div class="col">
  18. <button type="button" class="btn btn-sm btn-dark float-right ml-2" onclick="refresh_case_template_table();">
  19. Refresh
  20. </button>
  21. <button class="btn btn-sm btn-dark float-right ml-2" onclick="add_case_template();">
  22. Add case template
  23. </button>
  24. <button class="btn btn-sm btn-dark float-right ml-2" onclick="fire_upload_case_template();">
  25. Upload case template
  26. </button>
  27. </div>
  28. </div>
  29. </div>
  30. <div class="card-body">
  31. <div class="table-responsive" id="hooks_table_wrapper">
  32. <div class="selectgroup">
  33. <span id="table_buttons"></span>
  34. </div>
  35. <table aria-describedby="Case template list"
  36. class="table display table table-striped table-hover"
  37. style="width: 100%; border-spacing: 0;" id="case_templates_table">
  38. <thead>
  39. <tr>
  40. <th scope="col">#ID</th>
  41. <th scope="col">Name</th>
  42. <th scope="col">Description</th>
  43. <th scope="col">Added by</th>
  44. <th scope="col">Created at</th>
  45. <th scope="col">Updated at</th>
  46. </tr>
  47. </thead>
  48. <tfoot>
  49. <tr>
  50. <th scope="col">#ID</th>
  51. <th scope="col">Name</th>
  52. <th scope="col">Description</th>
  53. <th scope="col">Added by</th>
  54. <th scope="col">Created at</th>
  55. <th scope="col">Updated at</th>
  56. </tr>
  57. </tfoot>
  58. </table>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="modal" tabindex="-1" id="modal_case_template" data-backdrop="true">
  66. <div class="modal-xxl modal-dialog" role="document">
  67. <div class="modal-content" id="modal_case_template_json">
  68. </div><!-- /.modal-content -->
  69. </div><!-- /.modal-dialog -->
  70. </div>
  71. <div class="modal" tabindex="-1" role="dialog" id="modal_upload_case_template" data-backdrop="true">
  72. <div class="modal-xl modal-dialog" role="document">
  73. <div class="modal-content" id="modal_upload_case_template_json">
  74. </div><!-- /.modal-content -->
  75. </div><!-- /.modal-dialog -->
  76. </div>
  77. {% endif %}
  78. {% endblock content %}
  79. {% block javascripts %}
  80. <script src="/static/assets/js/plugin/ace/src-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
  81. <script src="/static/assets/js/plugin/ace/src-noconflict/ext-language_tools.js" type="text/javascript"
  82. charset="utf-8"></script>
  83. <script src="/static/assets/js/iris/manage.case.templates.js"></script>
  84. {% endblock javascripts %}