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 |