diff options
-rw-r--r-- | www/css/fms.css | 10 | ||||
-rw-r--r-- | www/js/views/details.js | 4 | ||||
-rw-r--r-- | www/templates/en/details.html | 31 |
3 files changed, 26 insertions, 19 deletions
diff --git a/www/css/fms.css b/www/css/fms.css index 16c93af..c080f8b 100644 --- a/www/css/fms.css +++ b/www/css/fms.css @@ -16,6 +16,7 @@ .gmailstyletest{ /*width:100%;*/ /*max-width:100%;*/ + font-size: 16px; border: 1px solid #ccc; padding:0; margin-left: -15px; @@ -24,6 +25,15 @@ .gmailstyletest > div{ border-bottom: 1px solid #ccc; } + + .gmailstyletest input, + .gmailstyletest input[type="password"], + .gmailstyletest input[type="search"], + .gmailstyletest textarea, + .gmailstyletest select, + .gmailstyletest input[type="range"] { + font-size: 16px; + } select{ -webkit-appearance: none; -moz-appearance: none; diff --git a/www/js/views/details.js b/www/js/views/details.js index d3914c6..bd9f921 100644 --- a/www/js/views/details.js +++ b/www/js/views/details.js @@ -20,6 +20,10 @@ if ( this.model.get('category') ) { this.$('#form_category').val( this.model.get('category') ); } + + this.$('#form_category') + .attr('data-role', 'none') + .addClass('noselection'); }, onClickButtonPrev: function() { diff --git a/www/templates/en/details.html b/www/templates/en/details.html index dbd08cd..81f62e4 100644 --- a/www/templates/en/details.html +++ b/www/templates/en/details.html @@ -2,27 +2,20 @@ <h1>Details</h1> <a id="next" 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"> - <div id="side-form"> - <fieldset> - <div id="problem_form"> - - <label for="form_title">Subject</label> - <input type="text" name="title" id="form_title" placeholder="Provide a title" value="<%= title %>" required> +<div data-role="content"> + <div class="gmailstyletest"> + <div> + <label for="form_title">Subject</label> + <input data-role="none" type="text" name="title" id="form_title" placeholder="Provide a title" value="<%= title %>" required> + </div> - <label for="form_detail">Details</label> - <textarea rows="7" cols="26" name="detail" id="form_detail" placeholder="Please fill in details of the problem." required><%= details %></textarea> + <div> + <%= categories %> + </div> - <%= categories %> - <!-- - <div id="form_category_row"> - <label class="inline" for="form_category">Category</label> - <select name="category" id="form_category" required><option>Loading...</option></select> - </div> - --> - </div> - </fieldset> + <div> + <label for="form_detail">Details</label> + <textarea data-role="none" name="detail" id="form_detail" placeholder="Please fill in details of the problem." required><%= details %></textarea> </div> </div> </div> |