Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

webconsole style enhancements

  • Loading branch information...
commit faed8d7ed7f5d11c08b6cb34333aaf50658fa30b 1 parent 0163f52
David Pacheco authored
16 examples/webconsole/resources/css/console.css
@@ -74,9 +74,9 @@ tr {
74 74 .kConsole {
75 75 position: absolute;
76 76 left: 5%;
77   - right: 5%;
78 77 top: 4%;
79 78 min-height: 90%;
  79 + min-width: 85%;
80 80 background: #eeeeee;
81 81 border: 1px #004400 solid;
82 82 padding-top: 20px;
@@ -84,6 +84,7 @@ tr {
84 84 padding-right: 50px;
85 85 padding-bottom: 20px;
86 86 margin-bottom: 100px;
  87 + margin-right: 5%;
87 88 box-shadow: 3px 3px 4px #000;
88 89 }
89 90
@@ -120,6 +121,19 @@ table.kDynamicTable {
120 121 padding-right: 10px;
121 122 }
122 123
  124 + table.kDynamicTable th {
  125 + text-align: left;
  126 + }
  127 +
  128 + table.kDynamicTable td, table.kDynamicTable th {
  129 + padding: 10px;
  130 + }
  131 +
  132 + table.kDynamicTable td, table.kDynamicTable th {
  133 + white-space: pre;
  134 + }
  135 +
  136 +
123 137 /*
124 138 * Raw snapshot dump (primarily for debugging)
125 139 */
4 examples/webconsole/resources/js/console.js
@@ -117,7 +117,9 @@ function kRedrawDynamic()
117 117 snapshot[key][objkey].forEach(function (entry) {
118 118 var row = [];
119 119 fields.forEach(function (field) {
120   - row.push(entry[field] || '');
  120 + row.push(JSON.stringify(
  121 + entry[field], null, 4) ||
  122 + '');
121 123 });
122 124 rows.push(row);
123 125 });

0 comments on commit faed8d7

Please sign in to comment.
Something went wrong with that request. Please try again.