mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] put pages in containers classes
This commit is contained in:
parent
9dd5aab623
commit
dcab04771f
2 changed files with 37 additions and 33 deletions
|
@ -10,28 +10,30 @@
|
|||
</head>
|
||||
<body>
|
||||
<section class="section">
|
||||
<h1 class="title">Tasks</h1>
|
||||
<div id="jobs">
|
||||
<table class="table is-bordered is-hoverable is-striped is-fullwidth">
|
||||
<thead>
|
||||
<th>App</th>
|
||||
<th>State</th>
|
||||
<th>Revision</th>
|
||||
<th>Ynh Version</th>
|
||||
<th>Created time</th>
|
||||
<th>Started time</th>
|
||||
<th>End time</th>
|
||||
</thead>
|
||||
<tr v-for="(job, index) in jobs" :id="job.id">
|
||||
<td><a v-bind:href="'/job/' + job.id">{{job.name}}</a></td>
|
||||
<td>{{job.state}}</td>
|
||||
<td>{{job.target_revision}}</td>
|
||||
<td>{{job.yunohost_version}}</td>
|
||||
<td>{{timestampToDate(job.created_time)}}</td>
|
||||
<td>{{timestampToDate(job.started_time)}}</td>
|
||||
<td>{{timestampToDate(job.end_time)}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="container">
|
||||
<h1 class="title">Tasks</h1>
|
||||
<div id="jobs">
|
||||
<table class="table is-bordered is-hoverable is-striped is-fullwidth">
|
||||
<thead>
|
||||
<th>App</th>
|
||||
<th>State</th>
|
||||
<th>Revision</th>
|
||||
<th>Ynh Version</th>
|
||||
<th>Created time</th>
|
||||
<th>Started time</th>
|
||||
<th>End time</th>
|
||||
</thead>
|
||||
<tr v-for="(job, index) in jobs" :id="job.id">
|
||||
<td><a v-bind:href="'/job/' + job.id">{{job.name}}</a></td>
|
||||
<td>{{job.state}}</td>
|
||||
<td>{{job.target_revision}}</td>
|
||||
<td>{{job.yunohost_version}}</td>
|
||||
<td>{{timestampToDate(job.created_time)}}</td>
|
||||
<td>{{timestampToDate(job.started_time)}}</td>
|
||||
<td>{{timestampToDate(job.end_time)}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script>
|
||||
|
|
|
@ -11,19 +11,21 @@
|
|||
</head>
|
||||
<body>
|
||||
<section class="section" id="job">
|
||||
<h1 class="title">Job '{{job.name}}'</h1>
|
||||
<div class="container">
|
||||
<h1 class="title">Job '{{job.name}}'</h1>
|
||||
|
||||
<table class="table is-bordered">
|
||||
<tr><th>State</th><td>{{job.state}}</td></tr>
|
||||
<tr><th>Target revision</th><td>{{job.target_revision}}</td></tr>
|
||||
<tr><th>YunoHost version</th><td>{{job.yunohost_version}}</td></tr>
|
||||
<tr><th>Created time</th><td>{{timestampToDate(job.created_time)}}</td></tr>
|
||||
<tr><th>Started time</th><td>{{timestampToDate(job.started_time)}}</td></tr>
|
||||
<tr><th>End time</th><td>{{timestampToDate(job.end_time)}}</td></tr>
|
||||
</table>
|
||||
<table class="table is-bordered">
|
||||
<tr><th>State</th><td>{{job.state}}</td></tr>
|
||||
<tr><th>Target revision</th><td>{{job.target_revision}}</td></tr>
|
||||
<tr><th>YunoHost version</th><td>{{job.yunohost_version}}</td></tr>
|
||||
<tr><th>Created time</th><td>{{timestampToDate(job.created_time)}}</td></tr>
|
||||
<tr><th>Started time</th><td>{{timestampToDate(job.started_time)}}</td></tr>
|
||||
<tr><th>End time</th><td>{{timestampToDate(job.end_time)}}</td></tr>
|
||||
</table>
|
||||
|
||||
<h2 class="subtitle">Excution log:</h2>
|
||||
<pre>{{job.log}}</pre>
|
||||
<h2 class="subtitle">Excution log:</h2>
|
||||
<pre>{{job.log}}</pre>
|
||||
</div>
|
||||
</section>
|
||||
<script>
|
||||
(function() {
|
||||
|
|
Loading…
Add table
Reference in a new issue