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

Unified Diff: appengine/monorail/templates/tracker/issue-import-page.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/tracker/issue-import-page.ezt
diff --git a/appengine/monorail/templates/tracker/issue-import-page.ezt b/appengine/monorail/templates/tracker/issue-import-page.ezt
new file mode 100644
index 0000000000000000000000000000000000000000..9e0f713d8bf9ca996e12f04c725e2e537228bfd9
--- /dev/null
+++ b/appengine/monorail/templates/tracker/issue-import-page.ezt
@@ -0,0 +1,45 @@
+[define category_css]css/ph_detail.css[end]
+[include "../framework/master-header.ezt" "showtabs"]
+
+<h3>Issue export</h3>
+
+[if-any import_errors]
+ [# This is actually used to show both errors and progress messages
+ after a successful import.]
+ <div class="error" style="margin-bottom:1em">
+ Import event log:
+ <ul>
+ [for import_errors]
+ <li>[import_errors]</li>
+ [end]
+ </ul>
+ </div>
+[end]
+
+
+<form action="import.do" enctype="multipart/form-data" method="POST">
+ <input type="hidden" name="token" value="[form_token]">
+ <table cellpadding="3" class="rowmajor vt">
+ <tr>
+ <th>Format</th>
+ <td style="width:90%">JSON</td>
+ </tr>
+ <tr>
+ <th>File</th>
+ <td><input type="file" name="jsonfile"></td>
+ </tr>
+ <tr>
+ <th>Pre-check only</th>
+ <td><input type="checkbox" name="pre_check_only"></td>
+ </tr>
+ <tr>
+ <th></th>
+ <td><input type="submit" name="btn" value="Submit"></td>
+ </tr>
+ </table>
+</form>
+
+
+
+[include "../framework/footer-script.ezt"]
+[include "../framework/master-footer.ezt"]
« no previous file with comments | « appengine/monorail/templates/tracker/issue-hovercard.ezt ('k') | appengine/monorail/templates/tracker/issue-list-body.ezt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698