浏览代码

Fixed some HTML markup on queue.hohtml.

Frédéric G. MARAND 2 年之前
父节点
当前提交
c28fdbe86d
共有 1 个文件被更改,包括 22 次插入24 次删除
  1. 22 24
      front/templates/queue.gohtml

+ 22 - 24
front/templates/queue.gohtml

@@ -8,9 +8,7 @@
         <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">
+    <main class="container">
         <div class="container mt-5">
             <nav aria-label="breadcrumb">
                 <ol class="breadcrumb">
@@ -23,46 +21,46 @@
             <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>
+                    <th scope="col">Propriété</th>
+                    <th scope="col">Propriété</th>
+                    <th scope="col">Valeur</th>
                 </tr>
                 </thead>
                 <tbody>
                 <tr>
-                    <th scope="row" class="{{ $th }}">Nom</th>
-                    <td class="{{ $td }}">
-                        <pre>{{ .info.Name }}</pre>
+                    <th scope="row">Nom</th>
+                    <td>{{ .info.Name }}
                     </td>
                 </tr>
                 <tr>
-                    <th scope="row" class="{{ $th }}">URL</th>
-                    <td class="{{ $td }}">
-                        <pre><a href="{{ .info.URL }}">{{ .info.URL }}</a></pre>
+                    <th scope="row">URL</th>
+                    <td><a href="{{ .info.URL }}">{{ .info.URL }}</a>
                     </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>
+        <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>
 
+            <form method="post" id="msg-form">
                 <table class="table">
                     <thead>
                     <tr>
-                        <th scope="col d-flex align-items-center">
+                        <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">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>
@@ -80,11 +78,11 @@
                         <td>Some value ?</td>
                     </tr>
                     </tbody>
-                    </form>
                 </table>
-            </section>
-        </main>
-        <srcipt src="/assets/script.js"></srcipt>
+            </form>
+        </section>
+    </main>
+    <script src="/assets/script.js"></script>
     </body>
     </html>
 {{end}}