Added WARN to log types

This commit is contained in:
fabio.formosa
2016-06-22 13:17:44 +02:00
parent 39292adc7d
commit cdf1422ee2
3 changed files with 8 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ package it.fabioformosa.quartzmanager.jobs.entities;
public class LogRecord {
public enum LogType {
INFO, ERROR;
INFO, WARN, ERROR;
}
private LogType type;

View File

@@ -22,6 +22,10 @@
color: red;
}
.dark-yellow{
color: #d8dc25;
}
#schedulerControllerBtn{
cursor: pointer;
}

View File

@@ -5,7 +5,9 @@
</div>
<div class="col-xs-2">
<span data-ng-class="{'animated zoomIn firstLog': $first}">
<i data-ng-class="{'fa fa-check-circle green': log.type == 'INFO', 'fa fa-times-circle red': log.type == 'ERROR'}"></i>
<i data-ng-class="{'fa fa-check-circle green': log.type == 'INFO',
'fa fa-exclamation-triangle dark-yellow': log.type == 'WARN',
'fa fa-times-circle red': log.type == 'ERROR'}"></i>
</span>
</div>
<div class="col-xs-7">