mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-17 05:18:32 +01:00
Update icon names in source code
This commit is contained in:
parent
b8bd80b367
commit
137cc7d1ac
@ -182,7 +182,7 @@ class TimeDataCollector extends DataCollector implements Renderable
|
||||
{
|
||||
return array(
|
||||
"time" => array(
|
||||
"icon" => "time",
|
||||
"icon" => "clock-o",
|
||||
"tooltip" => "Request Duration",
|
||||
"map" => "time.duration_str",
|
||||
"default" => "'0ms'"
|
||||
|
@ -300,7 +300,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
this.$icon = $('<i />').appendTo(this.$el);
|
||||
this.bindAttr('icon', function(icon) {
|
||||
if (icon) {
|
||||
this.$icon.attr('class', 'icon-' + icon);
|
||||
this.$icon.attr('class', 'fa fa-' + icon);
|
||||
} else {
|
||||
this.$icon.attr('class', '');
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
var self = this;
|
||||
|
||||
this.$el.appendTo('body').hide();
|
||||
this.$closebtn = $('<a href="javascript:"><i class="icon-remove"></i></a>');
|
||||
this.$closebtn = $('<a href="javascript:"><i class="fa fa-times"></i></a>');
|
||||
this.$table = $('<tbody />');
|
||||
$('<div>PHP DebugBar | Open</div>').addClass(csscls('header')).append(this.$closebtn).appendTo(this.$el);
|
||||
$('<table><thead><tr><th>ID</th><th>URL</th><th>Date</th><th>IP</th></tr></thead></table>').append(this.$table).appendTo(this.$el);
|
||||
|
@ -251,7 +251,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
}});
|
||||
|
||||
this.$list.$el.appendTo(this.$el);
|
||||
this.$toolbar = $('<div><i class="icon-search"></i></div>').addClass(csscls('toolbar')).appendTo(this.$el);
|
||||
this.$toolbar = $('<div><i class="fa fa-search"></i></div>').addClass(csscls('toolbar')).appendTo(this.$el);
|
||||
|
||||
$('<input type="text" />')
|
||||
.on('change', function() { self.set('search', this.value); })
|
||||
|
Loading…
x
Reference in New Issue
Block a user