// I'm not sure as I've never had a look at how that works before ;)

This commit is contained in:
Kevin Granger
2013-07-31 21:17:03 +02:00
parent 50bdfb9a1a
commit e4878ba393
26 changed files with 769 additions and 648 deletions
+158 -115
View File
@@ -216,12 +216,14 @@ table {
p,
h2,
h3 {
h3,
#content .panel-heading {
orphans: 3;
widows: 3; }
h2,
h3 {
h3,
#content .panel-heading {
page-break-after: avoid; }
.navbar {
@@ -263,12 +265,12 @@ textarea {
line-height: inherit; }
a {
color: #313a45;
color: #444b55;
text-decoration: none; }
a:hover,
a:focus {
color: #111418;
color: #22252b;
text-decoration: underline; }
a:focus {
@@ -349,12 +351,12 @@ a.text-success:focus {
.text-center {
text-align: center; }
h1, h2, h3, h4, h5, h6,
h1, h2, h3, #content .panel-heading, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: "Ubuntu", sans-serif;
font-weight: 300;
line-height: 1.1; }
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small,
h1 small, h2 small, h3 small, #content .panel-heading small, h4 small, h5 small, h6 small,
.h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small {
font-weight: normal;
line-height: 1;
@@ -362,7 +364,8 @@ h1, h2, h3, h4, h5, h6,
h1,
h2,
h3 {
h3,
#content .panel-heading {
margin-top: 17px;
margin-bottom: 8.5px; }
@@ -378,7 +381,7 @@ h1, .h1 {
h2, .h2 {
font-size: 27px; }
h3, .h3 {
h3, #content .panel-heading, .h3 {
font-size: 21px; }
h4, .h4 {
@@ -396,7 +399,7 @@ h1 small, .h1 small {
h2 small, .h2 small {
font-size: 15px; }
h3 small, .h3 small,
h3 small, #content .panel-heading small, .h3 small,
h4 small, .h4 small {
font-size: 12px; }
@@ -565,11 +568,11 @@ pre {
clear: both; }
@media (min-width: 768px) {
.row {
margin-left: -15px;
margin-right: -15px; } }
margin-left: -5px;
margin-right: -5px; } }
.row .row {
margin-left: -15px;
margin-right: -15px; }
margin-left: -5px;
margin-right: -5px; }
.col-1,
.col-2,
@@ -609,8 +612,8 @@ pre {
.col-lg-12 {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px; }
padding-left: 5px;
padding-right: 5px; }
.col-1,
.col-2,
@@ -974,7 +977,7 @@ th {
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
background-color: #919fb1; }
background-color: #aab1bb; }
table col[class^="col-"] {
float: none;
@@ -1496,16 +1499,16 @@ input[type="color"].input-small {
background-color: #48525f;
border-color: #48525f; }
.btn-primary, .toolbar_btn {
.btn-primary {
color: white;
background-color: #313a45;
border-color: #313a45; }
.btn-primary:hover, .toolbar_btn:hover, .btn-primary:focus, .toolbar_btn:focus, .btn-primary:active, .toolbar_btn:active, .btn-primary.active, .active.toolbar_btn {
background-color: #262d36;
border-color: #1c2127; }
.btn-primary.disabled, .disabled.toolbar_btn, .btn-primary.disabled:hover, .disabled.toolbar_btn:hover, .btn-primary.disabled:focus, .disabled.toolbar_btn:focus, .btn-primary.disabled:active, .disabled.toolbar_btn:active, .btn-primary.disabled.active, .disabled.active.toolbar_btn, .btn-primary[disabled], [disabled].toolbar_btn, .btn-primary[disabled]:hover, [disabled].toolbar_btn:hover, .btn-primary[disabled]:focus, [disabled].toolbar_btn:focus, .btn-primary[disabled]:active, [disabled].toolbar_btn:active, .btn-primary[disabled].active, [disabled].active.toolbar_btn, fieldset[disabled] .btn-primary, fieldset[disabled] .toolbar_btn, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .toolbar_btn:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .toolbar_btn:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .toolbar_btn:active, fieldset[disabled] .btn-primary.active, fieldset[disabled] .active.toolbar_btn {
background-color: #313a45;
border-color: #313a45; }
background-color: #444b55;
border-color: #444b55; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
background-color: #393f47;
border-color: #2d3239; }
.btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active {
background-color: #444b55;
border-color: #444b55; }
.btn-warning {
color: white;
@@ -1552,7 +1555,7 @@ input[type="color"].input-small {
border-color: #5bc0de; }
.btn-link {
color: #313a45;
color: #444b55;
font-weight: normal;
cursor: pointer;
border-radius: 0; }
@@ -1564,7 +1567,7 @@ input[type="color"].input-small {
.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
border-color: transparent; }
.btn-link:hover, .btn-link:focus {
color: #111418;
color: #22252b;
text-decoration: underline;
background-color: transparent; }
.btn-link[disabled]:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:hover, fieldset[disabled] .btn-link:focus {
@@ -1668,25 +1671,25 @@ input[type="button"].btn-block {
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
text-decoration: none;
color: white;
background-color: #262d36;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#313a45), to(#262d36));
background-image: -webkit-linear-gradient(top, #313a45, #262d36);
background-image: -moz-linear-gradient(top, #313a45, #262d36);
background-image: linear-gradient(to bottom, #313a45, #262d36);
background-color: #393f47;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444b55), to(#393f47));
background-image: -webkit-linear-gradient(top, #444b55, #393f47);
background-image: -moz-linear-gradient(top, #444b55, #393f47);
background-image: linear-gradient(to bottom, #444b55, #393f47);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF313A45', endColorstr='#FF262D36', GradientType=0); }
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF444B55', endColorstr='#FF393F47', GradientType=0); }
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
color: white;
text-decoration: none;
outline: 0;
background-color: #262d36;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#313a45), to(#262d36));
background-image: -webkit-linear-gradient(top, #313a45, #262d36);
background-image: -moz-linear-gradient(top, #313a45, #262d36);
background-image: linear-gradient(to bottom, #313a45, #262d36);
background-color: #393f47;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444b55), to(#393f47));
background-image: -webkit-linear-gradient(top, #444b55, #393f47);
background-image: -moz-linear-gradient(top, #444b55, #393f47);
background-image: linear-gradient(to bottom, #444b55, #393f47);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF313A45', endColorstr='#FF262D36', GradientType=0); }
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF444B55', endColorstr='#FF393F47', GradientType=0); }
.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
color: #999999; }
@@ -1770,12 +1773,12 @@ a.list-group-item:hover, a.list-group-item:focus {
a.list-group-item.active {
z-index: 2;
color: white;
background-color: #313a45;
border-color: #313a45; }
background-color: #444b55;
border-color: #444b55; }
a.list-group-item.active .list-group-item-heading {
color: inherit; }
a.list-group-item.active .list-group-item-text {
color: #919fb1; }
color: #aab1bb; }
.panel {
padding: 15px;
@@ -1805,11 +1808,11 @@ a.list-group-item.active {
border-bottom-right-radius: 2px; }
.panel-primary {
border-color: #313a45; }
border-color: #444b55; }
.panel-primary .panel-heading {
color: white;
background-color: #313a45;
border-color: #313a45; }
background-color: #444b55;
border-color: #444b55; }
.panel-success {
border-color: #d6e9c6; }
@@ -1926,8 +1929,8 @@ button.close {
margin-top: 9px; }
.nav.open > a, .nav.open > a:hover, .nav.open > a:focus {
color: #fff;
background-color: #313a45;
border-color: #313a45; }
background-color: #444b55;
border-color: #444b55; }
.nav.open > a .caret, .nav.open > a:hover .caret, .nav.open > a:focus .caret {
border-top-color: #fff;
border-bottom-color: #fff; }
@@ -1967,7 +1970,7 @@ button.close {
margin-left: 2px; }
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
color: #fff;
background-color: #313a45; }
background-color: #444b55; }
.nav-stacked > li {
float: none; }
@@ -2019,12 +2022,12 @@ button.close {
display: block; }
.nav .caret {
border-top-color: #313a45;
border-bottom-color: #313a45; }
border-top-color: #444b55;
border-bottom-color: #444b55; }
.nav a:hover .caret {
border-top-color: #111418;
border-bottom-color: #111418; }
border-top-color: #22252b;
border-bottom-color: #22252b; }
.nav-tabs .dropdown-menu {
margin-top: -1px;
@@ -2034,8 +2037,8 @@ button.close {
.navbar {
position: relative;
margin-bottom: 20px;
padding-left: 15px;
padding-right: 15px;
padding-left: 5px;
padding-right: 5px;
background-color: #eeeeee;
border-radius: 3px; }
.navbar:before, .navbar:after {
@@ -2090,7 +2093,7 @@ button.close {
max-width: 200px;
margin-left: auto;
margin-right: auto;
padding: 15px;
padding: 5px;
font-size: 15px;
font-weight: 500;
line-height: 17px;
@@ -2194,7 +2197,7 @@ button.close {
@media screen and (min-width: 768px) {
.navbar-brand {
float: left;
margin-left: -15px;
margin-left: -5px;
margin-right: 5px; }
.navbar-nav {
@@ -2863,7 +2866,7 @@ button.close {
a.thumbnail:hover,
a.thumbnail:focus {
border-color: #313a45; }
border-color: #444b55; }
.thumbnail > img {
margin-left: auto;
@@ -2967,7 +2970,7 @@ a.list-group-item.active > .badge, a.list-group-item.active > .badge-success, a.
.nav-pills > .active > a > .badge,
.nav-pills > .active > a > .badge-success,
.nav-pills > .active > a > .badge-error {
color: #313a45;
color: #444b55;
background-color: #fff; }
.nav-pills > li > a > .badge, .nav-pills > li > a > .badge-success, .nav-pills > li > a > .badge-error {
@@ -3025,7 +3028,7 @@ a.list-group-item.active > .badge, a.list-group-item.active > .badge-success, a.
color: #fff;
text-align: center;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #313a45;
background-color: #444b55;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
-webkit-transition: width 0.6s ease;
@@ -3034,7 +3037,7 @@ a.list-group-item.active > .badge, a.list-group-item.active > .badge-success, a.
transition: width 0.6s ease; }
.progress-striped .progress-bar {
background-color: #313a45;
background-color: #444b55;
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
@@ -5017,7 +5020,7 @@ https://github.com/ghinda/css-toggle-switch
box-shadow: rgba(72, 82, 95, 0.3) 0 0 6px 1px inset; }
.prestashop-switch input:checked + label {
color: #465363;
color: #5b6471;
text-shadow: rgba(255, 255, 255, 0.7) 1px 1px 0; }
.prestashop-switch .slide-button {
@@ -5051,7 +5054,7 @@ body.fixed-top {
#header_infos {
height: 53px;
border-bottom: solid 2px black;
background-color: #1c2127;
background-color: #2d3239;
z-index: 9999;
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 2px 0;
box-shadow: rgba(0, 0, 0, 0.15) 0 2px 0; }
@@ -5059,6 +5062,10 @@ body.fixed-top {
font-size: 1.6em;
font-family: "ubuntu";
font-weight: 300; }
#header_infos #notifs_icon_wrapper i {
font-size: 1.5em; }
#header_infos #notifs_icon_wrapper .badge, #header_infos #notifs_icon_wrapper .badge-success, #header_infos #notifs_icon_wrapper .badge-error {
background-color: #dc315e; }
#main {
min-height: 100%;
@@ -5073,10 +5080,10 @@ body.fixed-top {
margin: 0 0 0 240px;
border-left: 2px solid black;
border-right: 2px solid black;
background-color: white;
background-color: #f6f5f3;
-webkit-box-shadow: #b4ac9c 0 0 0 4px;
box-shadow: #b4ac9c 0 0 0 4px; }
#content fieldset {
#content fieldset, #content .panel {
padding: 20px;
margin-bottom: 10px;
border: solid 1px #e0ddd6;
@@ -5086,14 +5093,34 @@ body.fixed-top {
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 0 7px, white 0 0 0 4px inset;
box-shadow: rgba(0, 0, 0, 0.1) 0 0 7px, white 0 0 0 4px inset; }
#content h3 {
padding: 0 0 5px 0;
margin: 0 0 15px 0;
color: #cac4b9;
-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 0, white 0 0 0 3px inset;
box-shadow: rgba(0, 0, 0, 0.1) 0 2px 0, white 0 0 0 3px inset; }
#content h3, #content .panel-heading, #content .panel-heading {
height: 30px;
padding: 0 5px;
margin: -16px -16px 15px -16px;
clear: both;
line-height: 30px;
color: white;
font-size: 1.2em;
font-weight: 300;
border-bottom: solid 1px #e0ddd6; }
text-transform: uppercase;
background-color: #5b6471; }
#content h3 .badge, #content .panel-heading .badge, #content h3 .badge-success, #content .panel-heading .badge-success, #content h3 .badge-error, #content .panel-heading .badge-error, #content .panel-heading .badge, #content .panel-heading .badge-success, #content .panel-heading .badge-error {
background-color: #717d8e;
border-radius: 0;
height: 29px;
line-height: 25px;
font-size: 1.3em;
margin-right: 7px;
font-weight: 300;
float: left;
margin-left: -5px; }
#content .panel-danger .panel-heading {
background-color: #dc315e !important; }
#content .panel-heading-big {
font-size: 2em;
text-align: center; }
#content form .alert {
clear: both;
color: #756b64;
@@ -5112,12 +5139,12 @@ body.fixed-top {
height: 69px;
padding: 4px 3px 0 20px;
margin: 0;
border-bottom: 4px solid #527f2a;
border-bottom: 4px solid #4a7c38;
position: fixed;
top: 53px;
left: 242px;
z-index: 9000;
background-color: #9ed072;
background-color: #97c885;
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 7px 0, rgba(255, 255, 255, 0.15) 0 -1px 0 inset;
box-shadow: rgba(0, 0, 0, 0.15) 0 7px 0, rgba(255, 255, 255, 0.15) 0 -1px 0 inset; }
.page-head h2.page-title {
@@ -5167,10 +5194,10 @@ body.fixed-top {
.page-sidebar > ul > li:hover > a, .page-sidebar > ul > li.active > a {
color: white;
background-color: #272c33;
border-top: 1px solid #111418;
border-bottom: 1px solid #1c2127;
-webkit-box-shadow: #111418 -4px 0 0 inset;
box-shadow: #111418 -4px 0 0 inset;
border-top: 1px solid #22252b;
border-bottom: 1px solid #2d3239;
-webkit-box-shadow: #22252b -4px 0 0 inset;
box-shadow: #22252b -4px 0 0 inset;
-webkit-transition-property: background-color, border;
-moz-transition-property: background-color, border;
-o-transition-property: background-color, border;
@@ -5214,12 +5241,12 @@ body.fixed-top {
background-color: #69788b;
text-decoration: none; }
.page-sidebar > ul > li ul li a:hover i {
color: #313a45; }
color: #444b55; }
.page-sidebar > ul > li ul li.active a {
color: #1a1a1a;
background-color: #9ed072; }
background-color: #97c885; }
.page-sidebar > ul > li ul li.active a i {
color: #313a45; }
color: #444b55; }
#footer {
z-index: 9999;
@@ -5227,7 +5254,7 @@ body.fixed-top {
width: 100%;
bottom: 0;
padding: 0;
background-color: #1c2127; }
background-color: #2d3239; }
#footer .go-top {
display: block;
padding: 0px 6px 0px 6px;
@@ -5253,32 +5280,28 @@ body.fixed-top {
line-height: 35px; }
.toolbar_btn {
background-color: #444b55;
position: relative;
padding: 2px 5px !important;
margin-right: 3px;
border-bottom: 4px solid #222830;
border-bottom: 4px solid #343a41;
font-size: 11px;
color: #afb9c6;
color: white;
text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.6);
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #516072), color-stop(100%, #313a45));
background: -webkit-linear-gradient(top, #516072, #313a45);
background: -moz-linear-gradient(top, #516072, #313a45);
background: -o-linear-gradient(top, #516072, #313a45);
background: linear-gradient(top, #516072, #313a45);
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 3px 0, rgba(255, 255, 255, 0.1) 0 0 0 1px inset;
box-shadow: rgba(0, 0, 0, 0.15) 0 3px 0, rgba(255, 255, 255, 0.1) 0 0 0 1px inset; }
.toolbar_btn:hover {
top: 2px;
border-color: #313a45;
border-bottom: 2px solid #465363;
color: #313a45;
border-color: #444b55;
border-bottom: 2px solid #5b6471;
color: #444b55;
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
background-color: #919fb1 !important;
background: -webkit-gradient(linear, 0% 0%, 100% 100%, color-stop(0%, #f9fafb), color-stop(100%, #bec6d1));
background: -webkit-linear-gradient(top left, #f9fafb, #bec6d1);
background: -moz-linear-gradient(top left, #f9fafb, #bec6d1);
background: -o-linear-gradient(top left, #f9fafb, #bec6d1);
background: linear-gradient(top left, #f9fafb, #bec6d1);
background-color: #aab1bb !important;
background: -webkit-gradient(linear, 0% 0%, 100% 100%, color-stop(0%, #ffffff), color-stop(100%, #d5d8dd));
background: -webkit-linear-gradient(top left, #ffffff, #d5d8dd);
background: -moz-linear-gradient(top left, #ffffff, #d5d8dd);
background: -o-linear-gradient(top left, #ffffff, #d5d8dd);
background: linear-gradient(top left, #ffffff, #d5d8dd);
-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px, rgba(255, 255, 255, 0.4) 0 0 0 1px inset;
box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px, rgba(255, 255, 255, 0.4) 0 0 0 1px inset; }
@@ -5320,7 +5343,7 @@ body.fixed-top {
[class^="icon-Admin"] {
margin-right: 6px;
color: #313a45 !important; }
color: #444b55 !important; }
[class^="process-icon-"], [class*=" process-icon-"] {
height: 32px;
@@ -5396,7 +5419,7 @@ input[type="password"].input-tiny {
.btn-default {
border-color: #cac4b9;
color: #516072;
color: #667180;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f6f5f3), color-stop(100%, #e0ddd6));
background: -webkit-linear-gradient(top, #f6f5f3, #e0ddd6);
background: -moz-linear-gradient(top, #f6f5f3, #e0ddd6);
@@ -5406,14 +5429,31 @@ input[type="password"].input-tiny {
box-shadow: white 0 0 0 1px inset; }
.btn-default:hover, .btn-default:focus {
border-color: #b4ac9c;
color: #516072;
color: #667180;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e0ddd6), color-stop(100%, #cac4b9));
background: -webkit-linear-gradient(top, #e0ddd6, #cac4b9);
background: -moz-linear-gradient(top, #e0ddd6, #cac4b9);
background: -o-linear-gradient(top, #e0ddd6, #cac4b9);
background: linear-gradient(top, #e0ddd6, #cac4b9);
-webkit-box-shadow: rgba(255, 255, 255, 0.7) 0 0 0 1px inset;
box-shadow: rgba(255, 255, 255, 0.7) 0 0 0 1px inset; }
background: linear-gradient(top, #e0ddd6, #cac4b9); }
.btn-primary {
border-color: #444b55;
color: white;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #8e97a4), color-stop(100%, #717d8e));
background: -webkit-linear-gradient(top, #8e97a4, #717d8e);
background: -moz-linear-gradient(top, #8e97a4, #717d8e);
background: -o-linear-gradient(top, #8e97a4, #717d8e);
background: linear-gradient(top, #8e97a4, #717d8e);
-webkit-box-shadow: #aab1bb 0 0 0 1px inset;
box-shadow: #aab1bb 0 0 0 1px inset; }
.btn-primary:hover, .btn-primary:focus {
border-color: #444b55;
color: white;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #717d8e), color-stop(100%, #5b6471));
background: -webkit-linear-gradient(top, #717d8e, #5b6471);
background: -moz-linear-gradient(top, #717d8e, #5b6471);
background: -o-linear-gradient(top, #717d8e, #5b6471);
background: linear-gradient(top, #717d8e, #5b6471); }
.btn-group-action {
display: inline-block;
@@ -5422,7 +5462,7 @@ input[type="password"].input-tiny {
text-decoration: none; }
.btn .caret, .toolbar_btn .caret {
border-top-color: #516072 !important; }
border-top-color: #667180 !important; }
hr {
border-color: #e0ddd6;
@@ -5430,13 +5470,10 @@ hr {
.table {
border-collapse: separate;
border-spacing: 0 4px; }
border-spacing: 0 2px;
margin-bottom: 5px; }
.table thead th {
background-color: #5b6c81;
color: white;
border-bottom: solid 2px #313a45;
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 2px 3px;
box-shadow: rgba(0, 0, 0, 0.15) 0 2px 3px; }
background-color: #e0ddd6; }
.table thead > tr > th {
font-weight: normal;
vertical-align: top; }
@@ -5460,13 +5497,13 @@ hr {
vertical-align: middle;
word-wrap: nowrap;
font-size: 12px;
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 2px 0;
box-shadow: rgba(0, 0, 0, 0.15) 0 2px 0; }
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 0;
box-shadow: rgba(0, 0, 0, 0.15) 0 1px 0; }
.table tbody > tr:hover > td {
cursor: pointer;
background-color: #dddbd7;
-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 2px 0;
box-shadow: rgba(0, 0, 0, 0.3) 0 2px 0; }
background-color: #c4e0ba;
-webkit-box-shadow: rgba(151, 200, 133, 0.8) 0 2px 0;
box-shadow: rgba(151, 200, 133, 0.8) 0 2px 0; }
.table td.center, .table th.center {
text-align: center; }
.table tr td:first-child,
@@ -5477,6 +5514,8 @@ hr {
.table tr th:last-child {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px; }
.table .btn-group {
float: right; }
tr.filter {
background-color: rgba(163, 159, 149, 0.5); }
@@ -5492,3 +5531,7 @@ tr.filter {
.badge-error {
background-color: #d9534f; }
.icon-big {
font-size: 4em;
color: #cac4b9; }
+72 -24
View File
@@ -1,7 +1,11 @@
//variables
$icon-color: #87C795
$bg-content-color: #F6F5F3
$bg-head-color: #9ED072
$bg-head-color: #97C885
$brand-primary: #444B55
$panel-color: $brand-primary
$badge-panel-color: #DC315E
@import "compass"
@import "bootstrap/variables"
@@ -29,6 +33,11 @@ body.fixed-top
font-size: 1.6em
font-family: "ubuntu"
font-weight: 300
#notifs_icon_wrapper
i
font-size: 1.5em
.badge
background-color: $badge-panel-color
#main
min-height: 100%
@@ -43,23 +52,46 @@ body.fixed-top
margin: 0 0 0 240px
border-left: 2px solid black
border-right: 2px solid black
background-color: white
//background-color: $bg-content-color
background-color: $bg-content-color
//background-image: url('../img/patterns/bedge_grunge.png')
@include box-shadow(darken($bg-content-color,30%) 0 0 0 4px)
fieldset
fieldset, .panel
padding: 20px
margin-bottom: 10px
border: solid 1px darken($bg-content-color,10%)
background-color: $bg-content-color
@include border-radius(5px)
@include box-shadow(rgba(black,0.10) 0 0 7px, white 0 0 0 4px inset)
h3
padding: 0 0 5px 0
margin: 0 0 15px 0
color: darken($bg-content-color,20%)
@include box-shadow(rgba(black,0.10) 0 2px 0, white 0 0 0 3px inset)
.panel-heading
@extend h3
h3, .panel-heading
height: 30px
padding: 0 5px
margin: -16px -16px 15px -16px
clear: both
line-height: 30px
color: white
font-size: 1.2em
font-weight: 300
border-bottom: solid 1px darken($bg-content-color,10%)
text-transform: uppercase
background-color: lighten($panel-color,10%)
.badge
background-color: lighten($panel-color,20%)
border-radius: 0
height: 29px
line-height: 25px
font-size: 1.3em
margin-right: 7px
font-weight: 300
float: left
margin-left: -5px
.panel-danger .panel-heading
background-color: $badge-panel-color!important
.panel-heading-big
font-size: 2em
text-align: center
form .alert
clear: both
color: darken(#D6D2CF,40%)
@@ -213,15 +245,16 @@ body.fixed-top
// Tool bar
.toolbar_btn
@extend .btn
@extend .btn-primary
//@extend .btn-primary
background-color: $brand-primary
position: relative
padding: 2px 5px !important
margin-right: 3px
border-bottom: 4px solid darken($brand-primary,7%)
font-size: 11px
color: lighten($brand-primary,50%)
color: white
text-shadow: -1px -1px 0 rgba(black,0.6)
@include background(linear-gradient(top, lighten($brand-primary,15%), $brand-primary))
//@include background(linear-gradient(top, lighten($brand-primary,15%), $brand-primary))
@include box-shadow(rgba(black,0.15) 0 3px 0, rgba(white,0.1) 0 0 0 1px inset)
&:hover
top: 2px
@@ -390,6 +423,7 @@ input[type="password"].input-tiny
.fixed-width-XL
width: 200px
.btn
text-transform: uppercase
@@ -402,7 +436,16 @@ input[type="password"].input-tiny
border-color: darken($bg-content-color,30%)
color: lighten($brand-primary,15%)
@include background(linear-gradient(top, darken($bg-content-color,10%), darken($bg-content-color,20%)))
@include box-shadow(rgba(white,0.7) 0 0 0 1px inset)
.btn-primary
border-color: $brand-primary
color: lighten($brand-primary,70%)
@include background(linear-gradient(top,lighten($brand-primary,30%),lighten($brand-primary,20%)))
@include box-shadow(lighten($brand-primary,40%) 0 0 0 1px inset)
&:hover, &:focus
border-color: $brand-primary
color: lighten($brand-primary,70%)
@include background(linear-gradient(top,lighten($brand-primary,20%),lighten($brand-primary,10%)))
.btn-group-action
display: inline-block
@@ -411,6 +454,8 @@ input[type="password"].input-tiny
text-decoration: none
.btn .caret
border-top-color: lighten($brand-primary,15%)!important
hr
border-color: darken($bg-content-color,10%)
border-bottom: 1px solid white
@@ -418,12 +463,12 @@ hr
//table
.table
border-collapse: separate
border-spacing: 0 4px
border-spacing: 0 2px
margin-bottom: 5px
thead th
background-color: lighten($brand-primary,20%)
color: white
border-bottom: solid 2px $brand-primary
@include box-shadow(rgba(black,0.15) 0 2px 3px)
background-color: darken($bg-content-color,10%)
//border-bottom: solid 2px lighten($brand-primary,20%)
//@include box-shadow(rgba(black,0.15) 0 2px 3px inset)
thead > tr > th
font-weight: normal
vertical-align: top
@@ -447,11 +492,11 @@ hr
vertical-align: middle
word-wrap: nowrap
font-size: 12px
@include box-shadow(rgba(black,0.15) 0 2px 0)
@include box-shadow(rgba(black,0.15) 0 1px 0)
tbody > tr:hover > td
cursor: pointer
background-color: lighten(#C6C2BB,10%)
@include box-shadow(rgba(black,0.30) 0 2px 0)
background-color: lighten($bg-head-color,15%)
@include box-shadow(rgba($bg-head-color,0.80) 0 2px 0)
td.center, th.center
text-align: center
tr td:first-child,
@@ -462,6 +507,8 @@ hr
tr th:last-child
border-top-right-radius: 3px
border-bottom-right-radius: 3px
.btn-group
float: right
//filter table
tr.filter
@@ -473,7 +520,6 @@ tr.filter
.breadcrumb
background-color: lighten($bg-content-color,7%)
.badge-success
@extend .badge
background-color: $brand-success
@@ -482,4 +528,6 @@ tr.filter
@extend .badge
background-color: $brand-danger
.icon-big
font-size: 4em
color: darken($bg-content-color,20%)
@@ -19,7 +19,7 @@
// Brand colors
// -------------------------
$brand-primary: #313A45 ;
//$brand-primary: #163631 ;
$brand-success: #5cb85c ;
// $brand-warning: #f0ad4e ;
@@ -156,7 +156,7 @@ $input-height-base: ($line-height-computed + ($padding-base-vertica
// Number of columns in the grid system
// $grid-columns: 12 ;
// Padding, to be divided by two and applied to the left and right of all columns
// $grid-gutter-width: 30px ;
$grid-gutter-width: 10px ;
// COMPONENT VARIABLES
@@ -25,49 +25,62 @@
{extends file="helpers/list/list_header.tpl"}
{block name=leadin}
<ul class="breadcrumb cat_bar2">
{assign var=i value=0}
{foreach $categories_tree key=key item=category}
{if $i++ == 0}
<li><i class="icon-home"></i>
{assign var=params_url value=""}
{else}
{assign var=params_url value="&id_category={$category.id_category|intval}&viewcategory"}
{/if}
{if $category.id_category == $categories_tree_current_id}
{$category.name}</li>
{else}
<a href="{$currentIndex}{$params_url}&token={$token}">{$category.name}</a></li>
{/if}
{/foreach}
</ul>
{block name=override_header}
<ul class="breadcrumb cat_bar2">
{assign var=i value=0}
{foreach $categories_tree key=key item=category}
{if $i++ == 0}
<li>
<i class="icon-home"></i>
{assign var=params_url value=""}
{else}
{assign var=params_url value="&id_category={$category.id_category|intval}&viewcategory"}
{/if}
{if $category.id_category == $categories_tree_current_id}
{$category.name}</li>
{else}
<a href="{$currentIndex}{$params_url}&token={$token}">{$category.name}</a></li>
{/if}
{/foreach}
</ul>
{/block}
{block name=leadin}
{if isset($delete_category) && $delete_category}
<form action="{$REQUEST_URI}" method="post">
<div class="alert alert-block">
<h2>
{if $need_delete_mode}
{l s='Do you want to delete the products too?'}
{else}
{l s='Deleting this category will remove products linked only within this category and no others. Are you sure you want to continue?'}
{/if}
</h2>
<div class="panel panel-danger">
<div class="panel-heading">
{if $need_delete_mode}
<ul class="listForm">
<li>
<input type="radio" name="deleteMode" value="linkanddisable" id="deleteMode_linkanddisable" />
<label for="deleteMode_linkanddisable" style="float:none;">{l s='No. I want to link products without other categories -- within the parent category -- and then disable them.'}</label>
</li>
<li>
<input type="radio" name="deleteMode" value="link" id="deleteMode_link" />
<label for="deleteMode_link" style="float:none;">{l s='No. I want to link products without other categories and within the parent category.'}</label>
</li>
<li>
<input type="radio" name="deleteMode" value="delete" id="deleteMode_delete" />
<label for="deleteMode_delete" style="float:none">{l s='Yes. I want to remove products linked only within this category and no others.'}</label>
</li>
</ul>
{l s='Do you want to delete the products too?'}
{else}
{l s='Deleting this category will remove products linked only within this category and no others. Are you sure you want to continue?'}
{/if}
</div>
{if $need_delete_mode}
<form action="{$REQUEST_URI}" method="post">
<div class="radio">
<label for="deleteMode_linkanddisable">
<input type="radio" name="deleteMode" value="linkanddisable" id="deleteMode_linkanddisable" />
{l s='No. I want to link products without other categories -- within the parent category -- and then disable them.'}
</label>
</div>
<div class="radio">
<label for="deleteMode_link">
<input type="radio" name="deleteMode" value="link" id="deleteMode_link" />
{l s='No. I want to link products without other categories and within the parent category.'}
</label>
</div>
<div class="radio">
<label for="deleteMode_delete">
<input type="radio" name="deleteMode" value="delete" id="deleteMode_delete" />
{l s='Yes. I want to remove products linked only within this category and no others.'}
</label>
</div>
{else}
<input type="hidden" name="deleteMode" value="delete" id="deleteMode_delete" />
{/if}
@@ -82,11 +95,10 @@
{/if}
{/if}
{/foreach}
<br />
<input type="submit" name="cancel" class="button" value="{l s='Cancel'}" />
<input type="submit" class="button" value="{l s='Validate'}" />
<hr>
<input type="submit" name="cancel" class="btn btn-default" value="{l s='Cancel'}" />
<input type="submit" class="btn btn-primary" value="{l s='Validate'}" />
</form>
</div>
</form>
<div class="clear">&nbsp;</div>
{/if}
{/block}
@@ -25,12 +25,11 @@
{extends file="helpers/list/list_header.tpl"}
{block name="override_header"}
{block name="leadin"}
<div id="CustomerThreadContacts" class="row">
{assign var=nb_categories value=count($categories)}
{foreach $categories as $key => $val}
{assign var=total_thread value=0}
@@ -44,42 +43,52 @@
{/foreach}
<div class="col-lg-3">
<h3>{$val.name}</h3>
{if $nb_categories < 6}
<p>{$val.description}</p>
{/if}
{if $total_thread == 0}
<span class="message-mail">{l s='No new messages'}</span>
{else}
<a href="{$currentIndex}&token={$token}&id_customer_thread={$id_customer_thread}&viewcustomer_thread" class="button">
{$total_thread}
{if $total_thread > 1}{l s='New messages'}{else}{l s='New message'}{/if}
</a>
{/if}
<div class="panel">
<div class="panel-heading">
{$val.name}
</div>
{if $nb_categories < 6}
<p>{$val.description}</p>
{/if}
{if $total_thread == 0}
<span class="message-mail">{l s='No new messages'}</span>
{else}
<a href="{$currentIndex}&token={$token}&id_customer_thread={$id_customer_thread}&viewcustomer_thread" class="button">
{$total_thread}
{if $total_thread > 1}{l s='New messages'}{else}{l s='New message'}{/if}
</a>
{/if}
</div>
</div>
{/foreach}
<div id="MeaningStatus" class="col-lg-3">
<h3>{l s='Meaning of status'}</h3>
<ul>
<li class="label label-success">{l s='Open'}</li>
<li class="label label-danger">{l s='Closed'}</li>
<li class="label label-warning">{l s='Pending 1'}</li>
<li class="label label-warning">{l s='Pending 2'}</li>
</ul>
<div class="col-lg-3">
<div id="MeaningStatus" class="panel">
<div class="panel-heading">
{l s='Meaning of status'}
</div>
<ul class="list-unstyled">
<li class="label label-success">{l s='Open'}</li>
<li class="label label-danger">{l s='Closed'}</li>
<li class="label label-warning">{l s='Pending 1'}</li>
<li class="label label-warning">{l s='Pending 2'}</li>
</ul>
</div>
</div>
<div id="CustomerService" class="col-lg-3">
<h3>{l s='Statistics'}</h3>
<ul>
{assign var=count value=0}
{foreach $params as $key => $val}
{assign var=count value=$count+1}
<li>{$key} <span class="badge">{$val}</span></li>
{/foreach}
</ul>
<div class="col-lg-3">
<div id="CustomerService" class="panel">
<div class="panel-heading">
{l s='Statistics'}
</div>
<ul class="list-unstyled">
{assign var=count value=0}
{foreach $params as $key => $val}
{assign var=count value=$count+1}
<li>{$key} <span class="badge">{$val}</span></li>
{/foreach}
</ul>
</div>
</div>
</div>
<hr/>
{/block}
@@ -142,9 +142,6 @@
{/foreach}
</div>
<script type="text/javascript">
var timer;
$(document).ready(function(){
@@ -26,108 +26,274 @@
{extends file="helpers/view/view.tpl"}
{block name="override_tpl"}
<script type="text/javascript">
function saveCustomerNote()
{
$('#note_feedback').html('<img src="../img/loader.gif" alt="" />').show();
var noteContent = $('#noteContent').val();
$.ajax({
type: "POST",
url: "index.php",
data: "token={getAdminToken tab='AdminCustomers'}&tab=AdminCustomers&ajax=1&action=updateCustomerNote&id_customer={$customer->id}&note="+noteContent,
async : true,
success: function(r) {
$('#note_feedback').html('').hide();
if (r == 'ok')
{
$('#note_feedback').html("<b style='color:green'>{l s='Your note has been saved.'}</b>").fadeIn(400);
$('#submitCustomerNote').attr('disabled', true);
}
else if (r == 'error:validation')
$('#note_feedback').html("<b style='color:red'>({l s='Error: Your note is not valid.'}</b>").fadeIn(400);
else if (r == 'error:update')
$('#note_feedback').html("<b style='color:red'>{l s='Error: Your note cannot be saved.'}</b>").fadeIn(400);
$('#note_feedback').fadeOut(3000);
<script type="text/javascript">
function saveCustomerNote()
{
$('#note_feedback').html('<img src="../img/loader.gif" alt="" />').show();
var noteContent = $('#noteContent').val();
$.ajax({
type: "POST",
url: "index.php",
data: "token={getAdminToken tab='AdminCustomers'}&tab=AdminCustomers&ajax=1&action=updateCustomerNote&id_customer={$customer->id}&note="+noteContent,
async : true,
success: function(r) {
$('#note_feedback').html('').hide();
if (r == 'ok')
{
$('#note_feedback').html("<b style='color:green'>{l s='Your note has been saved.'}</b>").fadeIn(400);
$('#submitCustomerNote').attr('disabled', true);
}
});
}
</script>
else if (r == 'error:validation')
$('#note_feedback').html("<b style='color:red'>({l s='Error: Your note is not valid.'}</b>").fadeIn(400);
else if (r == 'error:update')
$('#note_feedback').html("<b style='color:red'>{l s='Error: Your note cannot be saved.'}</b>").fadeIn(400);
$('#note_feedback').fadeOut(3000);
}
});
}
</script>
<div id="container-customer" class="row">
<div id="container-customer"></div>
{*left*}
<div class="col-lg-6">
<div class="panel">
<div class="panel-heading panel-heading-big">
<i class="icon-user"></i> {$customer->firstname} {$customer->lastname}
</div>
<ul class="list-unstyled col-lg-6">
<li>{l s='Gender:'} <span class="label"><img src="{$gender_image}"/></span></li>
<li><i class="icon-envelope-alt"></i> {l s='Email:'} <a class="label" href="mailto:{$customer->email}">{$customer->email}</a></li>
<li>{l s='ID:'} <span class="label">{$customer->id|string_format:"%06d"}</span></li>
<li>{l s='Registration date:'} <span class="label">{$registration_date}</span></li>
<li>{l s='Last visit:'} <span class="label">{if $customer_stats['last_visit']}{$last_visit}{else}{l s='Never'}{/if}</span></li>
<li>{if $count_better_customers != '-'}{l s='Rank:'} <span class="label"># {$count_better_customers}</span>{/if}</li>
<li>{if $shop_is_feature_active}{l s='Shop:'} <span class="label">{$name_shop}</span>{/if}</li>
</ul>
<ul class="list-unstyled col-lg-6">
<li>{l s='Language:'} <span class="label">{if isset($customerLanguage)}{$customerLanguage->name}{else}{l s='undefined'}{/if}</span></li>
<li>{l s='Newsletter:'} {if $customer->newsletter}<span class="label label-success"><i class="icon-check-sign"></i> {l s='Yes'}</span>{else}<span class="label label-warning"><i class="icon-ban-circle"></i> {l s='No'}</span>{/if}</li>
<li>{l s='Opt in:'} {if $customer->optin}<span class="label label-success"><i class="icon-check-sign"></i> {l s='Yes'}</span>{else}<span class="label label-warning"><i class="icon-ban-circle"></i> {l s='No'}</span>{/if}</li>
<li>{l s='Age:'} {$customer_stats['age']} {if isset($customer->birthday['age'])}({$customer_birthday}){else}{l s='Unknown'}{/if}</li>
<li>{l s='Last update:'} <span class="label">{$last_update}</span></li>
<li>{l s='Status:'} {if $customer->active}<span class="label label-success"><i class="icon-check-sign"></i> {l s='Yes'}</span>{else}<span class="label label-warning"><i class="icon-ban-circle"></i> {l s='No'}</span>{/if}</li>
</ul>
<div class="row">
<div class="col-lg-6">
<fieldset>
<a class="btn btn-default pull-right" href="{$current}&updatecustomer&id_customer={$customer->id}&token={$token}">
<i class="icon-edit"></i> {l s='Edit'}
</a>
<h2>
{$customer->firstname} {$customer->lastname} <img src="{$gender_image}"/>
</h2>
<ul>
<li><a href="mailto:{$customer->email}">{$customer->email}</a></li>
<li>{l s='ID:'} {$customer->id|string_format:"%06d"}</li>
<li>{l s='Registration date:'} {$registration_date}</li>
<li>{l s='Last visit:'} {if $customer_stats['last_visit']}{$last_visit}{else}{l s='Never'}{/if}</li>
<li>{if $count_better_customers != '-'}{l s='Rank: #'} {$count_better_customers}{/if}</li>
<li>{if $shop_is_feature_active}{l s='Shop:'} {$name_shop}{/if}</li>
<li>{l s='Language:'} {if isset($customerLanguage)}{$customerLanguage->name}{else}{l s='undefined'}{/if}</li>
<li>{l s='Newsletter:'} {if $customer->newsletter}<img src="../img/admin/enabled.gif" />{else}<img src="../img/admin/disabled.gif" />{/if}</li>
<li>{l s='Opt in:'} {if $customer->optin}<img src="../img/admin/enabled.gif" />{else}<img src="../img/admin/disabled.gif" />{/if}</li>
<li>{l s='Age:'} {$customer_stats['age']} {if isset($customer->birthday['age'])}({$customer_birthday}){else}{l s='Unknown'}{/if}</li>
<li>{l s='Last update:'} {$last_update}</li>
<li>{l s='Status:'} {if $customer->active}<img src="../img/admin/enabled.gif" />{else}<img src="../img/admin/disabled.gif" />{/if}</li>
</ul>
{if $customer->isGuest()}
<div>
{l s='This customer is registered as.'} <b>{l s='Guest'}</b>
{if !$customer_exists}
<form method="post" action="index.php?tab=AdminCustomers&id_customer={$customer->id}&token={getAdminToken tab='AdminCustomers'}">
<input type="hidden" name="id_lang" value="{$id_lang}" />
<p class="center">
<input class="button" type="submit" name="submitGuestToCustomer" value="{l s='Transform to a customer account'}" />
</p>
{l s='This feature generates a random password before sending an email to your customer.'}
</form>
{else}
</div>
<div>
{l s='A registered customer account using the defined email address already exists. '}
{/if}
</div>
{if $customer->isGuest()}
<div>
{l s='This customer is registered as.'} <b>{l s='Guest'}</b>
{if !$customer_exists}
<form method="post" action="index.php?tab=AdminCustomers&id_customer={$customer->id}&token={getAdminToken tab='AdminCustomers'}">
<input type="hidden" name="id_lang" value="{$id_lang}" />
<p class="center">
<input class="button" type="submit" name="submitGuestToCustomer" value="{l s='Transform to a customer account'}" />
</p>
{l s='This feature generates a random password before sending an email to your customer.'}
</form>
{else}
</div>
<div>
{l s='A registered customer account using the defined email address already exists. '}
{/if}
</fieldset>
</div>
<div class="col-lg-6">
<fieldset>
<h3>
</div>
{/if}
<a class="btn btn-default" href="{$current}&updatecustomer&id_customer={$customer->id}&token={$token}">
<i class="icon-edit"></i> {l s='Edit'}
</a>
</div>
<div class="panel">
<div class="panel-heading">
<i class="icon-file"></i> {l s='Orders'} <span class="badge">{count($orders)}</span>
</div>
{if $orders AND count($orders)}
{assign var=count_ok value=count($orders_ok)}
{assign var=count_ko value=count($orders_ko)}
<div class="panel">
<div class="row">
<div class="col-lg-6">
<i class="icon-ok-circle icon-big"></i>
{l s='Valid orders:'} <span class="badge badge-success">{$count_ok}</span> {l s='for'} {$total_ok}
</div>
<div class="col-lg-6">
<i class="icon-exclamation-sign icon-big"></i>
{l s='Invalid orders:'} <span class="badge badge-warning">{$count_ko}</span>
</div>
</div>
</div>
{if $count_ok}
<table class="table">
<thead>
<tr>
<th class="center">{l s='ID'}</th>
<th>{l s='Date'}</th>
<th>{l s='Payment: '}</th>
<th>{l s='State'}</th>
<th>{l s='Products'}</th>
<th>{l s='Total spent'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $orders_ok AS $key => $order}
<tr onclick="document.location = '?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}'">
<td>{$order['id_order']}</td>
<td>{dateFormat date=$order['date_add'] full=0}</td>
<td>{$order['payment']}</td>
<td>{$order['order_state']}</td>
<td align="right">{$order['nb_products']}</td>
<td align="right">{$order['total_paid_real']}</td>
<td align="center">
<a class="btn btn-default" href="?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{/if}
{if $count_ko}
<table class="table">
<thead>
<tr>
<th>{l s='ID'}</th>
<th>{l s='Date'}</th>
<th>{l s='Payment: '}</th>
<th>{l s='State'}</th>
<th>{l s='Products'}</th>
<th>{l s='Total spent'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $orders_ko AS $key => $order}
<tr onclick="document.location = '?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}'">
<td>{$order['id_order']}</td>
<td>{dateFormat date=$order['date_add'] full=0}</td>
<td>{$order['payment']}</td>
<td>{$order['order_state']}</td>
<td align="right">{$order['nb_products']}</td>
<td align="right">{$order['total_paid_real']}</td>
<td align="center">
<a class="btn btn-default" href="?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{/if}
{else}
{l s='%1$s %2$s has not placed any orders yet' sprintf=[$customer->firstname, $customer->lastname]}
{/if}
</div>
<div class="panel">
<div class="panel-heading">
<i class="icon-shopping-cart"></i> {l s='Carts'} <span class="badge">{count($carts)}</span>
</div>
{if $carts AND count($carts)}
<table class="table">
<thead>
<tr>
<th>{l s='ID'}</th>
<th>{l s='Date'}</th>
<th>{l s='Carrier'}</th>
<th>{l s='Total'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $carts AS $key => $cart}
<tr onclick="document.location = '?tab=AdminCarts&id_cart={$cart['id_cart']}&viewcart&token={getAdminToken tab='AdminCarts'}'">
<td>{$cart['id_cart']}</td>
<td>{dateFormat date=$order['date_add'] full=0}</td>
<td>{$cart['name']}</td>
<td align="right">{$cart['total_price']}</td>
<td align="center">
<a class="btn btn-default" href="index.php?tab=AdminCarts&id_cart={$cart['id_cart']}&viewcart&token={getAdminToken tab='AdminCarts'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{l s='No cart is available'}.
{/if}
</div>
{if $products AND count($products)}
<div class="panel">
<div class="panel-heading">
<i class="icon-archive"></i> {l s='Products:'} <span class="badge">{count($products)}</span>
</div>
<table class="table">
<thead>
<tr>
<th class="center">{l s='Date'}</th>
<th class="center">{l s='Name'}</th>
<th class="center">{l s='Quantity'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $products AS $key => $product}
<tr onclick="document.location = '?tab=AdminOrders&id_order={$product['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}'">
<td>{dateFormat date=$order['date_add'] full=0}</td>
<td>{$product['product_name']}</td>
<td align="right">{$product['product_quantity']}</td>
<td align="center">
<a class="btn btn-default" href="?tab=AdminOrders&id_order={$product['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
{/if}
</div>
{*right*}
<div class="col-lg-6">
<div class="panel">
<div class="panel-heading">
<i class="icon-eye-close"></i> {l s='Add a private note'}
</h3>
</div>
<div class="alert alert-info">{l s='This note will be displayed to all employees but not to customers.'}</div>
<form action="ajax.php" method="post" onsubmit="saveCustomerNote();return false;" id="customer_note">
<textarea name="note" id="noteContent" onkeydown="$('#submitCustomerNote').removeAttr('disabled');">{$customer_note}</textarea>
<button type="submit" id="submitCustomerNote" class="btn btn-primary" disabled="disabled" />{l s='Save'}</button>
<form id="customer_note" class="form-horizontal" action="ajax.php" method="post" onsubmit="saveCustomerNote();return false;" >
<div class="row">
<div class="col-lg-12">
<textarea name="note" id="noteContent" onkeydown="$('#submitCustomerNote').removeAttr('disabled');">{$customer_note}</textarea>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<button type="submit" id="submitCustomerNote" class="btn btn-primary pull-right" disabled="disabled" /><i class="icon-save"></i> {l s='Save'}</button>
</div>
</div>
<span id="note_feedback"></span>
</form>
</fieldset>
</div>
</div>
</div>
<fieldset>
<div class="col col-lg-12">
<h3><i class="icon-envelope-alt"></i> {l s='Messages'} <span class="badge">{count($messages)}</span></h3>
<div class="panel">
<div class="panel-heading">
<i class="icon-envelope"></i> {l s='Messages'} <span class="badge">{count($messages)}</span>
</div>
{if count($messages)}
<table class="table">
<thead>
@@ -151,12 +317,11 @@
{l s='%1$s %2$s has never contacted you' sprintf=[$customer->firstname, $customer->lastname]}
{/if}
</div>
</fieldset>
<fieldset>
<div class="col col-lg-12">
<h3><i class="icon-gift"></i> {l s='Vouchers'} <span class="badge">{count($discounts)}</span></h3>
<div class="panel">
<div class="panel-heading">
<i class="icon-ticket"></i> {l s='Vouchers'} <span class="badge">{count($discounts)}</span>
</div>
{if count($discounts)}
<table class="table">
<thead>
@@ -193,286 +358,14 @@
{l s='%1$s %2$s has no discount vouchers' sprintf=[$customer->firstname, $customer->lastname]}.
{/if}
</div>
</fieldset>
<fieldset>
{* display hook specified to this page : AdminCustomers *}
<div>{hook h="displayAdminCustomers" id_customer=$customer->id}</div>
</fieldset>
<fieldset>
<div class="col col-lg-12">
<h3>{l s='Orders'} <span class="badge">{count($orders)}</span></h3>
{if $orders AND count($orders)}
{assign var=count_ok value=count($orders_ok)}
{if $count_ok}
<h3>
<i class="icon-ok-circle"></i> {l s='Valid orders:'} {$count_ok} {l s='for'} {$total_ok}
</h3>
<table class="table">
<thead>
<tr>
<th class="center">{l s='ID'}</th>
<th>{l s='Date'}</th>
<th>{l s='Payment: '}</th>
<th>{l s='State'}</th>
<th class="right">{l s='Products'}</th>
<th class="right">{l s='Total spent'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $orders_ok AS $key => $order}
<tr onclick="document.location = '?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}'">
<td>{$order['id_order']}</td>
<td>{$order['date_add']}</td>
<td>{$order['payment']}</td>
<td>{$order['order_state']}</td>
<td align="right">{$order['nb_products']}</td>
<td align="right">{$order['total_paid_real']}</td>
<td align="center">
<a class="btn btn-default" href="?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{/if}
{assign var=count_ko value=count($orders_ko)}
{if $count_ko}
<table class="table">
<thead>
<tr>
<th>{l s='ID'}</th>
<th>{l s='Date'}</th>
<th>{l s='Payment: '}</th>
<th>{l s='State'}</th>
<th class="right">{l s='Products'}</th>
<th class="right">{l s='Total spent'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $orders_ko AS $key => $order}
<tr {if $key %2}class="alt_row"{/if} style="cursor: pointer" onclick="document.location = '?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}'">
<td>{$order['id_order']}</td>
<td>{$order['date_add']}</td>
<td>{$order['payment']}</td>
<td>{$order['order_state']}</td>
<td align="right">{$order['nb_products']}</td>
<td align="right">{$order['total_paid_real']}</td>
<td align="center">
<a class="btn btn-default" href="?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="alert alert-info">{l s='Invalid orders:'} <span class="badge">{$count_ko}</span></div>
{/if}
{else}
{l s='%1$s %2$s has not placed any orders yet' sprintf=[$customer->firstname, $customer->lastname]}
{/if}
</div>
</fieldset>
<fieldset>
<div class="col-lg-12">
<h3><i class="icon-shopping-cart"></i> {l s='Carts'} <span class="badge">{count($carts)}</span></h3>
{if $carts AND count($carts)}
<table class="table">
<thead>
<tr>
<th>{l s='ID'}</th>
<th>{l s='Date'}</th>
<th>{l s='Carrier'}</th>
<th class="right">{l s='Total'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $carts AS $key => $cart}
<tr onclick="document.location = '?tab=AdminCarts&id_cart={$cart['id_cart']}&viewcart&token={getAdminToken tab='AdminCarts'}'">
<td>{$cart['id_cart']}</td>
<td>{$cart['date_add']}</td>
<td>{$cart['name']}</td>
<td align="right">{$cart['total_price']}</td>
<td align="center">
<a class="btn btn-default" href="index.php?tab=AdminCarts&id_cart={$cart['id_cart']}&viewcart&token={getAdminToken tab='AdminCarts'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{l s='No cart is available'}.
{/if}
</div>
</fieldset>
<fieldset>
{if $products AND count($products)}
<div class="col-lg-12">
<h3><i class="icon-archive"></i> {l s='Products:'} <span class="badge">{count($products)}</span></h3>
<table class="table">
<thead>
<tr>
<th class="center">{l s='Date'}</th>
<th class="center">{l s='Name'}</th>
<th class="center">{l s='Quantity'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $products AS $key => $product}
<tr onclick="document.location = '?tab=AdminOrders&id_order={$product['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}'">
<td>{$product['date_add']}</td>
<td>{$product['product_name']}</td>
<td align="right">{$product['product_quantity']}</td>
<td align="center">
<a class="btn btn-default" href="?tab=AdminOrders&id_order={$product['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
{/if}
</fieldset>
<fieldset>
<div class="col-lg-12">
<h3><i class="icon-building"></i> {l s='Addresses'} <span class="badge">{count($addresses)}</span></h3>
{if count($addresses)}
<table class="table">
<thead>
<tr>
<th>{l s='Company'}</th>
<th>{l s='Name'}</th>
<th>{l s='Address'}</th>
<th>{l s='Country'}</th>
<th class="right">{l s='Phone number(s)'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $addresses AS $key => $address}
<tr {if $key %2}class="alt_row"{/if}>
<td>{if $address['company']}{$address['company']}{else}--{/if}</td>
<td>{$address['firstname']} {$address['lastname']}</td>
<td>{$address['address1']} {if $address['address2']}{$address['address2']}{/if} {$address['postcode']} {$address['city']}</td>
<td>{$address['country']}</td>
<td class="right">
{if $address['phone']}
{$address['phone']}
{if $address['phone_mobile']}<br />{$address['phone_mobile']}{/if}
{else}
{if $address['phone_mobile']}<br />{$address['phone_mobile']}{else}--{/if}
{/if}
</td>
<td class="center">
<a href="?tab=AdminAddresses&id_address={$address['id_address']}&addaddress&token={getAdminToken tab='AdminAddresses'}">
<img src="../img/admin/edit.gif" />
</a>
<a href="?tab=AdminAddresses&id_address={$address['id_address']}&deleteaddress&token={getAdminToken tab='AdminAddresses'}">
<img src="../img/admin/delete.gif" />
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{l s='%1$s %2$s has not registered any addresses yet' sprintf=[$customer->firstname, $customer->lastname]}
{/if}
</div>
</fieldset>
<fieldset>
<div class="col-lg-12">
<h3>
<i class="icon-group"></i> {l s='Groups'} <span class="badge">{count($groups)}</span>
<a class="btn btn-default pull-right" href="{$current}&updatecustomer&id_customer={$customer->id}&token={$token}">
<i class="icon-edit"></i> {l s='Edit'}
</a>
</h3>
{if $groups AND count($groups)}
<table class="table">
<thead>
<tr>
<th>{l s='ID'}</th>
<th>{l s='Name'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $groups AS $key => $group}
<tr {if $key %2}class="alt_row"{/if} style="cursor: pointer" onclick="document.location = '?tab=AdminGroups&id_group={$group['id_group']}&viewgroup&token={getAdminToken tab='AdminGroups'}'">
<td>{$group['id_group']}</td>
<td>{$group['name']}</td>
<td class="center">
<a class="btn btn-default" href="?tab=AdminGroups&id_group={$group['id_group']}&viewgroup&token={getAdminToken tab='AdminGroups'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{/if}
</div>
</fieldset>
<fieldset>
{if count($interested)}
<div class="col-lg-12">
<h3><i class="icon-archive"></i> {l s='Products:'} <span class="badge">{count($interested)}</span></h3>
<table class="table">
<thead>
<tr>
<th>{l s='ID'}</th>
<th>{l s='Name'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $interested as $key => $p}
<tr {if $key %2}class="alt_row"{/if} style="cursor: pointer" onclick="document.location = '{$p['url']}'">
<td>{$p['id']}</td>
<td>{$p['name']}</td>
<td align="center">
<a class="btn btn-default" href="{$p['url']}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<div >
{/if}
</fieldset>
<fieldset>
{if count($connections)}
<div class="col-lg-12">
<h3><i class="icon-time"></i> {l s='Last connections'}</h3>
<div class="panel">
<div class="panel-heading">
<i class="icon-time"></i> {l s='Last connections'}
</div>
<table class="table">
<thead>
<tr>
@@ -486,7 +379,7 @@
<tbody>
{foreach $connections as $connection}
<tr>
<td>{$connection['date_add']}</td>
<td>{dateFormat date=$order['date_add'] full=0}</td>
<td>{$connection['pages']}</td>
<td>{$connection['time']}</td>
<td>{$connection['http_referer']}</td>
@@ -497,34 +390,158 @@
</table>
</div>
{/if}
</fieldset>
<fieldset>
<div class="col-lg-12">
{if count($referrers)}
<h3><i class="icon-share-alt"></i> {l s='Referrers'}</h3>
<div class="panel">
<div class="panel-heading">
<i class="icon-group"></i> {l s='Groups'} <span class="badge">{count($groups)}</span>
</div>
{if $groups AND count($groups)}
<table class="table">
<thead>
<tr>
<th>{l s='Date'}</th>
<th>{l s='ID'}</th>
<th>{l s='Name'}</th>
{if $shop_is_feature_active}<th>{l s='Shop'}</th>{/if}
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $referrers as $referrer}
<tr>
<td>{$referrer['date_add']}</td>
<td>{$referrer['name']}</td>
{if $shop_is_feature_active}<td>{$referrer['shop_name']}</td>{/if}
{foreach $groups AS $key => $group}
<tr onclick="document.location = '?tab=AdminGroups&id_group={$group['id_group']}&viewgroup&token={getAdminToken tab='AdminGroups'}'">
<td>{$group['id_group']}</td>
<td>{$group['name']}</td>
<td class="center">
<a class="btn btn-default" href="?tab=AdminGroups&id_group={$group['id_group']}&viewgroup&token={getAdminToken tab='AdminGroups'}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{/if}
{/if}
<a class="btn btn-default" href="{$current}&updatecustomer&id_customer={$customer->id}&token={$token}">
<i class="icon-edit"></i> {l s='Edit'}
</a>
</div>
</fieldset>
</div>
{*todo add next elements*}
{if count($interested)}
<div class="panel">
<div class="panel-heading">
<i class="icon-archive"></i> {l s='Products:'} <span class="badge">{count($interested)}</span>
</div>
<table class="table">
<thead>
<tr>
<th>{l s='ID'}</th>
<th>{l s='Name'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $interested as $key => $p}
<tr onclick="document.location = '{$p['url']}'">
<td>{$p['id']}</td>
<td>{$p['name']}</td>
<td align="center">
<a class="btn btn-default" href="{$p['url']}">
<i class='icon-eye-open'></i> {l s='View'}
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
{/if}
{if count($referrers)}
<div class="panel">
<div class="panel-heading">
<i class="icon-share-alt"></i> {l s='Referrers'}
</div>
<table class="table">
<thead>
<tr>
<th>{l s='Date'}</th>
<th>{l s='Name'}</th>
{if $shop_is_feature_active}<th>{l s='Shop'}</th>{/if}
</tr>
</thead>
<tbody>
{foreach $referrers as $referrer}
<tr>
<td>{dateFormat date=$order['date_add'] full=0}</td>
<td>{$referrer['name']}</td>
{if $shop_is_feature_active}<td>{$referrer['shop_name']}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
{/if}
{* display hook specified to this page : AdminCustomers *}
{hook h="displayAdminCustomers" id_customer=$customer->id}
<div class="col-lg-12">
<div class="panel">
<div class="panel-heading">
<i class="icon-map-marker"></i> {l s='Addresses'} <span class="badge">{count($addresses)}</span>
</div>
{if count($addresses)}
<table class="table">
<thead>
<tr>
<th>{l s='Company'}</th>
<th>{l s='Name'}</th>
<th>{l s='Address'}</th>
<th>{l s='Country'}</th>
<th>{l s='Phone number(s)'}</th>
<th class="center">{l s='Actions'}</th>
</tr>
</thead>
<tbody>
{foreach $addresses AS $key => $address}
<tr>
<td>{if $address['company']}{$address['company']}{else}--{/if}</td>
<td>{$address['firstname']} {$address['lastname']}</td>
<td>{$address['address1']} {if $address['address2']}{$address['address2']}{/if} {$address['postcode']} {$address['city']}</td>
<td>{$address['country']}</td>
<td>
{if $address['phone']}
{$address['phone']}
{if $address['phone_mobile']}<br />{$address['phone_mobile']}{/if}
{else}
{if $address['phone_mobile']}<br />{$address['phone_mobile']}{else}--{/if}
{/if}
</td>
<td>
<div class="btn-group">
<a class="btn btn-default" data-toggle="dropdown" href="?tab=AdminAddresses&id_address={$address['id_address']}&addaddress&token={getAdminToken tab='AdminAddresses'}">
<i class="icon-edit"></i> {l s='Edit'}
</a>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="?tab=AdminAddresses&id_address={$address['id_address']}&deleteaddress&token={getAdminToken tab='AdminAddresses'}">
<i class="icon-trash"></i> {l s='Delete'}
</a></li>
</ul>
</div>
</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{l s='%1$s %2$s has not registered any addresses yet' sprintf=[$customer->firstname, $customer->lastname]}
{/if}
</div>
</div>
</div>
{/block}
@@ -26,7 +26,7 @@
<input type="hidden" name="submitted_tabs[]" value="Associations" />
<div class="Associations">
<legend>{l s='Associations'}</legend>
<h3>{l s='Associations'}</h3>
{include file="controllers/products/multishop/check_fields.tpl" product_tab="Associations"}
<div id="no_default_category" class="alert alert-info">
@@ -25,7 +25,7 @@
{if isset($obj->id)}
<input type="hidden" name="submitted_tabs[]" value="Attachments" />
<legend>{l s='Attachment'}</legend>
<h3>{l s='Attachment'}</h3>
<div class="row">
<label class="control-label col-lg-3 required" for="attachment_name_{$id_lang}">
@@ -47,7 +47,7 @@
{/foreach}
</script>
<legend>{l s='Add or modify combinations for this product.'}</legend>
<h3>{l s='Add or modify combinations for this product.'}</h3>
<div class="alert alert-info">
{l s='Or use the'}&nbsp;<a class="btn btn-link bt-icon confirm_leave" href="index.php?tab=AdminAttributeGenerator&id_product={$product->id}&attributegenerator&token={$token_generator}"><i class="icon-magic"></i> {l s='Product combinations generator'} <i class="icon-external-link-sign"></i></a> {l s='in order to automatically create a set of combinations.'}
</div>
@@ -25,7 +25,7 @@
{if isset($obj->id)}
<input type="hidden" name="submitted_tabs[]" value="Customization" />
<legend>{l s='Add or modify customizable properties.'}</legend>
<h3>{l s='Add or modify customizable properties.'}</h3>
{include file="controllers/products/multishop/check_fields.tpl" product_tab="Customization"}
@@ -25,7 +25,7 @@
{if isset($product->id)}
<input type="hidden" name="submitted_tabs[]" value="Features" />
<legend>{l s='Assign features to this product:'}</legend>
<h3>{l s='Assign features to this product:'}</h3>
<div class="alert alert-info">
{l s='You can specify a value for each relevant feature regarding this product. Empty fields will not be displayed.'}<br/>
@@ -26,10 +26,10 @@
{if isset($id_product) && isset($product)}
<input type="hidden" name="submitted_tabs[]" value="Images" />
<legend class="tab" >
<h3 class="tab" >
{l s='Images'}
<span class="badge" id="countImage">{$countImages}</span>
</legend>
</h3>
<div class="row">
<label class="control-label col-lg-5 file_upload_label">
@@ -29,7 +29,7 @@
{/if}
<input type="hidden" name="submitted_tabs[]" value="Informations" />
<legend class="tab">{l s='Info.'}</legend>
<h3 class="tab">{l s='Info.'}</h3>
<div class="alert alert-info">{l s='Product global information'}</div>
<script type="text/javascript">
{if isset($PS_ALLOW_ACCENTED_CHARS_URL) && $PS_ALLOW_ACCENTED_CHARS_URL}
@@ -28,7 +28,7 @@
var msg_set_quantity = "{l s="Please set a quantity to add a product." js=1}";
</script>
<input type="hidden" name="submitted_tabs[]" value="Pack" />
<legend>{l s='Pack'}</legend>
<h3>{l s='Pack'}</h3>
<div class="alert alert-info">{l s='You cannot add combinations to a pack.'}</div>
<div class="ppack">
@@ -105,7 +105,8 @@ $(document).ready(function () {
</script>
<input type="hidden" name="submitted_tabs[]" value="Prices" />
<legend>{l s='Product price'}</legend>
<h3>{l s='Product price'}</h3>
<div class="alert alert-info">
{l s='You must enter either the pre-tax retail price, or the retail price with tax. The input field will be automatically calculated.'}
</div>
@@ -279,9 +280,11 @@ $(document).ready(function () {
</div>
{*todo separate fieldset*}
{if isset($specificPriceModificationForm)}
<legend>{l s='Specific prices'}</legend>
<h3>{l s='Specific prices'}</h3>
<div class="alert alert-info">
{l s='You can set specific prices for clients belonging to different groups, different countries, etc...'}
</div>
@@ -25,7 +25,7 @@
{if isset($product->id)}
<input type="hidden" name="submitted_tabs[]" value="Quantities" />
<legend>{l s='Available quantities for sale'}</legend>
<h3>{l s='Available quantities for sale'}</h3>
{if !$ps_stock_management}
<div class="alert alert-info">{l s='The stock management is disabled'}</div>
{else}
@@ -174,7 +174,7 @@
{/if}
{/if}
<legend>{l s='Availability settings'}</legend>
<h3>{l s='Availability settings'}</h3>
{if !$has_attribute}
<div class="row">
@@ -23,7 +23,7 @@
* International Registered Trademark & Property of PrestaShop SA
*}
<input type="hidden" name="submitted_tabs[]" value="Seo" />
<legend>{l s='SEO'}</legend>
<h3>{l s='SEO'}</h3>
{include file="controllers/products/multishop/check_fields.tpl" product_tab="Seo"}
@@ -24,7 +24,7 @@
*}
<input type="hidden" name="submitted_tabs[]" value="Shipping" />
<legend>{l s='Shipping'}</legend>
<h3>{l s='Shipping'}</h3>
{if isset($display_common_field) && $display_common_field}
<div class="alert alert-info">{l s='Warning, if you change the value of fields with an orange bullet %s, the value will be changed for all other shops for this product' sprintf=$bullet_common_field}</div>
@@ -26,7 +26,7 @@
<input type="hidden" name="supplier_loaded" value="1">
{if isset($product->id)}
<input type="hidden" name="submitted_tabs[]" value="Suppliers" />
<legend>{l s='Suppliers of the current product'}</legend>
<h3>{l s='Suppliers of the current product'}</h3>
<div class="alert alert-info">
{l s='This interface allows you to specify the suppliers of the current product and eventually its combinations.'}<br />
{l s='It is also possible to specify supplier references according to previously associated suppliers.'}<br />
@@ -61,7 +61,7 @@
<i class="icon-plus"></i> {l s='Create a new supplier'} <i class="icon-external-link-sign"></i>
</a>
<legend>{l s='Product reference(s)'}</legend>
<h3>{l s='Product reference(s)'}</h3>
<div class="alert alert-info">
{if $associated_suppliers|@count == 0}
@@ -26,5 +26,5 @@
{extends file="helpers/list/list_header.tpl"}
{block name="override_header"}
<legend>{$sub_title}</legend>
<h3>{$sub_title}</h3>
{/block}
+3 -3
View File
@@ -129,7 +129,7 @@
{if {$show_new_orders} == 1}
<li id="orders_notif" class="dropdown" >
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-shopping-cart"></i>&nbsp;<span class="caret"></span>
<i class="icon-shopping-cart"></i>
<span id="orders_notif_number_wrapper" class="badge">
<span id="orders_notif_value">0</span>
</span>
@@ -146,7 +146,7 @@
{if ($show_new_customers == 1)}
<li id="customers_notif" class="notifs dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-user"></i>&nbsp;<span class="caret"></span>
<i class="icon-user"></i>
<span id="customers_notif_number_wrapper" class="badge">
<span id="customers_notif_value">0</span>
</span>
@@ -163,7 +163,7 @@
{if {$show_new_messages} == 1}
<li id="customer_messages_notif" class="notifs dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-envelope"></i>&nbsp;<span class="caret"></span>
<i class="icon-envelope"></i>
<span id="customer_messages_notif_number_wrapper" class="badge">
<span id="customer_messages_notif_value" >0</span>
</span>
@@ -73,12 +73,11 @@
{/if}
{if !$simple_header}
<form method="post" action="{$action}" class="form-inline">
<form method="post" action="{$action}" class="form-horizontal">
<fieldset class="col-lg-12">
{block name="override_header"}{/block}
<input type="hidden" id="submitFilter{$table}" name="submitFilter{$table}" value="0"/>
<span class="pull-right">
<button type="submit" name="submitReset{$table}" class="btn btn-default btn-small">
<i class="icon-eraser"></i> {l s='Reset'}