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 {
overflow-y: auto;
height: auto;
height: 260px;
padding-left: 10px;
padding-right: 10px;
}

View File

@ -1,5 +1,4 @@
<h4 class="page-header title-color underlined">// 'logs' | tr //</h4>
<div style="padding: 15px;">
<div class="col-xs-4 col-md-12 down-table-pane">
<table class="table">
<thead>
<th>// 'task_name' | tr //</th><th>// 'details' | tr //</th><th>// 'user' | tr //</th><th>// 'creation_time' | tr //</th>
@ -9,7 +8,7 @@
<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 ng-if="vm.integratedLogs.length > 0" ng-repeat="t in vm.integratedLogs">
<td>//t.Operation//</td><td>//t.RepoName//</td><td>//t.Username//</td><td>//t.OpTime | dateL : 'YYYY-MM-DD HH:mm:ss'//</td>
<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>
</tr>
</tbody>
</table>

View File

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