From 137cc7d1ac750852e5e8e5dc5f27a153ddd703e1 Mon Sep 17 00:00:00 2001 From: Maxime Fabre Date: Tue, 17 Dec 2013 13:01:06 +0100 Subject: [PATCH] Update icon names in source code --- src/DebugBar/DataCollector/TimeDataCollector.php | 2 +- src/DebugBar/Resources/debugbar.js | 2 +- src/DebugBar/Resources/openhandler.js | 2 +- src/DebugBar/Resources/widgets.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DebugBar/DataCollector/TimeDataCollector.php b/src/DebugBar/DataCollector/TimeDataCollector.php index 8cfc48e..94e4fe6 100644 --- a/src/DebugBar/DataCollector/TimeDataCollector.php +++ b/src/DebugBar/DataCollector/TimeDataCollector.php @@ -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'" diff --git a/src/DebugBar/Resources/debugbar.js b/src/DebugBar/Resources/debugbar.js index 0db8f05..b11022e 100644 --- a/src/DebugBar/Resources/debugbar.js +++ b/src/DebugBar/Resources/debugbar.js @@ -300,7 +300,7 @@ if (typeof(PhpDebugBar) == 'undefined') { this.$icon = $('').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', ''); } diff --git a/src/DebugBar/Resources/openhandler.js b/src/DebugBar/Resources/openhandler.js index 3dc1740..0e521dc 100644 --- a/src/DebugBar/Resources/openhandler.js +++ b/src/DebugBar/Resources/openhandler.js @@ -22,7 +22,7 @@ if (typeof(PhpDebugBar) == 'undefined') { var self = this; this.$el.appendTo('body').hide(); - this.$closebtn = $(''); + this.$closebtn = $(''); this.$table = $(''); $('
PHP DebugBar | Open
').addClass(csscls('header')).append(this.$closebtn).appendTo(this.$el); $('
IDURLDateIP
').append(this.$table).appendTo(this.$el); diff --git a/src/DebugBar/Resources/widgets.js b/src/DebugBar/Resources/widgets.js index dc597f1..8da2821 100644 --- a/src/DebugBar/Resources/widgets.js +++ b/src/DebugBar/Resources/widgets.js @@ -251,7 +251,7 @@ if (typeof(PhpDebugBar) == 'undefined') { }}); this.$list.$el.appendTo(this.$el); - this.$toolbar = $('
').addClass(csscls('toolbar')).appendTo(this.$el); + this.$toolbar = $('
').addClass(csscls('toolbar')).appendTo(this.$el); $('') .on('change', function() { self.set('search', this.value); })