go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/scheduler/appengine/frontend/templates/pages/index.html (about) 1 {{define "title"}}LUCI Scheduler{{end}} 2 3 {{define "head"}} 4 <style type="text/css"> 5 #jobs-table { 6 table-layout: fixed; 7 } 8 #jobs-table td.long { 9 white-space: nowrap; 10 overflow: hidden; 11 text-overflow: ellipsis; 12 } 13 </style> 14 {{end}} 15 16 {{define "content"}} 17 18 <ol class="breadcrumb"> 19 <li class="breadcrumb-item active">All projects</li> 20 </ol> 21 22 <div class="row"> 23 <div class="col-sm-12"> 24 <table class="table" id="jobs-table"> 25 <thead> 26 <tr> 27 <th>Project</th> 28 <th style="width: 160px;">Running</th> 29 <th style="width: 160px;">Scheduled</th> 30 <th style="width: 160px;">Waiting</th> 31 <th style="width: 160px;">Paused</th> 32 </tr> 33 </thead> 34 <tbody> 35 {{range .Projects }} 36 <tr> 37 <td><a href="/jobs/{{.ProjectID}}">{{.ProjectID}}</a></td> 38 <td><a href="/jobs/{{.ProjectID}}?filter=running" class="underline label label-info">{{JobCount .Running}}</a></td> 39 <td><a href="/jobs/{{.ProjectID}}?filter=scheduled" class="underline label label-primary">{{JobCount .Scheduled}}</a></td> 40 <td><a href="/jobs/{{.ProjectID}}?filter=waiting" class="underline label label-warning">{{JobCount .Waiting}}</a></td> 41 <td><a href="/jobs/{{.ProjectID}}?filter=paused" class="underline label label-default">{{JobCount .Paused}}</a></td> 42 </tr> 43 {{end}} 44 </tbody> 45 </table> 46 </div> 47 </div> 48 49 {{end}}