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