Nessuna descrizione

manage_templates.html 3.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {% extends "layouts/default.html" %}
  2. {% block title %} Manage Templates {% endblock title %}
  3. {% block stylesheets %}
  4. <link rel="stylesheet" href="/static/assets/css/suggestags.css">
  5. {% endblock stylesheets %}
  6. {% block content %}
  7. {% if current_user.is_authenticated %}
  8. {{ form.hidden_tag() }}
  9. <div class="page-inner">
  10. <div class="row">
  11. <div class="col-md-12">
  12. <div class="card">
  13. <div class="card-header">
  14. <div class="row">
  15. <div class="col">
  16. <div class="card-title">Report Templates Management</div>
  17. </div>
  18. <div class="col">
  19. <button type="button" class="btn btn-sm btn-dark float-right ml-2" onclick="refresh_template_table();">
  20. Refresh
  21. </button>
  22. <button class="btn btn-sm btn-dark float-right ml-2" onclick="add_report_template();">Add template</button>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="card-body">
  27. <div class="table-responsive" id="assets_table_wrapper">
  28. <div class="selectgroup">
  29. <span id="table_buttons"></span>
  30. </div>
  31. <table class="table display table table-striped table-hover" width="100%"
  32. cellspacing="0" id="reports_table">
  33. <thead>
  34. <tr>
  35. <th>Name</th>
  36. <th>Description</th>
  37. <th>Naming format</th>
  38. <th>Date created</th>
  39. <th>Created by</th>
  40. <th>Language</th>
  41. <th>Type</th>
  42. <th>Download</th>
  43. </tr>
  44. </thead>
  45. <tfoot>
  46. <tr>
  47. <th>Name</th>
  48. <th>Description</th>
  49. <th>Naming format</th>
  50. <th>Date created</th>
  51. <th>Created by</th>
  52. <th>Language</th>
  53. <th>Type</th>
  54. <th>Download</th>
  55. </tr>
  56. </tfoot>
  57. </table>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="modal fade " tabindex="-1" role="dialog" id="modal_add_report_template" data-backdrop="true">
  64. <div class="modal-lg modal-dialog" role="document">
  65. <div class="modal-content" id="modal_report_template_content">
  66. </div><!-- /.modal-content -->
  67. </div><!-- /.modal-dialog -->
  68. </div>
  69. {% endif %}
  70. {% endblock content %}
  71. {% block javascripts %}
  72. <script src="/static/assets/js/iris/manage.templates.js"></script>
  73. {% endblock javascripts %}