Просмотр исходного кода

Intégration Souke

feature/souke
Guillaume Bourgeois 6 месяцев назад
Родитель
Сommit
007810833d
7 измененных файлов: 189 добавлений и 173 удалений
  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 Просмотреть файл

use yii\helpers\Html ; use yii\helpers\Html ;
use yii\bootstrap\ActiveForm; 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"> <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>
</div> </div>

+ 157
- 157
frontend/web/css/screen.css
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


+ 3
- 3
frontend/web/sass/_order_system.scss Просмотреть файл

} }


#page-producer-offline { #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 Просмотреть файл

h2.first-title { h2.first-title {
margin-top: 0px; margin-top: 0px;
} }

h2 {
margin-bottom: 20px;
}
} }


&.panel-default { &.panel-default {

+ 3
- 3
producer/web/css/screen.css Просмотреть файл

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

+ 2
- 2
producer/web/sass/_layout.scss Просмотреть файл

.name { .name {
font-family: 'worksans_semibold' ; font-family: 'worksans_semibold' ;
color: black ; color: black ;
font-size: 1.2em ;
line-height: 1.4em ;
font-size: 1.1em ;
line-height: 1.3em ;
} }


.other { .other {

+ 1
- 1
producer/web/sass/order/_order.scss Просмотреть файл



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

Загрузка…
Отмена
Сохранить