This repository has been archived by the owner on Jul 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stig Lindqvist
committed
Sep 3, 2014
1 parent
748e5dd
commit 02b5dc5
Showing
6 changed files
with
239 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#listview { | ||
font-size: 13px; | ||
} | ||
|
||
#listview td { | ||
vertical-align: text-top; | ||
} | ||
|
||
#listview .hide { | ||
display: none; | ||
} | ||
|
||
.type-show { | ||
color: #888; | ||
} | ||
|
||
.type-select { | ||
color: #000; | ||
} | ||
|
||
.type-delete { | ||
color: #900; | ||
} | ||
|
||
.type-update { | ||
color: #006; | ||
} | ||
|
||
.type-insert { | ||
color: #060 | ||
} | ||
|
||
.center { | ||
text-align: center; | ||
} | ||
|
||
.duplicates { | ||
border: 1px solid #000; | ||
margin: 1px; | ||
} | ||
|
||
td.query { | ||
font-family: monospace; | ||
} | ||
|
||
.cursor { | ||
cursor: pointer; | ||
} | ||
|
||
tr.odd td { | ||
background: #dde9ff; | ||
} | ||
|
||
tr.even { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>DBProfiler</title> | ||
<style type="text/css"> | ||
body { background-color:#eee; margin:0; padding:0; font-family:Helvetica,Arial,sans-serif; } | ||
.info { border-bottom:1px dotted #333; background-color:#ccdef3; margin:0; padding:6px 12px; } | ||
.info h1 { margin:0; padding:0; color:#333; letter-spacing:-2px; } | ||
.header { margin:0; border-bottom:6px solid #ccdef3; height:23px; background-color:#666673; | ||
padding:4px 0 2px 6px; } | ||
.trace { padding:6px 12px; }.trace li { font-size:14px; margin:6px 0; }pre { margin-left:18px; } | ||
pre span { color:#999;} | ||
pre .error { color:#f00; }.pass { margin-top:18px; padding:2px 20px 2px 40px; color:#006600; background:#E2F9E3; border:1px solid #8DD38D; } | ||
.fail { margin-top:18px; padding:2px 20px 2px 40px; color:#C80700; background:#FFE9E9; border:1px solid #C80700; } | ||
.failure span { color:#C80700; font-weight:bold; } | ||
.list {padding:6px 12px; } | ||
.list table {font-size:14px;} | ||
.summary {font-size: 14px;} | ||
.type-show {color: #888;} | ||
.type-select {color: #000;} | ||
.type-update {color:#900;} | ||
.duplicates{ border: 1px solid #000; text-align: center;} | ||
.hide { | ||
display: none; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="info"> | ||
<h1>DBProfiler</h1> | ||
</div> | ||
<div class="list"> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Total time</th> | ||
<th>Queries</th> | ||
<th>Url</th> | ||
<th>When</th> | ||
</tr> | ||
<% loop List %> | ||
<tr> | ||
<td>$TotalTime</td> | ||
<td>$Count</td> | ||
<td>$Url</td> | ||
<td><a href="$Link">$DateTime</a></td> | ||
</tr> | ||
<% end_loop %> | ||
</thead> | ||
</table> | ||
</div> | ||
</body> | ||
</html> | ||
<head><title>GET /dev/</title> | ||
<link rel="stylesheet" type="text/css" href="http://sandbox.dev/framework/css/debug.css"/> | ||
</head> | ||
<body> | ||
<div class="info"> | ||
<h1>SilverStripe Development DBProfiler</h1> | ||
<h3>$AbsoluteBaseURL</h3><a href="$Link">DBProfile</a></div> | ||
<div class="options"> | ||
<table id="listview"> | ||
<thead> | ||
<tr> | ||
<th>Total time</th> | ||
<th>Queries</th> | ||
<th>Url</th> | ||
<th>When</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<% loop $List %> | ||
<tr> | ||
<td>$TotalTime</td> | ||
<td>$Count</td> | ||
<td>$Url</td> | ||
<td><a href="$Link">$DateTime</a></td> | ||
</tr> | ||
<% end_loop %> | ||
</tbody> | ||
|
||
</table> | ||
</div> | ||
</div> | ||
<script> | ||
$(document).ready( function () { | ||
$('#listview').DataTable({ | ||
"paging": false, | ||
"order": [] | ||
}); | ||
} ); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.