backup-log-view: Make Complete Log expandable and with an icon to copy the content
This commit is contained in:
@@ -212,11 +212,6 @@ wait-area {
|
||||
.four {
|
||||
grid-row: 3;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.prewrapped-text {
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -27,7 +27,14 @@
|
||||
ng-include="'templates/backup-result/message-list.html'"></span>
|
||||
</div>
|
||||
<div class="box item wide four">
|
||||
<span class="key" translate>Complete log</span>
|
||||
<div class="prewrapped-text exceptiontext">{{ item.Formatted }}</div>
|
||||
<span ng-click="log_expanded = !log_expanded" class="key" ng-style="{ cursor: 'pointer' }" translate>
|
||||
Complete log
|
||||
<i class="fa fa-angle-{{log_expanded ? 'up': 'down'}}"></i>
|
||||
</span>
|
||||
|
||||
<a href ng-show="log_expanded" ngclipboard data-clipboard-action="copy" data-clipboard-target="#result-log-{{item.Result.ID}}">
|
||||
<i class="fa fa-clipboard"></i>
|
||||
</a>
|
||||
<div ng-show="log_expanded" id="result-log-{{item.Result.ID}}" class="prewrapped-text exceptiontext">{{ item.Formatted }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user