Sfoglia il codice sorgente

Correction mineure formulaire commande

master
keun 8 anni fa
parent
commit
19f1f8e199
4 ha cambiato i file con 54 aggiunte e 52 eliminazioni
  1. +1
    -1
      frontend/views/commande/_form.php
  2. BIN
      frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/_systeme_commandes.scssc
  3. +51
    -50
      frontend/web/css/screen.css
  4. +2
    -1
      frontend/web/sass/_systeme_commandes.scss

+ 1
- 1
frontend/views/commande/_form.php Vedi File

@@ -21,7 +21,7 @@ use yii\widgets\ActiveForm;
<span class="adresse">à <?= Html::encode($e['ville']) ?></span>
</a>
<?php endforeach; ?>
</ul>
</div>
<div class="clr"></div>
<?php else: ?>
<div class="alert alert-info">Veuiller <a href="<?= Yii::$app->urlManager->createUrl(['commande/index']) ; ?>">ajouter une boulangerie</a> à votre tableau de bord avant de passer commande.</div>

BIN
frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/_systeme_commandes.scssc Vedi File


+ 51
- 50
frontend/web/css/screen.css Vedi File

@@ -545,61 +545,62 @@ h2 {
/* line 134, ../sass/_systeme_commandes.scss */
.commande-form {
min-height: 600px;
padding-bottom: 60px;
}
/* line 138, ../sass/_systeme_commandes.scss */
/* line 139, ../sass/_systeme_commandes.scss */
.commande-form h2 {
font-family: "myriadpro-regular";
}
/* line 142, ../sass/_systeme_commandes.scss */
/* line 143, ../sass/_systeme_commandes.scss */
.commande-form #infos-importantes.alert-warning {
float: right;
}
/* line 148, ../sass/_systeme_commandes.scss */
/* line 149, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .ui-datepicker {
float: left;
margin-right: 20px;
}
/* line 153, ../sass/_systeme_commandes.scss */
/* line 154, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .ui-helper-clearfix:after {
clear: none;
}
/* line 157, ../sass/_systeme_commandes.scss */
/* line 158, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .alert-info {
float: left;
}
/* line 162, ../sass/_systeme_commandes.scss */
/* line 163, ../sass/_systeme_commandes.scss */
.commande-form #has-commande-en-cours {
margin-top: 15px;
}
/* line 165, ../sass/_systeme_commandes.scss */
/* line 166, ../sass/_systeme_commandes.scss */
.commande-form #has-commande-en-cours a {
color: #a94442;
text-decoration: none;
font-weight: bold;
}
/* line 172, ../sass/_systeme_commandes.scss */
/* line 173, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_point_vente {
margin-top: 30px;
}
/* line 176, ../sass/_systeme_commandes.scss */
/* line 177, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_production {
margin-bottom: 0px;
}
/* line 178, ../sass/_systeme_commandes.scss */
/* line 179, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_production label {
margin-bottom: 0px;
}
/* line 182, ../sass/_systeme_commandes.scss */
/* line 183, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_production .help-block {
margin-bottom: 0px;
}
/* line 187, ../sass/_systeme_commandes.scss */
/* line 188, ../sass/_systeme_commandes.scss */
.commande-form .blocs {
list-style-type: none;
margin: 0px;
padding: 0px;
}
/* line 192, ../sass/_systeme_commandes.scss */
/* line 193, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc {
text-decoration: none;
width: 268px;
@@ -613,107 +614,107 @@ h2 {
background-color: #f9f9f9;
border: 1px solid #d8d8d8;
}
/* line 206, ../sass/_systeme_commandes.scss */
/* line 207, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc .nom {
font-family: "comfortaalight";
font-size: 20px;
}
/* line 212, ../sass/_systeme_commandes.scss */
/* line 213, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc .adresse {
color: gray;
font-size: 13px;
line-height: 16px;
}
/* line 218, ../sass/_systeme_commandes.scss */
/* line 219, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc .horaires {
margin-top: 7px;
}
/* line 220, ../sass/_systeme_commandes.scss */
/* line 221, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc .horaires .jour {
font-weight: bold;
display: none;
}
/* line 226, ../sass/_systeme_commandes.scss */
/* line 227, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc.selected {
border-left: solid 5px black;
-moz-box-shadow: 0px 0px 5px #d8d8d8;
-webkit-box-shadow: 0px 0px 5px #d8d8d8;
box-shadow: 0px 0px 5px #d8d8d8;
}
/* line 230, ../sass/_systeme_commandes.scss */
/* line 231, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc.selected .contenu {
position: relative;
left: -4px;
}
/* line 236, ../sass/_systeme_commandes.scss */
/* line 237, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc:hover {
-moz-box-shadow: 0px 0px 5px #d8d8d8;
-webkit-box-shadow: 0px 0px 5px #d8d8d8;
box-shadow: 0px 0px 5px #d8d8d8;
}
/* line 241, ../sass/_systeme_commandes.scss */
/* line 242, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc.disabled {
display: none;
}
/* line 248, ../sass/_systeme_commandes.scss */
/* line 249, ../sass/_systeme_commandes.scss */
.commande-form #produits {
margin-top: 15px;
}
/* line 251, ../sass/_systeme_commandes.scss */
/* line 252, ../sass/_systeme_commandes.scss */
.commande-form #produits #label-produits {
display: block;
margin-bottom: 5px;
}
/* line 256, ../sass/_systeme_commandes.scss */
/* line 257, ../sass/_systeme_commandes.scss */
.commande-form #produits .table {
margin-top: 7px;
}
/* line 259, ../sass/_systeme_commandes.scss */
/* line 260, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .illu {
float: left;
height: auto;
width: 70px;
margin-right: 15px;
}
/* line 266, ../sass/_systeme_commandes.scss */
/* line 267, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .photo {
float: right;
margin-left: 10px;
width: 200px;
}
/* line 272, ../sass/_systeme_commandes.scss */
/* line 273, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .nom {
font-family: "comfortaalight";
font-weight: bold;
text-transform: uppercase;
font-size: 18px;
}
/* line 279, ../sass/_systeme_commandes.scss */
/* line 280, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .description {
font-style: italic;
}
/* line 283, ../sass/_systeme_commandes.scss */
/* line 284, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .recette {
font-size: 12px;
}
/* line 287, ../sass/_systeme_commandes.scss */
/* line 288, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .input-group {
width: 133px;
}
/* line 289, ../sass/_systeme_commandes.scss */
/* line 290, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .input-group .quantity {
text-align: center;
}
/* line 294, ../sass/_systeme_commandes.scss */
/* line 295, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .colonne-quantite, .commande-form #produits .table .prix-unit, .commande-form #produits .table .total {
width: 150px;
text-align: center;
}
/* line 299, ../sass/_systeme_commandes.scss */
/* line 300, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td#total-commande, .commande-form #produits .table td#total-commande-vrac, .commande-form #produits .table td.total {
text-align: center;
}
/* line 303, ../sass/_systeme_commandes.scss */
/* line 304, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .epuise {
display: none;
text-transform: uppercase;
@@ -722,32 +723,32 @@ h2 {
font-size: 16px;
text-align: center;
}
/* line 312, ../sass/_systeme_commandes.scss */
/* line 313, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .quantite-restante {
font-size: 12px;
margin-top: 8px;
}
/* line 316, ../sass/_systeme_commandes.scss */
/* line 317, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .quantite-restante .nb {
font-weight: bold;
}
/* line 321, ../sass/_systeme_commandes.scss */
/* line 322, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td.produit, .commande-form #produits .table th.produit {
width: 70%;
}
/* line 325, ../sass/_systeme_commandes.scss */
/* line 326, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td.prix-unit, .commande-form #produits .table th.prix-unit {
width: 10%;
}
/* line 329, ../sass/_systeme_commandes.scss */
/* line 330, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td.colonne-quantite, .commande-form #produits .table th.colonne-quantite {
width: 10%;
}
/* line 333, ../sass/_systeme_commandes.scss */
/* line 334, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td.total, .commande-form #produits .table th.total {
width: 10%;
}
/* line 339, ../sass/_systeme_commandes.scss */
/* line 340, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed {
position: fixed;
bottom: 0px;
@@ -764,7 +765,7 @@ h2 {
background-color: #F9F9F9;
text-align: center;
}
/* line 353, ../sass/_systeme_commandes.scss */
/* line 354, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed #total-commande-bottom {
background-color: white;
-moz-border-radius: 20px;
@@ -773,37 +774,37 @@ h2 {
padding: 5px 25px;
border: solid 1px #e0e0e0;
}
/* line 360, ../sass/_systeme_commandes.scss */
/* line 361, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .valider-commande, .commande-form #bar-fixed .btn-commentaire {
float: right;
}
/* line 364, ../sass/_systeme_commandes.scss */
/* line 365, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .btn-commentaire {
margin-right: 10px;
}
/* line 368, ../sass/_systeme_commandes.scss */
/* line 369, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .btn-retour, .commande-form #bar-fixed .annuler-commande {
float: left;
margin-right: 5px;
}
/* line 373, ../sass/_systeme_commandes.scss */
/* line 374, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .annuler-commande {
color: #b92c28;
background-color: white;
}
/* line 378, ../sass/_systeme_commandes.scss */
/* line 379, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed #total-commande-bottom {
display: none;
font-weight: bold;
font-family: "comfortaalight";
font-size: 24px;
}
/* line 385, ../sass/_systeme_commandes.scss */
/* line 386, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .field-commande-commentaire {
display: none;
}

/* line 393, ../sass/_systeme_commandes.scss */
/* line 394, ../sass/_systeme_commandes.scss */
.ui-datepicker .ui-widget-header {
background: none;
background-color: gray;
@@ -811,7 +812,7 @@ h2 {
color: black;
font-weight: normal;
}
/* line 401, ../sass/_systeme_commandes.scss */
/* line 402, ../sass/_systeme_commandes.scss */
.ui-datepicker .ui-datepicker-current-day a,
.ui-datepicker a.ui-state-hover {
background: none;

+ 2
- 1
frontend/web/sass/_systeme_commandes.scss Vedi File

@@ -134,7 +134,8 @@ h2 {
.commande-form {
min-height: 600px ;
padding-bottom: 60px ;
h2 {
font-family: "myriadpro-regular" ;
}

Loading…
Annulla
Salva