123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- {{define "queue-get" -}}
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>File {{ .info.Name }}</title>
- <link rel="stylesheet" href="/assets/styles.css"/>
- <link rel="stylesheet" href="/assets/bootstrap.min.css">
- </head>
- <body>
- {{ $th := "border border-slate-300 dark:border-slate-700 p-4 text-slate-500 dark:text-slate-400" }}
- {{ $td := "border border-slate-300 dark:border-slate-700 p-4 text-slate-500 dark:text-slate-400" }}
- <main class="container">
- <div class="container mt-5">
- <nav aria-label="breadcrumb">
- <ol class="breadcrumb">
- <li class="breadcrumb-item"><a href="#">Home</a></li>
- <li class="breadcrumb-item active" aria-current="page">{{ .info.Name }}</li>
- </ol>
- </nav>
- <h1 class="text-3xl font-bold underline">Queue view for {{ .info.Name }}</h1>
- {{ template "flashes" .flashes }}
- <table class="table">
- <thead>
- <tr>
- <th scope="col" class="{{ $th }}">Propriété</th>
- <th scope="col" class="{{ $th }}">Propriété</th>
- <th scope="col" class="{{ $th }}">Valeur</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th scope="row" class="{{ $th }}">Nom</th>
- <td class="{{ $td }}">
- <pre>{{ .info.Name }}</pre>
- </td>
- </tr>
- <tr>
- <th scope="row" class="{{ $th }}">URL</th>
- <td class="{{ $td }}">
- <pre><a href="{{ .info.URL }}">{{ .info.URL }}</a></pre>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <section class="container mt-5">
- <div class="d-flex align-items-center justify-content-between">
- <h2 class="my-5">Messages</h2>
- <button type="submit" form="msg-form" id="delete" class="btn btn-outline-danger" disabled>Delete selection</button>
- </div>
- <table class="table">
- <thead>
- <tr>
- <th scope="col d-flex align-items-center">
- <input id="select-all" class="form-check-input mt-0 me-3" type="checkbox">
- <span>Select all</span>
- </th>
- <th scope="col" >Propriété</th>
- <th scope="col">Valeur</th>
- </tr>
- </thead>
- <form action="post" id="msg-form">
- <tbody>
- <tr>
- <td><input class="form-check-input checkbox" type="checkbox" id="flexCheckDefault"></td>
- <td><label for="flexCheckDefault">info message</label></td>
- <td>Some value ?</td>
- </tr>
- <tr>
- <td><input class="form-check-input checkbox" type="checkbox" id="flexCheckChecked"></td>
- <td><label for="flexCheckChecked">info message</label></td>
- <td>Some value ?</td>
- </tr>
- <tr>
- <td><input class="form-check-input checkbox" type="checkbox" id="flexCheckChecked2"></td>
- <td><label for="flexCheckChecked2">info message</label></td>
- <td>Some value ?</td>
- </tr>
- </tbody>
- </form>
- </table>
- </section>
- </main>
- <srcipt src="/assets/script.js"></srcipt>
- </body>
- </html>
- {{end}}
|