improve dashboard page

This commit is contained in:
tdurieux
2021-04-07 14:12:58 +02:00
parent 8c09b84501
commit e716b28494
+20 -11
View File
@@ -87,15 +87,17 @@
</thead> </thead>
<tbody> <tbody>
<tr <tr
class="align-middle"
ng-repeat="repo in repositories| filter:repoFiler| orderBy:orderBy as filteredRepositories" ng-repeat="repo in repositories| filter:repoFiler| orderBy:orderBy as filteredRepositories"
> >
<th scope="row">{{$index + 1}}</th> <th scope="row" class="align-middle">{{$index + 1}}</th>
<td> <td class="align-middle">
<a href="/r/{{repo.repoId}}" target="__self" <a href="/r/{{repo.repoId}}" target="__self"
>{{repo.repoId}}</a >{{repo.repoId}}</a
> >
</td> </td>
<td <td
class="align-middle"
title="Commit: {{repo.commit}}" title="Commit: {{repo.commit}}"
data-toggle="tooltip" data-toggle="tooltip"
data-placement="bottom" data-placement="bottom"
@@ -109,29 +111,36 @@
title="Commit: {{repo.commit}}" title="Commit: {{repo.commit}}"
data-toggle="tooltip" data-toggle="tooltip"
data-placement="bottom" data-placement="bottom"
class="align-middle"
> >
{{repo.branch}} {{repo.branch}}
</td> </td>
<!-- <td>{{repo.commit.substring(0, 6)}}</td> --> <!-- <td>{{repo.commit.substring(0, 6)}}</td> -->
<td class="text-center">{{repo.terms.length}}</td> <td class="text-center align-middle">{{repo.terms.length}}</td>
<td class="text-center">{{repo.status | title}}</td> <td class="text-center align-middle">
{{repo.status | title}}
</td>
<td <td
class="text-center" class="text-center align-middle"
ng-bind="repo.options.expirationDate | date" ng-bind="repo.options.expirationDate | date"
ng-if="repo.options.expirationMode!='never'" ng-if="repo.options.expirationMode!='never'"
></td> ></td>
<td <td
class="text-center" class="text-center align-middle"
ng-bind="repo.options.expirationMode | title" ng-bind="repo.options.expirationMode | title"
ng-if="repo.options.expirationMode=='never'" ng-if="repo.options.expirationMode=='never'"
></td> ></td>
<td class="text-center">{{repo.anonymizeDate | date}}</td> <td class="text-center align-middle">
<td class="text-center">{{repo.pageView}}</td> {{repo.anonymizeDate | date}}
<td class="text-center">{{repo.lastView | date}}</td> </td>
<td class="text-right"> <td class="text-center align-middle">{{repo.pageView}}</td>
<td class="text-center align-middle">
{{repo.lastView | date}}
</td>
<td class="text-right align-middle">
<div class="dropdown"> <div class="dropdown">
<button <button
class="btn btn-secondary dropdown-toggle" class="btn black_border dropdown-toggle btn-sm"
type="button" type="button"
id="dropdownMenuButton" id="dropdownMenuButton"
data-toggle="dropdown" data-toggle="dropdown"