Show local time for start time
This commit is contained in:
@@ -18,6 +18,12 @@
|
||||
<option value="arch">Arch</option>
|
||||
<option value="artix">Artix</option>
|
||||
</select>
|
||||
<label for="dependsTxt">Dependencies</label>
|
||||
<select name="dependencies" id="dependsTxt" required>
|
||||
<option value="stable">Stable</option>
|
||||
<option value="testing">Testing</option>
|
||||
<option value="staging">Staging</option>
|
||||
</select>
|
||||
<div class="span-2"><button type="submit">Build</button></div>
|
||||
</form>
|
||||
</div>
|
||||
|
@@ -16,7 +16,7 @@
|
||||
<label>Patch</label> <span><% if (build.patch) { %><a href="/build/<%= build.id %>/patch">patch file</a><% } else { %>none<% } %></span>
|
||||
<label>Distro</label> <span><%= build.distro %></span>
|
||||
<label>Dependencies</label> <span><%= build.dependencies %></span>
|
||||
<label>Start time</label> <span><%= build.startTime %></span>
|
||||
<label>Start time</label> <span class="to-local-time"><%= build.startTime %></span>
|
||||
</div>
|
||||
<p><a href="/build/<%= build.id %>/logs">Full logs</a></p>
|
||||
<div class="logs" id="logs">
|
||||
@@ -32,6 +32,7 @@
|
||||
<% } %>
|
||||
</div>
|
||||
<%- include("footer", locals) %>
|
||||
<script src="/assets/js/timezone.js?v1" nonce="<%= cspNonce %>"></script>
|
||||
<% if (!ended) { %>
|
||||
<script src="/assets/js/build.js?v1" nonce="<%= cspNonce %>"></script>
|
||||
<% } %>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
<tr>
|
||||
<td><a href="/build/<%= build.id %>"><%= build.repo %></a></td>
|
||||
<td><%= build.distro %></td>
|
||||
<td><%= build.startTime %></td>
|
||||
<td class="to-local-time"><%= build.startTime %></td>
|
||||
<td>TODO</td>
|
||||
<td><%= build.status %></td>
|
||||
</tr>
|
||||
@@ -29,5 +29,6 @@
|
||||
</table>
|
||||
</div>
|
||||
<%- include("footer", locals) %>
|
||||
<script src="/assets/js/timezone.js?v1" nonce="<%= cspNonce %>"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user