aboutsummaryrefslogtreecommitdiffstats
path: root/templates/photo.html
blob: 2bc586b7a3ccb66c31b6026b906f4c149c500ca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div data-role="header">
        <h1>[% loc('Add Photo') %]</h1>
        <% if ( file == '' ) { %>
        <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Skip') %]</a>
        <% } else { %>
        <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Next') %]</a>
        <% } %>
</div>
<div data-role="content">
    <h2>[% loc('Add a Photo') %] <em>[% loc('(optional)') %]</em>:</h2>
    <div class="photo">
    <% if ( file == '' ) { %>
        <img class="placeholder" src="images/placeholder-photo.png" alt="" id="photo">
    <% } else { %>
        <img class="small" id="photo" src="<%= file %>" />
    <% } %>
    </div>
    <div class="bottom-btn">
        <input data-icon="fms-photo-existing" type="button" id="id_existing" data-theme="c" value="[% loc('Add an existing photo') %]" >
        <input data-icon="fms-photo-new" id="id_photo_button" type="button" data-theme="a" value="[% loc('Take a new photo') %]">
        <input id="id_del_photo_button" type="button" data-theme="a" value="[% loc('Remove Photo') %]">
    </div>
</div>