Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

webconsole style enhancements

  • Loading branch information...
commit faed8d7ed7f5d11c08b6cb34333aaf50658fa30b 1 parent 0163f52
@davepacheco authored
View
16 examples/webconsole/resources/css/console.css
@@ -74,9 +74,9 @@ tr {
.kConsole {
position: absolute;
left: 5%;
- right: 5%;
top: 4%;
min-height: 90%;
+ min-width: 85%;
background: #eeeeee;
border: 1px #004400 solid;
padding-top: 20px;
@@ -84,6 +84,7 @@ tr {
padding-right: 50px;
padding-bottom: 20px;
margin-bottom: 100px;
+ margin-right: 5%;
box-shadow: 3px 3px 4px #000;
}
@@ -120,6 +121,19 @@ table.kDynamicTable {
padding-right: 10px;
}
+ table.kDynamicTable th {
+ text-align: left;
+ }
+
+ table.kDynamicTable td, table.kDynamicTable th {
+ padding: 10px;
+ }
+
+ table.kDynamicTable td, table.kDynamicTable th {
+ white-space: pre;
+ }
+
+
/*
* Raw snapshot dump (primarily for debugging)
*/
View
4 examples/webconsole/resources/js/console.js
@@ -117,7 +117,9 @@ function kRedrawDynamic()
snapshot[key][objkey].forEach(function (entry) {
var row = [];
fields.forEach(function (field) {
- row.push(entry[field] || '');
+ row.push(JSON.stringify(
+ entry[field], null, 4) ||
+ '');
});
rows.push(row);
});
Please sign in to comment.
Something went wrong with that request. Please try again.