Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: scheduler/appengine/frontend/templates/pages/job.html

Issue 2948103002: scheduler: rename JobID to JobName to avoid overloading JobID meaning. (Closed)
Patch Set: more js lowercase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 {{define "title"}}LUCI Scheduler :: {{.Job.ProjectID}} :: {{.Job.JobID}}{{end}} 1 {{define "title"}}LUCI Scheduler :: {{.Job.ProjectID}} :: {{.Job.JobName}}{{end} }
2 2
3 {{define "head"}} 3 {{define "head"}}
4 <style type="text/css"> 4 <style type="text/css">
5 #invocations-table { 5 #invocations-table {
6 table-layout: fixed; 6 table-layout: fixed;
7 } 7 }
8 .underline { 8 .underline {
9 text-decoration: underline !important; 9 text-decoration: underline !important;
10 } 10 }
11 </style> 11 </style>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 <th>ID</th> 55 <th>ID</th>
56 <th>Started</th> 56 <th>Started</th>
57 <th>Triggered by</th> 57 <th>Triggered by</th>
58 <th>Duration</th> 58 <th>Duration</th>
59 <th>Status</th> 59 <th>Status</th>
60 </tr> 60 </tr>
61 </thead> 61 </thead>
62 <tbody> 62 <tbody>
63 {{range .Invocations }} 63 {{range .Invocations }}
64 <tr class="{{.RowClass}}"> 64 <tr class="{{.RowClass}}">
65 <td><a href="/jobs/{{$.Job.ProjectID}}/{{$.Job.JobID}}/{{.InvID}}">{ {.InvID}}</a></td> 65 <td><a href="/jobs/{{$.Job.ProjectID}}/{{$.Job.JobName}}/{{.InvID}}" >{{.InvID}}</a></td>
66 <td>{{.Started}}</td> 66 <td>{{.Started}}</td>
67 <td>{{.TriggeredBy}}</td> 67 <td>{{.TriggeredBy}}</td>
68 <td>{{.Duration}}</td> 68 <td>{{.Duration}}</td>
69 <td> 69 <td>
70 {{if .ViewURL}} 70 {{if .ViewURL}}
71 <a href="{{.ViewURL}}" target="_blank" class="underline label {{.L abelClass}}">{{.Status}}</a> 71 <a href="{{.ViewURL}}" target="_blank" class="underline label {{.L abelClass}}">{{.Status}}</a>
72 {{else}} 72 {{else}}
73 <span class="label {{.LabelClass}}">{{.Status}}</span> 73 <span class="label {{.LabelClass}}">{{.Status}}</span>
74 {{end}} 74 {{end}}
75 </td> 75 </td>
76 </tr> 76 </tr>
77 {{end}} 77 {{end}}
78 </tbody> 78 </tbody>
79 </table> 79 </table>
80 <nav> 80 <nav>
81 <ul class="pager"> 81 <ul class="pager">
82 {{if .PrevCursor}} 82 {{if .PrevCursor}}
83 <li class="previous"> 83 <li class="previous">
84 {{if eq .PrevCursor "NULL"}} 84 {{if eq .PrevCursor "NULL"}}
85 <a href="/jobs/{{$.Job.ProjectID}}/{{$.Job.JobID}}"> 85 <a href="/jobs/{{$.Job.ProjectID}}/{{$.Job.JobName}}">
86 {{else}} 86 {{else}}
87 <a href="/jobs/{{$.Job.ProjectID}}/{{$.Job.JobID}}?c={{.PrevCursor }}"> 87 <a href="/jobs/{{$.Job.ProjectID}}/{{$.Job.JobName}}?c={{.PrevCurs or}}">
88 {{end}} 88 {{end}}
89 <span aria-hidden="true">&larr;</span> Newer 89 <span aria-hidden="true">&larr;</span> Newer
90 </a> 90 </a>
91 </li> 91 </li>
92 {{else}} 92 {{else}}
93 <li class="previous disabled"> 93 <li class="previous disabled">
94 <a href="#"><span aria-hidden="true">&larr;</span> Newer</a> 94 <a href="#"><span aria-hidden="true">&larr;</span> Newer</a>
95 </li> 95 </li>
96 {{end}} 96 {{end}}
97 {{if .NextCursor}} 97 {{if .NextCursor}}
98 <li class="next"> 98 <li class="next">
99 <a href="/jobs/{{$.Job.ProjectID}}/{{$.Job.JobID}}?c={{.NextCursor }}"> 99 <a href="/jobs/{{$.Job.ProjectID}}/{{$.Job.JobName}}?c={{.NextCurs or}}">
100 Older <span aria-hidden="true">&rarr;</span> 100 Older <span aria-hidden="true">&rarr;</span>
101 </a> 101 </a>
102 </li> 102 </li>
103 {{else}} 103 {{else}}
104 <li class="next disabled"> 104 <li class="next disabled">
105 <a href="#">Older <span aria-hidden="true">&rarr;</span></a> 105 <a href="#">Older <span aria-hidden="true">&rarr;</span></a>
106 </li> 106 </li>
107 {{end}} 107 {{end}}
108 </ul> 108 </ul>
109 </nav> 109 </nav>
110 </div> 110 </div>
111 </div> 111 </div>
112 112
113 </div> 113 </div>
114 114
115 {{end}} 115 {{end}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698