| OLD | NEW |
| (Empty) | |
| 1 {% block headers %} |
| 2 <style> |
| 3 th, td { |
| 4 padding: 5px; |
| 5 } |
| 6 tr:nth-child(even) { |
| 7 background-color: #f2f2f2; |
| 8 } |
| 9 table { |
| 10 overflow-x: auto; |
| 11 } |
| 12 </style> |
| 13 {% endblock %} |
| 14 {% block body %} |
| 15 <div style="font-family:monospace;white-space:pre-wrap;">command: |
| 16 {{isolated.get('command', '')|join('\n ')}} |
| 17 algo: {{isolated.get('algo', '')}} |
| 18 includes: |
| 19 {% for digest in isolated.get('includes', '') %} |
| 20 <a target="_blank" href="/browse?namespace{{namespace}}&digest={{digest}}">{
{digest}}</a> |
| 21 {% endfor %} |
| 22 read_only: {{isolated.get('read_only', '')}} |
| 23 relative_cwd: {{isolated.get('relative_cwd', '')}} |
| 24 version: {{isolated.get('version', '')}} |
| 25 <table> |
| 26 <thead><tr><th>file</th><th>digest</th><th>mode</th><th>size</th><th>symlink
</th><th>filetype</th></tr></thead> |
| 27 <tbody> |
| 28 {% for filepath, file in isolated.files.iteritems() %} |
| 29 <tr> |
| 30 <td> |
| 31 {% if 'h' in file %} |
| 32 <a target="_blank" href="/browse?namespace={{namespace}}&digest=
{{file.h}}&as={{filepath|basename|urlencode}}">{{filepath}}</a> |
| 33 {% else %} |
| 34 {{filepath}} |
| 35 {% endif %} |
| 36 </td> |
| 37 <td>{{file.get('h', '')}}</td> |
| 38 <td>{{file.get('m', '')}}</td> |
| 39 <td>{{file.get('s', '')}}</td> |
| 40 <td>{{file.get('l', '')}}</td> |
| 41 <td>{{file.get('t', '')}}</td> |
| 42 </tr> |
| 43 {% endfor %} |
| 44 </tbody> |
| 45 </table> |
| 46 </div> |
| 47 {% endblock %} |
| OLD | NEW |