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

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
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 <tr><th>file</th><th>digest</th><th>mode</th><th>size</th><th>symlink</th><t h>filetype</th></tr>
M-A Ruel 2017/03/23 21:23:42 <thead> ?
jonesmi 2017/03/23 22:15:30 Done.
27 {% for filepath, file in isolated.files.iteritems() %}
28 <tr>
29 <td>
30 {% if 'h' in file %}
31 <a target="_blank" href="/browse?namespace={{namespace}}&digest={{fi le.h}}&as={{filepath|basename|urlencode}}">{{filepath}}</a>
32 {% else %}
33 {{filepath}}
34 {% endif %}
35 </td>
36 <td>{{file.get('h', '')}}</td>
37 <td>{{file.get('m', '')}}</td>
38 <td>{{file.get('s', '')}}</td>
39 <td>{{file.get('l', '')}}</td>
40 <td>{{file.get('t', '')}}</td>
41 </tr>
42 {% endfor %}
43 </table>
44 </div>
45 {% endblock %}
OLDNEW
« appengine/isolate/handlers_frontend.py ('K') | « appengine/isolate/templates/browse.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698