Skip to content

Commit

Permalink
webapp - Support input type=color
Browse files Browse the repository at this point in the history
  • Loading branch information
dzc34 committed Jan 2, 2017
1 parent 0e4f2a8 commit 9dbfb50
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 9dbfb50

Please sign in to comment.