Browse Source

Intégration Souke

feature/souke
Guillaume Bourgeois 8 months ago
parent
commit
007810833d
7 changed files with 189 additions and 173 deletions
  1. +19
    -7
      frontend/views/site/producer_offline.php
  2. +157
    -157
      frontend/web/css/screen.css
  3. +3
    -3
      frontend/web/sass/_order_system.scss
  4. +4
    -0
      frontend/web/sass/screen.scss
  5. +3
    -3
      producer/web/css/screen.css
  6. +2
    -2
      producer/web/sass/_layout.scss
  7. +1
    -1
      producer/web/sass/order/_order.scss

+ 19
- 7
frontend/views/site/producer_offline.php View File

@@ -39,16 +39,28 @@ termes.
use yii\helpers\Html ;
use yii\bootstrap\ActiveForm;

$this->setTitle('Espace producteur hors-ligne') ;
$this->setIcon('remove-sign');
$this->setMeta('description','L\'espace de ce producteur est hors-ligne.') ;
$this->setTitle('Boutique producteur désactivée') ;
$this->setMeta('description','La boutique du producteur '.Html::encode($producer->name).' est désactivée.') ;

?>

<div id="page-producer-offline">
<h1 class="title-system-order"><?= Html::encode($producer->name) ?></h1>
<div class="info"><span class="alert alert-danger">L'espace de ce producteur est désactivé.</span></div>
<div>
<a class="btn btn-default" href="<?= \Yii::$app->urlManagerFrontend->createUrl(['site/producers']); ?>"><span class="glyphicon glyphicon-search"></span> Je recherche un autre producteur</a>
<div class="row">
<div class="col-lg-6">
<div class="panel panel-primary panel-padding-large">
<div class="panel-body">
<h2><?= Html::encode($producer->name) ?></h2>
<div class="alert alert-danger">
<i class="bi bi-x-circle"></i>
La boutique de ce producteur est désactivée.
</div>
<div>
<a class="btn btn-secondary" href="<?= \Yii::$app->urlManagerFrontend->createUrl(['site/index']); ?>">
<i class="bi bi-search"></i> Je recherche un autre producteur
</a>
</div>
</div>
</div>
</div>
</div>
</div>

+ 157
- 157
frontend/web/css/screen.css
File diff suppressed because it is too large
View File


+ 3
- 3
frontend/web/sass/_order_system.scss View File

@@ -696,10 +696,10 @@ h1.title-system-order {
}

#page-producer-offline {
text-align: center;
//text-align: center;

.info {
margin-bottom: 60px;
.col-lg-6 {
margin: 0px auto;
}
}


+ 4
- 0
frontend/web/sass/screen.scss View File

@@ -450,6 +450,10 @@ section#header-title {
h2.first-title {
margin-top: 0px;
}

h2 {
margin-bottom: 20px;
}
}

&.panel-default {

+ 3
- 3
producer/web/css/screen.css View File

@@ -159,8 +159,8 @@ ul.pagination li.prev a, ul.pagination li.next a {
.product-name-description-block .name {
font-family: "worksans_semibold";
color: black;
font-size: 1.2em;
line-height: 1.4em;
font-size: 1.1em;
line-height: 1.3em;
}
/* line 127, ../sass/_layout.scss */
.product-name-description-block .other {
@@ -1494,7 +1494,7 @@ termes.
}
/* line 315, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td.photo img {
width: 100px;
width: 75px;
}
/* line 325, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .price-unit .decreasing-prices {

+ 2
- 2
producer/web/sass/_layout.scss View File

@@ -120,8 +120,8 @@ ul.pagination {
.name {
font-family: 'worksans_semibold' ;
color: black ;
font-size: 1.2em ;
line-height: 1.4em ;
font-size: 1.1em ;
line-height: 1.3em ;
}

.other {

+ 1
- 1
producer/web/sass/order/_order.scss View File

@@ -313,7 +313,7 @@

td.photo {
img {
width: 100px ;
width: 75px ;
}
}

Loading…
Cancel
Save