mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 14:07:55 +01:00
cleanup auditlog css
This commit is contained in:
parent
0b14ab5032
commit
71f15e1736
@ -1,13 +1,13 @@
|
|||||||
<table class="table">
|
<table class="table">
|
||||||
<tr ng-repeat="log in logs">
|
<tr ng-repeat="log in logs">
|
||||||
<td width="20%">{{ log.create_date | date: $root.dateTimeFormat }}</td>
|
<td width="20%" class="text-muted small va-middle">{{ log.create_date | timeAgo: $root.dateTimeFormat }}</td>
|
||||||
<td width="20%">
|
<td width="20%" class="va-middle">
|
||||||
<a ng-href="#/user/{{ log.username }}">
|
<a ng-href="#/user/{{ log.username }}" class="btn btn-xs">
|
||||||
<span class="glyphicon glyphicon-user"></span>
|
<span class="glyphicon glyphicon-user"></span>
|
||||||
{{ log.username }}
|
{{ log.username }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="va-middle">
|
||||||
<span ng-class="{ 'text-danger': log.type == 'DELETE', 'text-info': log.type == 'UPDATE', 'text-success': log.type == 'CREATE' }">
|
<span ng-class="{ 'text-danger': log.type == 'DELETE', 'text-info': log.type == 'UPDATE', 'text-success': log.type == 'CREATE' }">
|
||||||
{{ 'directive.auditlog.' + log.class | translate }}
|
{{ 'directive.auditlog.' + log.class | translate }}
|
||||||
<span ng-switch="log.type">
|
<span ng-switch="log.type">
|
||||||
@ -32,7 +32,7 @@
|
|||||||
<span ng-switch-when="Comment">
|
<span ng-switch-when="Comment">
|
||||||
<a ng-href="#/document/view/{{ log.message }}">{{ 'see' | translate }}</a>
|
<a ng-href="#/document/view/{{ log.message }}">{{ 'see' | translate }}</a>
|
||||||
</span>
|
</span>
|
||||||
<span ng-switch-when="Acl">
|
<span ng-switch-when="Acl" class="label label-default">
|
||||||
{{ 'acl.' + log.message | translate }}
|
{{ 'acl.' + log.message | translate }}
|
||||||
</span>
|
</span>
|
||||||
<span ng-switch-when="Tag">
|
<span ng-switch-when="Tag">
|
||||||
|
@ -19,11 +19,10 @@
|
|||||||
<dt>{{ 'document.contributors' | translate }}</dt>
|
<dt>{{ 'document.contributors' | translate }}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<span ng-repeat="contributor in document.contributors">
|
<span ng-repeat="contributor in document.contributors">
|
||||||
<span class="btn btn-link btn-xs">
|
<a class="btn btn-xs" href="#/user/{{ contributor.username }}">
|
||||||
<a href="#/user/{{ contributor.username }}">
|
<span class="glyphicon glyphicon-user"></span>
|
||||||
{{ contributor.username }}
|
{{ contributor.username }}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
|
||||||
</span>
|
</span>
|
||||||
</dd>
|
</dd>
|
||||||
<dt ng-if="document.relations.length > 0">{{ 'document.relations' | translate }}</dt>
|
<dt ng-if="document.relations.length > 0">{{ 'document.relations' | translate }}</dt>
|
||||||
|
@ -541,6 +541,10 @@ input[readonly].share-link {
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.va-middle {
|
||||||
|
vertical-align: middle !important;
|
||||||
|
}
|
||||||
|
|
||||||
// BS customizations
|
// BS customizations
|
||||||
.btn {
|
.btn {
|
||||||
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
|
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
|
||||||
|
Loading…
Reference in New Issue
Block a user