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

Unified 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: fix _validate_cipd_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/swarming/swarming_rpcs.py ('k') | appengine/swarming/test_env_handlers.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/templates/user_task.html
diff --git a/appengine/swarming/templates/user_task.html b/appengine/swarming/templates/user_task.html
index b69a642466ad87103c2f824ac2ffc99a95075f87..8f7ecc5aa6b428c6166eb058ddac6932abb96ff7 100644
--- a/appengine/swarming/templates/user_task.html
+++ b/appengine/swarming/templates/user_task.html
@@ -69,6 +69,10 @@
margin-top: 10px;
margin-bottom: 5px;
}
+
+ .package-list {
+ margin-left: 1em;
+ }
</style>
{% endblock %}
@@ -230,7 +234,14 @@
</tr>
<tr title="CIPD pacakges">
<td>CIPD packages</td>
- <td>{{request.properties.cipd_input.packages|join('<br>'|safe)}}</td>
+ <td>
+ {% for path, packages in request.properties.cipd_input.packages_grouped_by_path() %}
+ <div>{{ path or '.'}}/</div>
+ <div class="package-list">
+ {{packages|join('<br>'|safe)}}
+ </div>
+ {% endfor %}
+ </td>
</tr>
{% endif %}
{% if request.properties.inputs_ref and request.properties.inputs_ref.isolated %}
« no previous file with comments | « appengine/swarming/swarming_rpcs.py ('k') | appengine/swarming/test_env_handlers.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698