about summary refs log tree commit diff
path: root/public/submit-queue.tmpl.html
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-21T15·12+0100
committerFlorian Klink <flokli@flokli.de>2019-11-21T15·13+0100
commit057294830e8e1915ee804d980d2b954ffbdff60a (patch)
treeb5143ce4629078d6c5c1decc540a05d3644d50fe /public/submit-queue.tmpl.html
parent43f8205e85a6c5aed79041715375d199414abf0a (diff)
frontend: show submittable status and URL, add runner, revamp logging
Diffstat (limited to 'public/submit-queue.tmpl.html')
-rw-r--r--public/submit-queue.tmpl.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/public/submit-queue.tmpl.html b/public/submit-queue.tmpl.html
index f1320a0c2dde..cad001cd3dbd 100644
--- a/public/submit-queue.tmpl.html
+++ b/public/submit-queue.tmpl.html
@@ -9,13 +9,17 @@
   <h1>Gerrit Submit Queue</h1>
   <h2>{{ .projectName }}/{{ .branchName }} is at {{ printf "%.7s" .HEAD }}</h2>
   <h2>Current Queue:</h2>
+  <div class="card-columns">
+
   {{ range $serie := .series }}
+
+  <div class="card" style="width: 18rem">
   <div class="list-group">
     {{ range $changeset := $serie.ChangeSets}}
-    <div class="list-group-item">
+    <div class="list-group-item{{ if not ($serie | isAutoSubmittable) }} disabled{{ end }}">
       <div class="d-flex w-100 justify-content-between">
         <h5>{{ $changeset.Subject }}</h5>
-        <small>#{{ $changeset.Number }}</small>
+        <small><a href="{{ changesetURL $changeset }}" target="_blank">#{{ $changeset.Number }}</a></small>
       </div>
       <div class="d-flex w-100 justify-content-between">
           <small>{{ $changeset.OwnerName }}</small>
@@ -32,7 +36,8 @@
     </div>
     {{ end }}
   </div>
-  <br />
+  </div>
   {{ end }}
+  </div>
 </body>
 </html>