Skip to content

Commit

Permalink
webapp - Support input type=color
Browse files Browse the repository at this point in the history
fixed  #2
  • Loading branch information
dzc34 committed Dec 19, 2016
1 parent 88040e3 commit f7be92b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrast-finder-webapp/src/main/webapp/WEB-INF/pages/form.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<div class="form-group ${foregroundOnError}">
<label for="foreground-input" class="col-lg-3 control-label"><fmt:message key="form.foregroundColor"/></label>
<div class="col-lg-4">
<form:input id="foreground-input" path="foreground" type="text" class="form-control"/>
<form:input id="foreground-input" path="foreground" type="color" class="form-control"/>
<span class="help-block"><fmt:message key="form.help"/></span>
</div>
<div id="foreground-sample" class="col-lg-2 color-sample sample-bordered">
Expand All @@ -64,7 +64,7 @@
<div class="form-group ${backgroundOnError}">
<label for="background-input" class="col-lg-3 control-label"><fmt:message key="form.backgroundColor"/></label>
<div class="col-lg-4">
<form:input id="background-input" path="background" type="text" class="form-control"/>
<form:input id="background-input" path="background" type="color" class="form-control"/>
<span class="help-block"><fmt:message key="form.help"/></span>
</div>
<div id="background-sample" class="col-lg-2 color-sample sample-bordered">
Expand Down

0 comments on commit f7be92b

Please sign in to comment.