harbor/views/ng/dashboard.htm

58 lines
2.2 KiB
HTML

<div class="container-fluid container-fluid-custom" ng-controller="DashboardController as vm">
<div class="container">
<div class="row row-custom">
<div class="col-xs-4 col-md-4">
<div class="row">
<div class="up-section">
<h4 class="page-header title-color underlined">Summary</h4>
<dl class="page-content dl-horizontal">
<dt>Projects:</dt><dd>//vm.statProjects['projects']//</dd>
<dt>Public Projects:</dt><dd>//vm.statProjects['public_projects']//</dd>
<dt>Total Projects:</dt><dd>//vm.statProjects['total_projects']//</dd>
<dt>Repositories:</dt><dd>//vm.statProjects['repositories']//</dd>
<dt>Public Repositories:</dt><dd>//vm.statProjects['public_repositories']//</dd>
<dt>Total Repositories:</dt><dd>//vm.statProjects['total_repositories']//</dd>
</dl>
</div>
</div>
</div>
<div class="col-xs-8 col-md-8">
<div class="up-section">
<h4 class="page-header title-color underlined">Top 10 Repositories</h4>
<div class="col-xs-4 col-md-12 up-table-pane">
<table class="table">
<thead>
<th>Repository Name</th><th>Size</th><th>Creator</th>
</thead>
<tbody>
<tr ng-repeat="t in vm.top10Repositories">
<td>//t.repo_name//</td><td>//t.image_size//MB</td><td>//t.creator//</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row row-custom">
<div class="col-xs-12 col-md-12">
<div class="down-section single">
<h4 class="page-header title-color underlined">Logs</h4>
<table class="table">
<thead>
<th>Task Name</th><th>Details</th><th>User</th><th>Time</th>
</thead>
<tbody>
<tr ng-repeat="t in vm.integratedLogs">
<td>//t.task_name//</td><td>//t.details//</td><td>//t.user//</td><td>//t.creation_time//</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>