OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <title>command_wrapper.py log</title> |
| 4 <style> |
| 5 table { |
| 6 font:normal 76%/150% "Lucida Grande", "Lucida Sans Unicode", Verdana, |
| 7 Arial, Helvetica, sans-serif; |
| 8 border-collapse:separate; |
| 9 border-spacing:0; |
| 10 margin:0 0 1em; |
| 11 color:#000; |
| 12 } |
| 13 th { |
| 14 font-weight:bold; |
| 15 line-height:normal; |
| 16 padding:0.25em 0.5em; |
| 17 text-align:left; |
| 18 } |
| 19 td { |
| 20 padding:0.25em 0.5em; |
| 21 text-align:left; |
| 22 vertical-align:top; |
| 23 } |
| 24 </style> |
| 25 </head> |
| 26 <body> |
| 27 <h1>command_wrapper.py log</h1> |
| 28 <table> |
| 29 <tr> |
| 30 <th align="left">command_id</th> |
| 31 <th align="left">remote_addr</th> |
| 32 <th align="left">attempt</th> |
| 33 <th align="left">retries</th> |
| 34 <th align="left">command</th> |
| 35 <th align="left">returncode</th> |
| 36 <th align="left">runtime</th> |
| 37 <th align="left">timestamp</th> |
| 38 <th align="left">stdout</th> |
| 39 <th align="left">stderr</th> |
| 40 <th align="left">cwd</th> |
| 41 <th align="left">uname_sysname</th> |
| 42 <th align="left">uname_nodename</th> |
| 43 <th align="left">uname_release</th> |
| 44 <th align="left">uname_version</th> |
| 45 <th align="left">uname_machine</th> |
| 46 </tr> |
| 47 {% for item in items %} |
| 48 <tr> |
| 49 <td>{{ item.command_id|escape }}</td> |
| 50 <td>{{ item.remote_addr|escape }}</td> |
| 51 <td>{{ item.attempt|escape }}</td> |
| 52 <td>{{ item.retries|escape }}</td> |
| 53 <td>{{ item.command|escape }}</td> |
| 54 <td>{{ item.returncode|escape }}</td> |
| 55 <td>{{ item.runtime|escape }}</td> |
| 56 <td>{{ item.timestamp|escape }}</td> |
| 57 <td> |
| 58 <pre> |
| 59 {{ item.stdout|escape }} |
| 60 </pre> |
| 61 </td> |
| 62 <td> |
| 63 <pre> |
| 64 {{ item.stderr|escape }} |
| 65 </pre> |
| 66 </td> |
| 67 <td>{{ item.cwd|escape }}</td> |
| 68 <td>{{ item.uname_sysname|escape }}</td> |
| 69 <td>{{ item.uname_nodename|escape }}</td> |
| 70 <td>{{ item.uname_release|escape }}</td> |
| 71 <td>{{ item.uname_version|escape }}</td> |
| 72 <td>{{ item.uname_machine|escape }}</td> |
| 73 </tr> |
| 74 {% endfor %} |
| 75 </table> |
| 76 </body> |
| 77 </html> |
OLD | NEW |