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

Unified Diff: appengine/monorail/templates/framework/display-project-logo.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 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
Index: appengine/monorail/templates/framework/display-project-logo.ezt
diff --git a/appengine/monorail/templates/framework/display-project-logo.ezt b/appengine/monorail/templates/framework/display-project-logo.ezt
new file mode 100644
index 0000000000000000000000000000000000000000..fd787c61d29b26196ab1799753a4c3047414323e
--- /dev/null
+++ b/appengine/monorail/templates/framework/display-project-logo.ezt
@@ -0,0 +1,29 @@
+[# This template displays the project logo with the file name and a View link.
+
+ arg0: Whether to display a checkbox to delete the logo.
+]
+
+<table cellspacing="5" cellpadding="2" border="0">
+ <tr>
+ <td>
+ <b>[logo_view.filename]</b>
+ </td>
+ <td>
+ <a href="[logo_view.viewurl]" target="_blank" style="margin-left:.2em">View</a>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=2>
+ <a href="[logo_view.viewurl]" target="_blank">
+ <img src="[logo_view.thumbnail_url]" class="preview">
+ </a>
+ </td>
+ </tr>
+ [if-any arg0]
+ <tr>
+ <td colspan=2>
+ <input type="checkbox" name="delete_logo" id="delete_logo"> Delete this logo
+ </td>
+ </tr>
+ [end]
+</table>
« no previous file with comments | « appengine/monorail/templates/framework/debug.ezt ('k') | appengine/monorail/templates/framework/excessive-activity-page.ezt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698