mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-08 03:30:51 +01:00
66 lines
2.9 KiB
HTML
66 lines
2.9 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' | tr //</h4>
|
|
<dl class="page-content dl-horizontal">
|
|
{{ if eq .IsAdmin 1 }}
|
|
<dt>// 'projects' | tr //:</dt><dd>//vm.statProjects['my_project_count']//</dd>
|
|
<dt>// 'public_projects' | tr //:</dt><dd>//vm.statProjects['public_project_count']//</dd>
|
|
<dt>// 'total_projects' | tr //:</dt><dd>//vm.statProjects['total_project_count']//</dd>
|
|
<dt>// 'repositories' | tr //:</dt><dd>//vm.statProjects['my_repo_count']//</dd>
|
|
<dt>// 'public_repositories' | tr //:</dt><dd>//vm.statProjects['public_repo_count']//</dd>
|
|
<dt>// 'total_repositories' | tr //:</dt><dd>//vm.statProjects['total_repo_count']//</dd>
|
|
{{ else }}
|
|
<dt>// 'projects' | tr //:</dt><dd>//vm.statProjects['my_project_count']//</dd>
|
|
<dt>// 'public_projects' | tr //:</dt><dd>//vm.statProjects['public_project_count']//</dd>
|
|
<dt>// 'repositories' | tr //:</dt><dd>//vm.statProjects['my_repo_count']//</dd>
|
|
<dt>// 'public_repositories' | tr //:</dt><dd>//vm.statProjects['public_repo_count']//</dd>
|
|
{{ end }}
|
|
</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' | tr //</h4>
|
|
<div class="col-xs-4 col-md-12 up-table-pane">
|
|
<table class="table">
|
|
<thead>
|
|
<th>// 'repository_name' | tr //</th><th>// 'size' | tr //</th><th>// 'creator' | tr //</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">
|
|
<h4 class="page-header title-color underlined">// 'logs' | tr //</h4>
|
|
<div style="padding: 15px;">
|
|
<table class="table">
|
|
<thead>
|
|
<th>// 'task_name' | tr //</th><th>// 'details' | tr //</th><th>// 'user' | tr //</th><th>// 'creation_time' | tr //</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>
|
|
</div> |