Commit Graph

21 Commits

Author SHA1 Message Date
Matt Good
61d1fc2678 Display steps needed to display SQL queries
In the SQLAlchemy panel, detect if Flask-SQLAlchemy is not set up to record
queries for the current app, and display the necessary steps to set it up.

The following steps will be detected and displayed if needed:

* install Flask-SQLAlchemy package
* add the extension to this app
* set SQLALCHEMY_RECORD_QUERIES if DEBUG is False
2015-04-17 13:51:10 -07:00
Matt Good
aa90a9d052 Remove restyling table rows before sorting
It doesn't seem to be necessary to remove the "even / odd" styles before
sorting, since they are explicitly toggled to the right state after sorting. It
should be slightly more responsive to skip this step when sorting large tables.
2015-04-15 12:47:14 -07:00
Matt Good
32e0aa8ca3 Ensure profiler "Calls" are sorted numerically
JS Tablesorter's detection of the data type is occasionally confused when the
profiler calls show ratios like "94/57" for total calls to primitive calls.
This change enables parsing "data" attributes on the table headers to pass as
options to Tablesorter. This way we can explicitly specify to use the "digit"
sorter which works the way we want.

Fixes #62
2015-04-15 12:39:59 -07:00
Matt Good
914553ddf5 Consolidate redundant code for SQL select/explain
The code for displaying the SQL select results and explain plan were nearly
identical, so this consolidates it to one function and template. It also fixes
correctly displaying the timing results as milliseconds.
2014-11-24 15:04:50 -08:00
Matt Good
115e874a39 Reformat templates and static files with 2 space indentation
Fixes #45
2013-03-16 16:21:39 -07:00
Nicholas Bollweg
0f923475c8 adding reference to noConflict'ed jQuery 2013-02-13 12:29:45 -05:00
Matt Good
80eb747816 Release 0.7.1 to fix the in-place loading of the template editor 2012-05-18 18:20:28 -07:00
Matt Good
18414d733b Add a live template editor to the template panel 2012-05-18 16:32:03 -07:00
Matt Good
484575eb66 Make striped table rows work with table sorter 2012-04-17 08:33:06 -07:00
Matt Good
e34c10d15b Simplifying CSS resets 2012-04-17 08:05:16 -07:00
Matt Good
025a7bebb6 Use spaces for indentation in CSS/JS 2012-04-17 08:04:05 -07:00
Ievgen Voloshchuk
addfb343b0 let's use tabs if all file use them 2012-04-17 09:54:40 +02:00
Ievgen Voloshchuk
11cb1daadf css selector corrections 2012-04-17 09:53:16 +02:00
Andrii Mishkovskyi
ddeaa2b958 Correctly try to sort all the tables possible 2012-04-17 09:50:42 +02:00
Ievgen Voloshchuk
9c1d859cfd Make profiler results sortable 2012-04-17 09:50:20 +02:00
Matt Good
002dea199e Simplify jQuery.noConflict mode to fix #16 2012-02-18 14:18:41 -08:00
Matt Good
93008a8e53 Make table bodies use mono-spaced font 2012-01-31 10:52:55 -08:00
Matt Good
8bb829e1e4 Make font reset easier to override 2012-01-31 10:25:17 -08:00
Kenneth Reitz
d85ce273af squash all the PNGs 2012-01-30 20:42:00 -05:00
Kenneth Reitz
69d137c2d7 new django flask icon 2012-01-30 20:41:50 -05:00
Michael van Tellingen
1c594b9ba3 Attempt to fix the flask-debugtoolbar:
- Rename the package to flask_debugtoolbar
 - Fix importing of the panels so that the views in the panels are correctly registered in the blueprint


There is still one major problem in the sqlalchemy panel where we are not able to get the SQLAlchemy reference
2011-10-17 21:27:51 +02:00