Updated templates to add primary color to icons associated to inputs
authorThierry Florac <thierry.florac@onf.fr>
Tue, 20 Mar 2018 13:48:55 +0100
changeset 89 8ed90e3c8de8
parent 88 f1b5a6216f2b
child 90 e53eb3426c6c
Updated templates to add primary color to icons associated to inputs
src/pyams_form/widget/templates/date-input.pt
src/pyams_form/widget/templates/datetime-input.pt
src/pyams_form/widget/templates/orderedselect-input.pt
src/pyams_form/widget/templates/time-input.pt
--- a/src/pyams_form/widget/templates/date-input.pt	Tue Mar 13 16:33:29 2018 +0100
+++ b/src/pyams_form/widget/templates/date-input.pt	Tue Mar 20 13:48:55 2018 +0100
@@ -1,5 +1,5 @@
 <tal:var i18n:domain="pyams_form">
-	<i class="icon-append fa fa-calendar"></i>
+	<i class="icon-append fa fa-calendar text-primary"></i>
 	<input id="" name="" class="" title="" lang="" disabled=""
 		   readonly="" alt="" tabindex="" accesskey="" size="" maxlength=""
 		   style="" value="" type="text"
--- a/src/pyams_form/widget/templates/datetime-input.pt	Tue Mar 13 16:33:29 2018 +0100
+++ b/src/pyams_form/widget/templates/datetime-input.pt	Tue Mar 20 13:48:55 2018 +0100
@@ -1,5 +1,5 @@
 <tal:var i18n:domain="pyams_form">
-	<i class="icon-append fa fa-calendar"></i>
+	<i class="icon-append fa fa-calendar text-primary"></i>
 	<input id="" name="" class="" title="" lang="" disabled=""
 		   readonly="" alt="" tabindex="" accesskey="" size="" maxlength=""
 		   style="" value="" type="text"
--- a/src/pyams_form/widget/templates/orderedselect-input.pt	Tue Mar 13 16:33:29 2018 +0100
+++ b/src/pyams_form/widget/templates/orderedselect-input.pt	Tue Mar 20 13:48:55 2018 +0100
@@ -1,6 +1,6 @@
 <label class="input bordered with-icon"
 	   tal:omit-tag="view/required" i18n:domain="pyams_security">
-	<i class="icon-append fa fa-trash-o hint opaque"
+	<i class="icon-append fa fa-trash-o text-primary hint opaque"
 		title="Clear selected values" i18n:attributes="title"
 		tal:omit-tag="view/required"
 		data-ams-hint-gravity="se"
--- a/src/pyams_form/widget/templates/time-input.pt	Tue Mar 13 16:33:29 2018 +0100
+++ b/src/pyams_form/widget/templates/time-input.pt	Tue Mar 20 13:48:55 2018 +0100
@@ -1,5 +1,5 @@
 <tal:var i18n:domain="pyams_form">
-	<i class="icon-append fa fa-clock-o"></i>
+	<i class="icon-append fa fa-clock-o text-primary"></i>
 	<input id="" name="" class="" title="" lang="" disabled=""
 		   readonly="" alt="" tabindex="" accesskey="" size="" maxlength=""
 		   style="" value="" type="text"