queue.gohtml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. {{ $th := "border border-slate-300 dark:border-slate-700 p-4 text-slate-500 dark:text-slate-400" }}
  12. {{ $td := "border border-slate-300 dark:border-slate-700 p-4 text-slate-500 dark:text-slate-400" }}
  13. <main class="container">
  14. <div class="container mt-5">
  15. <nav aria-label="breadcrumb">
  16. <ol class="breadcrumb">
  17. <li class="breadcrumb-item"><a href="#">Home</a></li>
  18. <li class="breadcrumb-item active" aria-current="page">{{ .info.Name }}</li>
  19. </ol>
  20. </nav>
  21. <h1 class="text-3xl font-bold underline">Queue view for {{ .info.Name }}</h1>
  22. {{ template "flashes" .flashes }}
  23. <table class="table">
  24. <thead>
  25. <tr>
  26. <th scope="col" class="{{ $th }}">Propriété</th>
  27. <th scope="col" class="{{ $th }}">Valeur</th>
  28. </tr>
  29. </thead>
  30. <tbody>
  31. <tr>
  32. <th scope="row" class="{{ $th }}">Nom</th>
  33. <td class="{{ $td }}">
  34. <pre>{{ .info.Name }}</pre>
  35. </td>
  36. </tr>
  37. <tr>
  38. <th scope="row" class="{{ $th }}">URL</th>
  39. <td class="{{ $td }}">
  40. <pre><a href="{{ .info.URL }}">{{ .info.URL }}</a></pre>
  41. </td>
  42. </tr>
  43. </tbody>
  44. </table>
  45. </div>
  46. </main>
  47. </body>
  48. </html>
  49. {{end}}