Implement correct pause state
This commit is contained in:
@ -74,6 +74,9 @@
|
||||
display: inline-block;
|
||||
width: 5em;
|
||||
}
|
||||
.paused {
|
||||
color: #ffa500;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
body {
|
||||
padding: 10px;
|
||||
@ -120,7 +123,11 @@
|
||||
<a href="/progress?filename={{$filename}}">{{$filename}}</a>
|
||||
</div>
|
||||
<div class="job-info">
|
||||
Progress: <span class="progress-text">{{printf "%5.1f%%" $info.Percentage}}</span> Current file: {{$info.CurrentFile}}
|
||||
Progress: <span class="progress-text">{{printf "%5.1f%%" $info.Percentage}}</span>
|
||||
Current file: {{$info.CurrentFile}}
|
||||
{{if $info.Paused}}
|
||||
<span class="paused">(Paused)</span>
|
||||
{{end}}
|
||||
</div>
|
||||
</li>
|
||||
{{else}}
|
||||
|
Reference in New Issue
Block a user