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

Side by Side Diff: appengine/swarming/templates/user_task.html

Issue 2069903003: swarming: custom cipd package paths (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@cipd-win
Patch Set: test "." and None custom path Created 4 years, 6 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
1 {% extends "swarming/base.html" %} 1 {% extends "swarming/base.html" %}
2 2
3 3
4 {% block headers %} 4 {% block headers %}
5 <style> 5 <style>
6 h1 { 6 h1 {
7 margin-top: 10px; 7 margin-top: 10px;
8 margin-bottom: 10px; 8 margin-bottom: 10px;
9 } 9 }
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 .code { 63 .code {
64 font-family: monospace; 64 font-family: monospace;
65 white-space: pre-wrap; 65 white-space: pre-wrap;
66 } 66 }
67 67
68 .spaced { 68 .spaced {
69 margin-top: 10px; 69 margin-top: 10px;
70 margin-bottom: 5px; 70 margin-bottom: 5px;
71 } 71 }
72
73 .package-list {
74 margin-left: 1em;
75 }
72 </style> 76 </style>
73 {% endblock %} 77 {% endblock %}
74 78
75 79
76 {% block body %} 80 {% block body %}
77 {% import 'swarming/bot_view.html' as bot_view %} 81 {% import 'swarming/bot_view.html' as bot_view %}
78 82
79 83
80 {% macro summarize_array(values) %} 84 {% macro summarize_array(values) %}
81 {% if not values %} 85 {% if not values %}
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 <tr title="CIPD server"> 227 <tr title="CIPD server">
224 <td>CIPD server</td> 228 <td>CIPD server</td>
225 <td>{{request.properties.cipd_input.server}}</td> 229 <td>{{request.properties.cipd_input.server}}</td>
226 </tr> 230 </tr>
227 <tr title="CIPD client"> 231 <tr title="CIPD client">
228 <td>CIPD client</td> 232 <td>CIPD client</td>
229 <td>{{request.properties.cipd_input.client_package}}</td> 233 <td>{{request.properties.cipd_input.client_package}}</td>
230 </tr> 234 </tr>
231 <tr title="CIPD pacakges"> 235 <tr title="CIPD pacakges">
232 <td>CIPD packages</td> 236 <td>CIPD packages</td>
233 <td>{{request.properties.cipd_input.packages|join('<br>'|safe)}}</td > 237 <td>
238 {% for path, packages in request.properties.cipd_input.packages_gr ouped_by_path() %}
239 <div>{{ path or '.'}}/</div>
240 <div class="package-list">
241 {{packages|join('<br>'|safe)}}
242 </div>
243 {% endfor %}
244 </td>
234 </tr> 245 </tr>
235 {% endif %} 246 {% endif %}
236 {% if request.properties.inputs_ref and request.properties.inputs_ref.is olated %} 247 {% if request.properties.inputs_ref and request.properties.inputs_ref.is olated %}
237 <tr title="Inputs files"> 248 <tr title="Inputs files">
238 <td>Isolated inputs</td> 249 <td>Isolated inputs</td>
239 <td> 250 <td>
240 <a 251 <a
241 href="{{request.properties.inputs_ref.isolatedserver}}/browse?na mespace={{request.properties.inputs_ref.namespace}}&hash={{request.properties.in puts_ref.isolated}}"> 252 href="{{request.properties.inputs_ref.isolatedserver}}/browse?na mespace={{request.properties.inputs_ref.namespace}}&hash={{request.properties.in puts_ref.isolated}}">
242 {{request.properties.inputs_ref.isolated}} 253 {{request.properties.inputs_ref.isolated}}
243 </a> 254 </a>
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 539
529 {% set output = task.get_output() %} 540 {% set output = task.get_output() %}
530 {% if output is not none %} 541 {% if output is not none %}
531 <h3>Output:</h3> 542 <h3>Output:</h3>
532 <pre> 543 <pre>
533 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con sole"><span class="blink">|</span>{% endif %} 544 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con sole"><span class="blink">|</span>{% endif %}
534 </pre> 545 </pre>
535 {% endif %} 546 {% endif %}
536 547
537 {% endblock %} 548 {% endblock %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698