go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/scheduler/appengine/frontend/templates/pages/project.html (about) 1 {{define "title"}}LUCI Scheduler :: {{.ProjectID}}{{if .Filter}} [{{.Filter}}]{{end}}{{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"><a href="/">All projects</a></li> 20 <li class="breadcrumb-item active">{{.ProjectID}}{{if .Filter}} [{{.Filter}}]{{end}}</li> 21 </ol> 22 23 <div class="row"> 24 <div class="col-sm-12"> 25 {{if .ProjectEmpty}} 26 <p> 27 No jobs in this project or no READER permission to view them. 28 {{if .IsAnonymous}} 29 You may need to <a href="{{.LoginURL}}">login</a> first. 30 {{end}} 31 </p> 32 {{else}} 33 <table class="table" id="jobs-table"> 34 <thead> 35 <tr> 36 <th style="width: 350px;">Job</th> 37 <th style="width: 250px;">Schedule</th> 38 <th style="width: 120px;">State</th> 39 <th>Next run</th> 40 <th>Actions</th> 41 </tr> 42 </thead> 43 <tbody> 44 {{range .Jobs }} 45 <tr> 46 <td class="long">{{template "job-id-ref" .}}</td> 47 <td>{{.Schedule}}</td> 48 <td> 49 {{if .Paused}} 50 <span class="label {{.LabelClass}}" 51 title="Paused by {{.PausedBy}} {{.PausedWhen}}" 52 data-toggle="popover" 53 data-trigger="hover focus" 54 data-placement="left" 55 data-content="{{.PausedReason}}"> 56 {{.State}} 57 </span> 58 {{else}} 59 <span class="label {{.LabelClass}}">{{.State}}</span> 60 {{end}} 61 </td> 62 <td class="long">{{.NextRun}}</td> 63 <td>{{template "job-action-buttons" .}}</td> 64 </tr> 65 {{else}} 66 <tr><td colspan="5"><i>No {{.Filter}} jobs</i></td></tr> 67 {{end}} 68 </tbody> 69 </table> 70 {{end}} 71 </div> 72 </div> 73 74 {{end}}