diff --git a/templates/admin/default/assets/less/main.less b/templates/admin/default/assets/less/main.less index 7ad14e013..3498441a2 100644 --- a/templates/admin/default/assets/less/main.less +++ b/templates/admin/default/assets/less/main.less @@ -2,5 +2,4 @@ @import "bootstrap/bootstrap.less"; /* Thelia Admin */ -@import "thelia/thelia.less"; -// @import "thelia/responsive.less"; \ No newline at end of file +@import "thelia/thelia.less"; \ No newline at end of file diff --git a/templates/admin/default/assets/less/thelia/variables.less b/templates/admin/default/assets/less/thelia/variables.less index dec523afc..159d76b37 100755 --- a/templates/admin/default/assets/less/thelia/variables.less +++ b/templates/admin/default/assets/less/thelia/variables.less @@ -44,4 +44,9 @@ // Used for a bird's eye view of components dependent on the z-axis // Try to avoid customizing these :) -@zindex-dropdown: 1005; \ No newline at end of file +@zindex-dropdown: 1005; + +// Forms +// ------------------------- + +@input-border-focus: @brand-primary; \ No newline at end of file diff --git a/templates/admin/default/coupon-create.html b/templates/admin/default/coupon-create.html index 6f7126e6d..7cb31ee09 100755 --- a/templates/admin/default/coupon-create.html +++ b/templates/admin/default/coupon-create.html @@ -20,9 +20,9 @@ {/form} -{/block} {include file='includes/confirmation-modal.html'} +{/block} {block name="javascript-initialization"} {javascripts file='assets/bootstrap-datepicker/js/bootstrap-datepicker.js'} diff --git a/templates/admin/default/coupon/form.html b/templates/admin/default/coupon/form.html index b715cd741..567d95f76 100644 --- a/templates/admin/default/coupon/form.html +++ b/templates/admin/default/coupon/form.html @@ -1,8 +1,8 @@ {$thelia_page_css_file = "assets/bootstrap-editable/css/bootstrap-editable.css"} {include file='includes/notifications.html' message=$general_error}
-
-
+
+
{form_hidden_fields form=$form} @@ -10,24 +10,24 @@ {/form_field} -
-
+
+
{form_field form=$form field='code'} - + {if $error}{$message}{/if} {/form_field}
-
+
{form_field form=$form field='title'} - + {if $error}{$message}{/if} {/form_field}
-
+
-
+
-
+
-
+
-
+
{form_field form=$form field='expirationDate'} - + {if $error}{$message}{/if} {/form_field}
-
+
{form_field form=$form field='maxUsage'} - + {if $error}{$message}{/if} {/form_field}
-
+
-
-
+
+
{form_field form=$form field='effect'} - @@ -109,18 +109,18 @@
-
-
+
+
{form_field form=$form field='amount'} - + {if $error}{$message}{/if} {/form_field}
-
+
{*form_field form=$form field='category'*} - @@ -131,37 +131,39 @@
-
+
{form_field form=$form field='shortDescription'} - + {if $error}{$message}{/if} {/form_field}
- +
+
-
- - {form_field form=$form field='description'} - - {if $error}{$message}{/if} - {/form_field} +
+ + {form_field form=$form field='description'} + + {if $error}{$message}{/if} + {/form_field} +
+ +
- -
-
-
+
+
@@ -178,8 +180,8 @@ @@ -187,8 +189,8 @@ @@ -196,8 +198,8 @@ @@ -205,10 +207,10 @@ -
-
+
+
-
+
-
+
- - -
-
+
-
- -
- - - +
+
+ +
+
+ + +
+
+ + + +
+
+ +
+
+ +
-
- -
- - - +
+
+ +
+
+
- - -
- - - -
Rules - - + +
is superior or equals to 300 € - Edit - Delete + Edit + Delete
is equals to 12 - Chaussettes rouges - Edit - Delete + Edit + Delete
is inferior or equals to 12/02/2014 - Edit - Delete + Edit + Delete
- - - - - - - - - -
Categories list
+
+
+ + + + + + + + + + +
Categories list
+