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

Side by Side Diff: appengine/isolate/templates/isolated.html

Issue 2693953006: Isolate: Download files as their filename instead of hash (Closed)
Patch Set: Isolate: Download files as their filename instead of hash Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « appengine/isolate/templates/browse.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 %}
OLDNEW
« no previous file with comments | « appengine/isolate/templates/browse.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698