aboutsummaryrefslogtreecommitdiffstats
path: root/www/templates/en/existing.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates/en/existing.html')
-rw-r--r--www/templates/en/existing.html41
1 files changed, 22 insertions, 19 deletions
diff --git a/www/templates/en/existing.html b/www/templates/en/existing.html
index 03e6539..bb5b326 100644
--- a/www/templates/en/existing.html
+++ b/www/templates/en/existing.html
@@ -1,30 +1,33 @@
<div data-role="header">
- <h1>Draft Report</h1>
+ <h1>In progress</h1>
</div>
<div data-role="content" role="main">
- <h2>You have an unsubmitted report</h2>
-
- <ul id="existing">
- <% if (lat) { %>
- <li>This report has a location</li>
- <% } %>
-
+ <div id="existing_report">
<% if ( title ) { %>
- <li>title: <%= title %></li>
+ <h3><%= title %></h3>
<% } %>
- <% if ( details ) { %>
- <li>details: <%= details %></li>
- <% } %>
+ <div class="meta">
+ <% if (lat) { %>
+ <span>Saved with a location</span>
+ <% } %>
- <% if ( category && category != '-- Pick a category --' ) { %>
- <li>category: <%= category %></li>
- <% } %>
- </ul>
+ <% if ( category && category != '-- Pick a category --' ) { %>
+ <span> in the <%= category %> category</span>
+ <% } %>
+
+ <span> <% print( moment( created ).fromNow() ) %></span>
+ </div>
+
+ <% if ( file ) { %>
+ <div class="photo"><img class="small" src="<%= file %>"></div>
+ <% } %>
+
+ <% if ( details ) { %>
+ <div class="details"><div><%= details %></div></div>
+ <% } %>
+ </div>
- <% if ( file ) { %>
- <div class="photo"><img class="small" src="<%= file %>"></div>
- <% } %>
<div class="right">
<input id="use_report" type="button" value="use" data-role="button" data-theme="a" />