1
0
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:
Maxime Fabre 2013-12-17 13:01:06 +01:00
parent b8bd80b367
commit 137cc7d1ac
4 changed files with 4 additions and 4 deletions

View File

@ -182,7 +182,7 @@ class TimeDataCollector extends DataCollector implements Renderable
{ {
return array( return array(
"time" => array( "time" => array(
"icon" => "time", "icon" => "clock-o",
"tooltip" => "Request Duration", "tooltip" => "Request Duration",
"map" => "time.duration_str", "map" => "time.duration_str",
"default" => "'0ms'" "default" => "'0ms'"

View File

@ -300,7 +300,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
this.$icon = $('<i />').appendTo(this.$el); this.$icon = $('<i />').appendTo(this.$el);
this.bindAttr('icon', function(icon) { this.bindAttr('icon', function(icon) {
if (icon) { if (icon) {
this.$icon.attr('class', 'icon-' + icon); this.$icon.attr('class', 'fa fa-' + icon);
} else { } else {
this.$icon.attr('class', ''); this.$icon.attr('class', '');
} }

View File

@ -22,7 +22,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
var self = this; var self = this;
this.$el.appendTo('body').hide(); 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 />'); this.$table = $('<tbody />');
$('<div>PHP DebugBar | Open</div>').addClass(csscls('header')).append(this.$closebtn).appendTo(this.$el); $('<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); $('<table><thead><tr><th>ID</th><th>URL</th><th>Date</th><th>IP</th></tr></thead></table>').append(this.$table).appendTo(this.$el);

View File

@ -251,7 +251,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
}}); }});
this.$list.$el.appendTo(this.$el); 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" />') $('<input type="text" />')
.on('change', function() { self.set('search', this.value); }) .on('change', function() { self.set('search', this.value); })