aboutsummaryrefslogtreecommitdiffstats
path: root/www/templates/nb/photo.html
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2017-05-27 22:31:48 +0200
committerMarius Halden <marius.h@lden.org>2017-05-27 22:31:48 +0200
commitd57de932e03d82b6ee2cea5df30233ac3379be8f (patch)
tree79ddcb510e57c5bb0d4c7773d13f218d4fd445ed /www/templates/nb/photo.html
parentaa1d51557cd1d835ed68d8103b2a1ed4ae3a370e (diff)
Translation stuff
Diffstat (limited to 'www/templates/nb/photo.html')
-rw-r--r--www/templates/nb/photo.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/www/templates/nb/photo.html b/www/templates/nb/photo.html
new file mode 100644
index 0000000..43bf1ad
--- /dev/null
+++ b/www/templates/nb/photo.html
@@ -0,0 +1,36 @@
+<div data-role="header">
+ <h1>Legg til bilde</h1>
+ <% if ( file == '' ) { %>
+ <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Hopp over</a>
+ <% } else { %>
+ <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Neste</a>
+ <% } %>
+</div>
+<div data-role="content">
+ <% var photoClass = 'nodisplay', nophotoClass = 'nodisplay';
+ if ( file != '' ) {
+ photoClass = '';
+ } else {
+ nophotoClass = '';
+ } %>
+ <h2 id="nophoto_title" class="<% print( nophotoClass ); %>">
+ Legg til et bilde <em>(valgfritt)</em>
+ </h2>
+ <h2 id="photo_title" class="<% print( photoClass ); %>">
+ Bilde for rapport
+ </h2>
+ <div class="photo-wrapper">
+ <div class="photo">
+ <% if ( file == '' ) { %>
+ <img class="placeholder" src="images/placeholder-photo.png" alt="" id="photo">
+ <% } else { %>
+ <img class="small" id="photo" src="<%= file %>" />
+ <% } %>
+ <a data-role="none" id="id_del_photo_button" class="photo-corner-button">X</a>
+ </div>
+ </div>
+ <div class="bottom-btn">
+ <input data-icon="fms-photo-existing" type="button" id="id_existing" data-theme="c" value="Legg til et eksisterende bilde" >
+ <input data-icon="fms-photo-new" id="id_photo_button" type="button" data-theme="a" value="Ta nytt bilde">
+ </div>
+</div>