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

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

Issue 2465273002: Display expected outputs in legacy task view (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | 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
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 {{request.properties.inputs_ref.isolated}} 289 {{request.properties.inputs_ref.isolated}}
290 </a> 290 </a>
291 </td> 291 </td>
292 </tr> 292 </tr>
293 <tr title="Extra arguments if applicable"> 293 <tr title="Extra arguments if applicable">
294 <td>Extra args</td> 294 <td>Extra args</td>
295 <td> 295 <td>
296 {{request.properties.extra_args|join(' ')}}<br> 296 {{request.properties.extra_args|join(' ')}}<br>
297 </td> 297 </td>
298 </tr> 298 </tr>
299 <tr title="Expected output files">
300 <td>Expected outputs</td>
301 <td>
302 {% for output in request.properties.outputs %}
M-A Ruel 2016/11/01 13:35:21 Note that this could be None, in this case this wi
303 {{output}}<br/>
304 {% endfor %}
305 </td>
306 </tr>
299 {% else %} 307 {% else %}
300 {# Raw command #} 308 {# Raw command #}
301 <tr title="Actual command executed by the bot."> 309 <tr title="Actual command executed by the bot.">
302 <td>Commands</td> 310 <td>Commands</td>
303 <td> 311 <td>
304 {% if request.properties.commands %} 312 {% if request.properties.commands %}
305 {{request.properties.commands[0]|join(' ')}}<br> 313 {{request.properties.commands[0]|join(' ')}}<br>
306 {% elif request.properties.command %} 314 {% elif request.properties.command %}
307 {{request.properties.command|join(' ')}}<br> 315 {{request.properties.command|join(' ')}}<br>
308 {% else %} 316 {% else %}
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 612
605 {% set output = task.get_output() %} 613 {% set output = task.get_output() %}
606 {% if output is not none %} 614 {% if output is not none %}
607 <h3>Output:</h3> 615 <h3>Output:</h3>
608 <pre> 616 <pre>
609 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con sole"><span class="blink">|</span>{% endif %} 617 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con sole"><span class="blink">|</span>{% endif %}
610 </pre> 618 </pre>
611 {% endif %} 619 {% endif %}
612 620
613 {% endblock %} 621 {% endblock %}
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698