Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Unified Diff: command_wrapper/viewer.html

Issue 3036026: Adding a retry and logging utility + appengine backend.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/tools/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « command_wrapper/index.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: command_wrapper/viewer.html
===================================================================
--- command_wrapper/viewer.html (revision 0)
+++ command_wrapper/viewer.html (revision 0)
@@ -0,0 +1,77 @@
+<html>
+ <head>
+ <title>command_wrapper.py log</title>
+ <style>
+ table {
+ font:normal 76%/150% "Lucida Grande", "Lucida Sans Unicode", Verdana,
+ Arial, Helvetica, sans-serif;
+ border-collapse:separate;
+ border-spacing:0;
+ margin:0 0 1em;
+ color:#000;
+ }
+ th {
+ font-weight:bold;
+ line-height:normal;
+ padding:0.25em 0.5em;
+ text-align:left;
+ }
+ td {
+ padding:0.25em 0.5em;
+ text-align:left;
+ vertical-align:top;
+ }
+ </style>
+ </head>
+ <body>
+ <h1>command_wrapper.py log</h1>
+ <table>
+ <tr>
+ <th align="left">command_id</th>
+ <th align="left">remote_addr</th>
+ <th align="left">attempt</th>
+ <th align="left">retries</th>
+ <th align="left">command</th>
+ <th align="left">returncode</th>
+ <th align="left">runtime</th>
+ <th align="left">timestamp</th>
+ <th align="left">stdout</th>
+ <th align="left">stderr</th>
+ <th align="left">cwd</th>
+ <th align="left">uname_sysname</th>
+ <th align="left">uname_nodename</th>
+ <th align="left">uname_release</th>
+ <th align="left">uname_version</th>
+ <th align="left">uname_machine</th>
+ </tr>
+ {% for item in items %}
+ <tr>
+ <td>{{ item.command_id|escape }}</td>
+ <td>{{ item.remote_addr|escape }}</td>
+ <td>{{ item.attempt|escape }}</td>
+ <td>{{ item.retries|escape }}</td>
+ <td>{{ item.command|escape }}</td>
+ <td>{{ item.returncode|escape }}</td>
+ <td>{{ item.runtime|escape }}</td>
+ <td>{{ item.timestamp|escape }}</td>
+ <td>
+<pre>
+{{ item.stdout|escape }}
+</pre>
+ </td>
+ <td>
+<pre>
+{{ item.stderr|escape }}
+</pre>
+ </td>
+ <td>{{ item.cwd|escape }}</td>
+ <td>{{ item.uname_sysname|escape }}</td>
+ <td>{{ item.uname_nodename|escape }}</td>
+ <td>{{ item.uname_release|escape }}</td>
+ <td>{{ item.uname_version|escape }}</td>
+ <td>{{ item.uname_machine|escape }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+ </body>
+</html>
Property changes on: command_wrapper/viewer.html
___________________________________________________________________
Added: svn:eol
+ LF
« no previous file with comments | « command_wrapper/index.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698