123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- {{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>
- <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 }}
- <div class="alert alert-secondary alert-dismissible fade show row">
- <div class="col col-2">Délai SQS info</div>
- <div class="col col-4">{{ .latency.info }}</div>
- <div class="col col-2">Délai SQS messages</div>
- <div class="col col-4">{{ .latency.items }}</div>
- <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
- </div>
- <table class="table">
- <thead>
- <tr>
- <th scope="col">Propriété</th>
- <th scope="col">Propriété</th>
- <th scope="col">Valeur</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th scope="row">Nom</th>
- <td>{{ .info.Name }}
- </td>
- </tr>
- <tr>
- <th scope="row">URL</th>
- <td><a href="{{ .info.URL }}">{{ .info.URL }}</a>
- </td>
- </tr>
- <tr>
- <th scope="row">Info</th>
- <td>{{ dump .info }}</td>
- </tr>
- <tr>
- <th scope="row">Items</th>
- <td>{{ dump .items }}</td>
- </tr>
- </tbody>
- </table>
- </div>
- <section class="container mt-5">
- <form method="get" id="msg-form" action="/queue/{{ .info.Name }}/confirm">
- <div class="d-flex align-items-center justify-content-between">
- <h2 class="my-5">Messages</h2>
- <button type="submit" form="msg-form" id="redrive" name="redrive" class="btn btn-outline-success" disabled>
- Redrive selection
- </button>
- <button type="submit" form="msg-form" id="delete" name="delete" class="btn btn-outline-danger" disabled>
- Delete selection
- </button>
- </div>
- <table class="table">
- <thead>
- <tr>
- <th scope="col" class="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>
- <tbody>
- <tr>
- <td><input class="form-check-input checkbox" type="checkbox" name="id-1" 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" name="id-2" 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" name="id-3" id="flexCheckChecked2"></td>
- <td><label for="flexCheckChecked2">info message</label></td>
- <td>Some value ?</td>
- </tr>
- </tbody>
- </table>
- </form>
- </section>
- </main>
- <script src="/assets/bootstrap.js"></script>
- <script src="/assets/script.js"></script>
- </body>
- </html>
- {{end}}
|