queue.gohtml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. <table class="table">
  22. <thead>
  23. <tr>
  24. <th scope="col">Propriété</th>
  25. <th scope="col">Propriété</th>
  26. <th scope="col">Valeur</th>
  27. </tr>
  28. </thead>
  29. <tbody>
  30. <tr>
  31. <th scope="row">Nom</th>
  32. <td>{{ .info.Name }}
  33. </td>
  34. </tr>
  35. <tr>
  36. <th scope="row">URL</th>
  37. <td><a href="{{ .info.URL }}">{{ .info.URL }}</a>
  38. </td>
  39. </tr>
  40. </tbody>
  41. </table>
  42. </div>
  43. <section class="container mt-5">
  44. <div class="d-flex align-items-center justify-content-between">
  45. <h2 class="my-5">Messages</h2>
  46. <button type="submit" form="msg-form" id="delete" class="btn btn-outline-danger" disabled>Delete
  47. selection
  48. </button>
  49. </div>
  50. <form method="post" id="msg-form">
  51. <table class="table">
  52. <thead>
  53. <tr>
  54. <th scope="col" class="d-flex align-items-center">
  55. <input id="select-all" class="form-check-input mt-0 me-3" type="checkbox">
  56. <span>Select all</span>
  57. </th>
  58. <th scope="col">Propriété</th>
  59. <th scope="col">Valeur</th>
  60. </tr>
  61. </thead>
  62. <tbody>
  63. <tr>
  64. <td><input class="form-check-input checkbox" type="checkbox" id="flexCheckDefault"></td>
  65. <td><label for="flexCheckDefault">info message</label></td>
  66. <td>Some value ?</td>
  67. </tr>
  68. <tr>
  69. <td><input class="form-check-input checkbox" type="checkbox" id="flexCheckChecked"></td>
  70. <td><label for="flexCheckChecked">info message</label></td>
  71. <td>Some value ?</td>
  72. </tr>
  73. <tr>
  74. <td><input class="form-check-input checkbox" type="checkbox" id="flexCheckChecked2"></td>
  75. <td><label for="flexCheckChecked2">info message</label></td>
  76. <td>Some value ?</td>
  77. </tr>
  78. </tbody>
  79. </table>
  80. </form>
  81. </section>
  82. </main>
  83. <script src="/assets/script.js"></script>
  84. </body>
  85. </html>
  86. {{end}}