updates for dashboard related codes of UI.

This commit is contained in:
kunw 2016-06-15 18:17:04 +08:00
parent 985522e55c
commit 56d91652e4
4 changed files with 24 additions and 25 deletions

View File

@ -81,7 +81,7 @@ body {
.down-table-pane { .down-table-pane {
overflow-y: auto; overflow-y: auto;
height: auto; height: 260px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
} }

View File

@ -143,10 +143,10 @@
element.find('#upon-pane table>tbody>tr').filter('[policy_id="' + ctrl.lastPolicyId + '"]').trigger('click'); element.find('#upon-pane table>tbody>tr').filter('[policy_id="' + ctrl.lastPolicyId + '"]').trigger('click');
} }
}else{ }else{
element element
.find('#upon-pane table>tbody>tr') .find('#upon-pane table>tbody>tr')
.css({'background-color': '#FFFFFF'}) .css({'background-color': '#FFFFFF'})
.css({'color': '#000'}); .css({'color': '#000'});
} }
} }
}); });

View File

@ -1,16 +1,15 @@
<h4 class="page-header title-color underlined">// 'logs' | tr //</h4> <div class="col-xs-4 col-md-12 down-table-pane">
<div style="padding: 15px;"> <table class="table">
<table class="table"> <thead>
<thead> <th>// 'task_name' | tr //</th><th>// 'details' | tr //</th><th>// 'user' | tr //</th><th>// 'creation_time' | tr //</th>
<th>// 'task_name' | tr //</th><th>// 'details' | tr //</th><th>// 'user' | tr //</th><th>// 'creation_time' | tr //</th> </thead>
</thead> <tbody>
<tbody> <tr>
<tr> <td colspan="5" height="120px" class="empty-hint" ng-if="vm.integratedLogs.length === 0"><h3 class="text-muted">// 'no_user_logs' | tr //</h3></td>
<td colspan="5" height="120px" class="empty-hint" ng-if="vm.integratedLogs.length === 0"><h3 class="text-muted">// 'no_user_logs' | tr //</h3></td> </tr>
</tr> <tr ng-if="vm.integratedLogs.length > 0" ng-repeat="t in vm.integratedLogs">
<tr ng-if="vm.integratedLogs.length > 0" ng-repeat="t in vm.integratedLogs"> <td>//t.operation//</td><td>//t.repo_name//</td><td>//t.username//</td><td>//t.op_time | dateL : 'YYYY-MM-DD HH:mm:ss'//</td>
<td>//t.Operation//</td><td>//t.RepoName//</td><td>//t.Username//</td><td>//t.OpTime | dateL : 'YYYY-MM-DD HH:mm:ss'//</td> </tr>
</tr> </tbody>
</tbody> </table>
</table>
</div> </div>

View File

@ -4,13 +4,13 @@
<div class="col-xs-4 col-md-4"> <div class="col-xs-4 col-md-4">
<div class="row"> <div class="row">
<div class="up-section"> <div class="up-section">
<project-Summary></project-Summary> <project-summary></project-summary>
</div> </div>
</div> </div>
</div> </div>
<div class="col-xs-8 col-md-8"> <div class="col-xs-8 col-md-8">
<div class="up-section"> <div class="up-section">
<top-Repository></top-Repository> <top-repository></top-repository>
</div> </div>
</div> </div>
</div> </div>
@ -19,8 +19,8 @@
<div class="row row-custom"> <div class="row row-custom">
<div class="col-xs-12 col-md-12"> <div class="col-xs-12 col-md-12">
<div class="down-section"> <div class="down-section">
<user-Log></user-Log> <h4 class="page-header title-color underlined">// 'logs' | tr //</h4>
</div> <user-log></user-log>
</div> </div>
</div> </div>
</div> </div>