Skip to content

Commit 75cfd58

Browse files
committed
Colors in backend view
1 parent 28bb59e commit 75cfd58

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Resources/Private/Templates/Importr/Index.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,23 @@ <h3 class="panel-title">Import <strong>{import.filepath}</strong> with <strong>{
4444
<f:if condition="{import.amount}">
4545

4646
<div class="progress">
47-
<div class="progress-bar progress-bar-success" style="width: {import.insertedPercentage}%">
47+
<div class="progress-bar bg-success" style="width: {import.insertedPercentage}%">
4848
<f:format.number>{import.insertedPercentage}</f:format.number>
4949
%
5050
</div>
51-
<div class="progress-bar progress-bar-info" style="width: {import.ignoredPercentage}%">
51+
<div class="progress-bar bg-dark" style="width: {import.ignoredPercentage}%">
5252
<f:format.number>{import.ignoredPercentage}</f:format.number>
5353
%
5454
</div>
55-
<div class="progress-bar progress-bar-info" style="width: {import.updatedPercentage}%">
55+
<div class="progress-bar bg-info" style="width: {import.updatedPercentage}%">
5656
<f:format.number>{import.updatedPercentage}</f:format.number>
5757
%
5858
</div>
59-
<div class="progress-bar progress-bar-warning" style="width: {import.unknownsPercentage}%">
59+
<div class="progress-bar bg-warning" style="width: {import.unknownsPercentage}%">
6060
<f:format.number>{import.unknownsPercentage}</f:format.number>
6161
%
6262
</div>
63-
<div class="progress-bar progress-bar-danger" style="width: {import.errorsPercentage}%">
63+
<div class="progress-bar bg-danger" style="width: {import.errorsPercentage}%">
6464
<f:format.number>{import.errorsPercentage}</f:format.number>
6565
%
6666
</div>
@@ -103,9 +103,10 @@ <h3 class="panel-title">Import <strong>{import.filepath}</strong> with <strong>{
103103

104104
<h1>Legende</h1>
105105

106-
<span class="label label-success">Success (Insert)</span>
107-
<span class="label label-info">Info (Update / Ignored)</span>
108-
<span class="label label-warning">Warning</span>
109-
<span class="label label-danger">Error</span>
106+
<span class="label bg-success p-1">Success (Insert)</span>
107+
<span class="label bg-info p-1">Info (Update / Ignored)</span>
108+
<span class="label bg-dark p-1">Info (Ignored)</span>
109+
<span class="label bg-warning p-1">Warning</span>
110+
<span class="label bg-danger p-1">Error</span>
110111

111112
</f:section>

0 commit comments

Comments
 (0)