fix ui bugs

master
yixian 4 years ago
parent 19aaed8cf7
commit dab9d8c30c

@ -14,7 +14,7 @@
Status: {{progress.processing?'Processing':'Idle'}} Status: {{progress.processing?'Processing':'Idle'}}
</div> </div>
<div class="box-body" ng-if="progress.processing"> <div class="box-body" ng-if="progress.processing">
<h4>{{progress.plan_remark}}|{{progress.current_step}}</h4> <h4>{{progress.progress_id}} - {{progress.plan_remark}}|{{progress.current_step}}</h4>
<uib-progressbar value="progress.progress" animate="true" max-value="100"></uib-progressbar> <uib-progressbar value="progress.progress" animate="true" max-value="100"></uib-progressbar>
</div> </div>
</div> </div>
@ -45,6 +45,8 @@
ng-class="{'box-success':task.processed,'box-default':task.idle,'box-warning':task.processing}"> ng-class="{'box-success':task.processed,'box-default':task.idle,'box-warning':task.processing}">
<div class="box-header"> <div class="box-header">
{{task.remark}}-{{task.settle_date}} {{task.remark}}-{{task.settle_date}}
<span ng-if="task.processing" class="text-warning">(Processing)</span>
<span ng-if="task.processed" class="text-warning">(Finished)</span>
<div class="btn-group pull-right" ng-if="!progress.processing"> <div class="btn-group pull-right" ng-if="!progress.processing">
<button class="btn btn-primary" type="button" title="Hide/Show Detail" <button class="btn btn-primary" type="button" title="Hide/Show Detail"
ng-click="task.display_detail=!task.display_detail"><i class="fa fa-search"></i> ng-click="task.display_detail=!task.display_detail"><i class="fa fa-search"></i>

Loading…
Cancel
Save