diff options
Diffstat (limited to 'templates/existing.html')
-rw-r--r-- | templates/existing.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/existing.html b/templates/existing.html new file mode 100644 index 0000000..ac2739a --- /dev/null +++ b/templates/existing.html @@ -0,0 +1,35 @@ +<div data-role="header"> + <h1>[% loc('Unsent Report') %]</h1> +</div> +<div data-role="content" role="main"> + <div id="existing_report"> + <% if ( title ) { %> + <h3><%= title %></h3> + <% } %> + + <div class="meta"> + <p> + <% if ( category && category != '[% loc('-- Pick a category --') %]' ) { %> + [% tprintf('Saved in the %s category', '<%= category %>') %] + <% } %> + </p> + + <p><% print( moment( created ).fromNow() ) %></p> + </div> + + <% if ( file ) { %> + <div class="photo" style="background-image: url(<%= file %>)"></div> + <% } %> + + <% if ( details ) { %> + <div class="details"><div><%= details %></div></div> + <% } %> + </div> + + + <div class="right"> + <input id="use_report" type="button" value="[% loc('Complete report now') %]" data-role="button" data-theme="a" /> + <input id="save_report" type="button" value="[% loc('Save for later') %]" data-role="button" data-theme="a" /> + <input id="discard" type="button" value="[% loc('Discard') %]" data-role="button" data-theme="a" /> + </div> +</div> |