aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/en/existing.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/en/existing.html')
-rw-r--r--src/templates/en/existing.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/templates/en/existing.html b/src/templates/en/existing.html
new file mode 100644
index 0000000..ced8572
--- /dev/null
+++ b/src/templates/en/existing.html
@@ -0,0 +1,39 @@
+<div data-role="header">
+ <h1>In progress</h1>
+</div>
+<div data-role="content" role="main">
+ <div id="existing_report">
+ <% if ( title ) { %>
+ <h3><%= title %></h3>
+ <% } %>
+
+ <div class="meta">
+ <p>
+ <% if (lat) { %>
+ Saved with a location
+ <% } %>
+
+ <% if ( category && category != '-- Pick a category --' ) { %>
+ in the <%= category %> category
+ <% } %>
+ </p>
+
+ <p><% print( moment( created ).fromNow() ) %></p>
+ </div>
+
+ <% if ( file ) { %>
+ <div class="photo"><img class="small" src="<%= file %>"></div>
+ <% } %>
+
+ <% if ( details ) { %>
+ <div class="details"><div><%= details %></div></div>
+ <% } %>
+ </div>
+
+
+ <div class="right">
+ <input id="use_report" type="button" value="use" data-role="button" data-theme="a" />
+ <input id="save_report" type="button" value="save" data-role="button" data-theme="a" />
+ <input id="discard" type="button" value="discard" data-role="button" data-theme="a" />
+ </div>
+</div>