Permalink
Browse files

initial import

  • Loading branch information...
johnboxall committed Jan 20, 2010
1 parent 40167f3 commit d946ca521a4998d7a0f7acb33733fefd668b323a
Showing with 1,414 additions and 0 deletions.
  1. +7 −0 browser.html
  2. +2 −0 embed.html
  3. BIN errorIcon.png
  4. +259 −0 firebug.css
  5. +23 −0 firebug.html
  6. +311 −0 firebug.js
  7. +402 −0 ibug.js
  8. +208 −0 ibug.py
  9. +168 −0 ibugx.py
  10. BIN infoIcon.png
  11. +27 −0 phone.html
  12. +7 −0 test.html
  13. BIN warningIcon.png
View
@@ -0,0 +1,7 @@
+<html>
+<body>
+<script type="text/javascript">
+function command(text) {
+ parent.command(text);
+}
+</script>
View
@@ -0,0 +1,2 @@
+
+ <script type="application/x-javascript" src="http://%(hostName)s:%(port)s/ibug.js"></script>
View
Binary file not shown.
View
@@ -0,0 +1,259 @@
+html, body {
+ margin: 0;
+ background: #FFFFFF;
+ font-family: Lucida Grande, Tahoma, sans-serif;
+ font-size: 11px;
+ overflow: hidden;
+}
+
+a {
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+h1 {
+ margin: 0;
+ font-size: 12px;
+}
+
+.toolbar {
+ height: 16px;
+ border-top: 1px solid ThreeDHighlight;
+ border-bottom: 1px solid ThreeDShadow;
+ padding: 2px 6px;
+ background: ThreeDFace;
+}
+
+.toolbarRight {
+ position: absolute;
+ top: 4px;
+ right: 6px;
+}
+
+#inner {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+}
+
+#log {
+ overflow: auto;
+ position: absolute;
+ left: 0;
+ width: 100%;
+}
+
+#commandLineBox {
+ position: absolute;
+ left: 0;
+ width: 100%;
+ height: 18px;
+ border-top: 1px solid #CCCCCC;
+ padding-top: 2px;
+}
+
+#commandPrefix {
+ margin-left: 4px;
+ font-family: Monaco, monospace;
+ color: blue;
+}
+
+#commandLine {
+ position: absolute;
+ margin-left: 5px;
+ width: 100%;
+ height: 100%;
+ border: none;
+ font-family: Monaco, monospace;
+}
+
+/************************************************************************************************/
+
+.logRow {
+ position: relative;
+ border-bottom: 1px solid #D7D7D7;
+ padding: 2px 4px 1px 6px;
+ background-color: #FFFFFF;
+}
+
+.logRow-command {
+ font-family: Monaco, monospace;
+ color: blue;
+}
+
+.logRow-text {
+ font-family: Monaco, monospace;
+ white-space: -moz-pre-wrap;
+}
+
+.objectBox-null {
+ padding: 0 2px;
+ border: 1px solid #666666;
+ background-color: #888888;
+ color: #FFFFFF;
+}
+
+.objectBox-string {
+ font-family: Monaco, monospace;
+ color: red;
+ white-space: pre;
+}
+
+.objectBox-number {
+ color: #000088;
+}
+
+.objectBox-function {
+ font-family: Monaco, monospace;
+ color: DarkGreen;
+}
+
+.objectBox-object {
+ color: DarkGreen;
+ font-weight: bold;
+}
+
+/************************************************************************************************/
+
+.logRow-info,
+.logRow-error,
+.logRow-warning {
+ background: #FFFFFF no-repeat 2px 2px;
+ padding-left: 20px;
+ padding-bottom: 3px;
+}
+
+.logRow-info {
+ background-image: url(infoIcon.png);
+}
+
+.logRow-warning {
+ background-color: cyan;
+ background-image: url(warningIcon.png);
+}
+
+.logRow-error {
+ background-color: LightYellow;
+ background-image: url(errorIcon.png);
+}
+
+.errorMessage {
+ vertical-align: top;
+ color: #FF0000;
+}
+
+.objectBox-sourceLink {
+ position: absolute;
+ right: 4px;
+ top: 2px;
+ padding-left: 8px;
+ font-family: Lucida Grande, sans-serif;
+ font-weight: bold;
+ color: #0000FF;
+}
+
+/************************************************************************************************/
+
+.logRow-group {
+ background: #EEEEEE;
+ border-bottom: none;
+}
+
+.logGroup {
+ background: #EEEEEE;
+}
+
+.logGroupBox {
+ margin-left: 24px;
+ border-top: 1px solid #D7D7D7;
+ border-left: 1px solid #D7D7D7;
+}
+
+/************************************************************************************************/
+
+.selectorTag,
+.selectorId,
+.selectorClass {
+ font-family: Monaco, monospace;
+ font-weight: normal;
+}
+
+.selectorTag {
+ color: #0000FF;
+}
+
+.selectorId {
+ color: DarkBlue;
+}
+
+.selectorClass {
+ color: red;
+}
+
+/************************************************************************************************/
+
+.objectBox-element {
+ font-family: Monaco, monospace;
+ color: #000088;
+}
+
+.nodeChildren {
+ margin-left: 16px;
+}
+
+.nodeTag {
+ color: blue;
+}
+
+.nodeValue {
+ color: #FF0000;
+ font-weight: normal;
+}
+
+.nodeText,
+.nodeComment {
+ margin: 0 2px;
+ vertical-align: top;
+}
+
+.nodeText {
+ color: #333333;
+}
+
+.nodeComment {
+ color: DarkGreen;
+}
+
+/************************************************************************************************/
+
+.propertyNameCell {
+ vertical-align: top;
+}
+
+.propertyName {
+ font-weight: bold;
+}
+
+/************************************************************************************************/
+
+.arrayLeftBracket,
+.arrayRightBracket,
+.arrayComma {
+ font-family: Monaco, monospace;
+}
+
+.arrayLeftBracket,
+.arrayRightBracket {
+ font-weight: bold;
+}
+
+.arrayLeftBracket {
+ margin-right: 4px;
+}
+
+.arrayRightBracket {
+ margin-left: 4px;
+}
View
@@ -0,0 +1,23 @@
+<html>
+<head>
+ <title>iPhone Firebug</title>
+ <link rel="stylesheet" type="text/css" href="firebug.css" />
+</head>
+<body>
+ <div id="inner">
+ <div id="toolbar" class="toolbar">
+ <a href="#" onclick="clearConsole()">Clear</a>
+ <span class="toolbarRight">
+ <h1>iPhone Firebug</h1>
+ </span>
+ </div>
+ <div id="log"></div>
+ <div id="commandLineBox">
+ <span id="commandPrefix">>>></span>
+ <input type="text" id="commandLine" value="Enter commands here...">
+ </div>
+ </div>
+
+ <script src="firebug.js"></script>
+</body>
+</html>
Oops, something went wrong.

0 comments on commit d946ca5

Please sign in to comment.