aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/css/fms.css10
-rw-r--r--www/templates/en/photo.html44
2 files changed, 31 insertions, 23 deletions
diff --git a/www/css/fms.css b/www/css/fms.css
index fab1ade..16c93af 100644
--- a/www/css/fms.css
+++ b/www/css/fms.css
@@ -145,3 +145,13 @@
color: red;
}
select.error{ border: 1px solid red; }
+
+ div.photo {
+ margin: 0.1em 0em;
+ text-align: center;
+ }
+
+ img.small {
+ max-width: 85%;
+ max-height: 45%;
+ }
diff --git a/www/templates/en/photo.html b/www/templates/en/photo.html
index 4abdc50..79b25c3 100644
--- a/www/templates/en/photo.html
+++ b/www/templates/en/photo.html
@@ -6,30 +6,28 @@
<a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Next</a>
<% } %>
</div>
-<div class="container" data-enhance="false">
- <div class="content" role="main">
- <% if ( file != '' ) { %>
- <div id="add_photo" style="display: none">
- <% } else { %>
- <div id="add_photo">
- <% } %>
- <label>Optionally Add a Photo</label>
- <input value="Take Photo" type="button" name="photo_button" id="id_photo_button" class="green-btn"> Or
- <input value="Choose" type="button" name="existing" id="id_existing" class="green-btn">
- </div>
+<div data-role="content">
+ <% if ( file != '' ) { %>
+ <div id="add_photo" style="display: none">
+ <% } else { %>
+ <div id="add_photo">
+ <% } %>
+ <label>Optionally Add a Photo</label>
+ <input value="Take Photo" type="button" name="photo_button" id="id_photo_button" class="green-btn"> Or
+ <input value="Choose" type="button" name="existing" id="id_existing" class="green-btn">
+ </div>
- <% if ( file == '' ) { %>
- <div id="display_photo" style="display: none">
- <% } else { %>
- <div id="display_photo">
- <% } %>
- <label>Your Photo</label>
- <div class="photo">
- <img class="small" id="photo" src="<%= file %>" />
- </div>
- <div class="right">
- <input value="Remove Photo" type="button" name="del_photo_button" id="id_del_photo_button" class="green-btn">
- <div>
+ <% if ( file == '' ) { %>
+ <div id="display_photo" style="display: none">
+ <% } else { %>
+ <div id="display_photo">
+ <% } %>
+ <label>Your Photo</label>
+ <div class="photo">
+ <img class="small" id="photo" src="<%= file %>" />
</div>
+ <div class="right">
+ <input value="Remove Photo" type="button" name="del_photo_button" id="id_del_photo_button" class="green-btn">
+ <div>
</div>
</div>