Changed icons
This commit is contained in:
@ -20,6 +20,17 @@
|
||||
|
||||
@push('page_scripts')
|
||||
<script type="text/javascript">
|
||||
const icons = {
|
||||
debug: 'bug',
|
||||
info: 'search',
|
||||
notice: 'exclamation',
|
||||
warning: 'exclamation triangle',
|
||||
error: 'times',
|
||||
critical: 'bug',
|
||||
alert: 'bell',
|
||||
emergency: 'ambulance',
|
||||
deprecated: 'virus slash'
|
||||
}
|
||||
const logs = {
|
||||
id: '',
|
||||
start: 0,
|
||||
@ -90,7 +101,7 @@
|
||||
$('<div></div>').addClass('content').append(
|
||||
$('<div></div>').addClass('header').append(
|
||||
$('<span></span>').addClass(log.severity.toLowerCase()).css('padding', '1ex 1em').append(
|
||||
$('<i></i>').addClass('bug icon')
|
||||
$('<i></i>').addClass(icons[(log.severity.toLowerCase())] + ' icon')
|
||||
).append(
|
||||
((log.channel === '') ? '' : log.channel + '.') + log.severity
|
||||
)
|
||||
|
Reference in New Issue
Block a user