queue.gohtml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {{define "queue-get" -}}
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="UTF-8">
  6. <title>File {{ .info.Name }}</title>
  7. <link rel="stylesheet" href="/assets/styles.css"/>
  8. <link rel="stylesheet" href="/assets/bootstrap.min.css">
  9. </head>
  10. <body>
  11. <main class="container">
  12. <div class="container mt-5">
  13. <nav aria-label="breadcrumb">
  14. <ol class="breadcrumb">
  15. <li class="breadcrumb-item"><a href="#">Home</a></li>
  16. <li class="breadcrumb-item active" aria-current="page">{{ .info.Name }}</li>
  17. </ol>
  18. </nav>
  19. <h1 class="text-3xl font-bold underline">Queue view for {{ .info.Name }}</h1>
  20. {{ template "flashes" .flashes }}
  21. <div class="alert alert-secondary alert-dismissible fade show">
  22. <ul>
  23. <li>Délai SQS info: {{ .latency.info }}</li>
  24. <li>Délai SQS messages: {{ .latency.items }}</li>
  25. </ul>
  26. <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  27. </div>
  28. <table class="table">
  29. <thead>
  30. <tr>
  31. <th scope="col">Propriété</th>
  32. <th scope="col">Propriété</th>
  33. <th scope="col">Valeur</th>
  34. </tr>
  35. </thead>
  36. <tbody>
  37. <tr>
  38. <th scope="row">Nom</th>
  39. <td>{{ .info.Name }}
  40. </td>
  41. </tr>
  42. <tr>
  43. <th scope="row">URL</th>
  44. <td><a href="{{ .info.URL }}">{{ .info.URL }}</a>
  45. </td>
  46. </tr>
  47. </tbody>
  48. </table>
  49. </div>
  50. <section class="container mt-5">
  51. <div class="d-flex align-items-center justify-content-between">
  52. <h2 class="my-5">Messages</h2>
  53. <button type="submit" form="msg-form" id="delete" class="btn btn-outline-danger" disabled>Delete
  54. selection
  55. </button>
  56. </div>
  57. <form method="post" id="msg-form">
  58. <table class="table">
  59. <thead>
  60. <tr>
  61. <th scope="col" class="d-flex align-items-center">
  62. <input id="select-all" class="form-check-input mt-0 me-3" type="checkbox">
  63. <span>Select all</span>
  64. </th>
  65. <th scope="col">Propriété</th>
  66. <th scope="col">Valeur</th>
  67. </tr>
  68. </thead>
  69. <tbody>
  70. <tr>
  71. <td><input class="form-check-input checkbox" type="checkbox" id="flexCheckDefault"></td>
  72. <td><label for="flexCheckDefault">info message</label></td>
  73. <td>Some value ?</td>
  74. </tr>
  75. <tr>
  76. <td><input class="form-check-input checkbox" type="checkbox" id="flexCheckChecked"></td>
  77. <td><label for="flexCheckChecked">info message</label></td>
  78. <td>Some value ?</td>
  79. </tr>
  80. <tr>
  81. <td><input class="form-check-input checkbox" type="checkbox" id="flexCheckChecked2"></td>
  82. <td><label for="flexCheckChecked2">info message</label></td>
  83. <td>Some value ?</td>
  84. </tr>
  85. </tbody>
  86. </table>
  87. </form>
  88. </section>
  89. </main>
  90. <script src="/assets/bootstrap.js"></script>
  91. <script src="/assets/script.js"></script>
  92. </body>
  93. </html>
  94. {{end}}