Browse Source

Merge branch 'dev'

master
Guillaume Bourgeois 5 years ago
parent
commit
be3c050ac7
18 changed files with 95 additions and 61 deletions
  1. +7
    -0
      common/components/MyView.php
  2. +2
    -1
      frontend/views/site/cgv.php
  3. +3
    -1
      frontend/views/site/contact.php
  4. +3
    -1
      frontend/views/site/credit.php
  5. +1
    -0
      frontend/views/site/error-404-producer.php
  6. +3
    -1
      frontend/views/site/error.php
  7. +6
    -5
      frontend/views/site/index.php
  8. +3
    -1
      frontend/views/site/login.php
  9. +4
    -1
      frontend/views/site/mentions.php
  10. +2
    -1
      frontend/views/site/producer.php
  11. +3
    -1
      frontend/views/site/producer_code.php
  12. +2
    -1
      frontend/views/site/producer_offline.php
  13. +1
    -0
      frontend/views/site/producers.php
  14. +3
    -1
      frontend/views/site/requestPasswordResetToken.php
  15. +3
    -1
      frontend/views/site/resetPassword.php
  16. +3
    -1
      frontend/views/site/signup.php
  17. +43
    -42
      frontend/web/css/screen.css
  18. +3
    -2
      frontend/web/sass/screen.scss

+ 7
- 0
common/components/MyView.php View File

$this->buttons[] = $button ; $this->buttons[] = $button ;
} }
public function setMeta($name, $content)
{
Yii::$app->view->registerMetaTag([
'name' => $name,
'content' => $content
]);
}
} }

+ 2
- 1
frontend/views/site/cgv.php View File

termes. termes.
*/ */


$this->title = 'Conditions générales de service';
$this->setTitle('Conditions générales de service') ;
$this->setMeta('description', 'Nous vous présentons ici les conditions selon lesquelles nous vous proposons nos offres de service.') ;


?> ?>



+ 3
- 1
frontend/views/site/contact.php View File

/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */


$this->title = 'Me contacter';
$this->setTitle('Me contacter');
$this->setMeta('description', 'Pour toute remarque ou demande d\'information, nous vous proposons d\'utiliser ce formulaire de contact.') ;

$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="site-contact"> <div class="site-contact">

+ 3
- 1
frontend/views/site/credit.php View File

termes. termes.
*/ */


$this->title = 'Crédit';
$this->setTitle('Crédit') ;
$this->setMeta('Présentation de la fonctionnalité "Crédit" de la plateforme.') ;

?> ?>


<div class="container content-text"> <div class="container content-text">

+ 1
- 0
frontend/views/site/error-404-producer.php View File

*/ */


$this->setTitle('Producteur introuvable') ; $this->setTitle('Producteur introuvable') ;
$this->setMeta('Le producteur que vous recherchez est introuvable.') ;


?> ?>



+ 3
- 1
frontend/views/site/error.php View File

/* @var $message string */ /* @var $message string */
/* @var $exception Exception */ /* @var $exception Exception */


$this->title = $exception->getName();
$this->setTitle($exception->getName());
$this->setMeta('description', 'Oups ! Une erreur est survenue.') ;

?> ?>
<div class="site-error"> <div class="site-error">



+ 6
- 5
frontend/views/site/index.php View File



use common\helpers\Url ; use common\helpers\Url ;


/* @var $this yii\web\View */
$this->setTitle('Logiciel libre de distribution alimentaire') ;
$this->setTitle('Logiciel libre de distribution alimentaire en circuit court') ;
$this->setMeta('description', 'Simplifiez la distribution de vos produits en circuit court grâce à des outils web adaptés.') ;


?> ?>


<div id="presentation"> <div id="presentation">
<div id="presentation-distrib"> <div id="presentation-distrib">
<h2><span>Logiciel libre<br />
de distribution alimentaire</span></h2>
<h3>simple, ouvert et participatif</h3>
<h1><span>Logiciel libre<br />
de distribution alimentaire<br />
en circuit court</span></h1>
<p>simple, ouvert et participatif</p>
</div> </div>
<div id="row-users-producers"> <div id="row-users-producers">
<div class="col-md-6 producer"> <div class="col-md-6 producer">

+ 3
- 1
frontend/views/site/login.php View File

/* @var $form yii\bootstrap\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */ /* @var $model \common\models\LoginForm */


$this->title = 'Connexion';
$this->setTitle('Connexion') ;
$this->setMeta('description', 'Connectez-vous afin d\'accéder à votre compte.') ;

$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="site-login"> <div class="site-login">

+ 4
- 1
frontend/views/site/mentions.php View File

termes. termes.
*/ */


$this->title = 'Mentions légales';
$this->setTitle('Mentions légales');
$this->setMeta('description', 'Prenez connaissance de nos mentions légales.') ;


?> ?>


<div class="container content-text"> <div class="container content-text">

+ 2
- 1
frontend/views/site/producer.php View File

use yii\helpers\Html ; use yii\helpers\Html ;
use yii\bootstrap\ActiveForm; use yii\bootstrap\ActiveForm;


$this->title = 'Producteur '.Html::encode($producer->name) ;
$this->setTitle('Producteur '.Html::encode($producer->name)) ;
$this->setMeta('description', 'Veuillez vous connecter pour réserver les produits de ce producteur.') ;


?> ?>



+ 3
- 1
frontend/views/site/producer_code.php View File



use yii\bootstrap\ActiveForm; use yii\bootstrap\ActiveForm;


$this->title = 'Producteur '.Html::encode($producer->name) ;
$this->setTitle('Producteur '.Html::encode($producer->name)) ;
$this->setMeta('Ce producteur est protègé par un code d\'accès.') ;



?> ?>
<div id="page-producer-code"> <div id="page-producer-code">

+ 2
- 1
frontend/views/site/producer_offline.php View File

use yii\helpers\Html ; use yii\helpers\Html ;
use yii\bootstrap\ActiveForm; use yii\bootstrap\ActiveForm;


$this->title = 'Espace producteur '.Html::encode($producer->name).' désactivé' ;
$this->setTitle('Espace producteur '.Html::encode($producer->name).' désactivé') ;
$this->setMeta('description','L\'espace de ce producteur est désactivé.') ;


?> ?>



+ 1
- 0
frontend/views/site/producers.php View File

*/ */


$this->setTitle('Producteurs') ; $this->setTitle('Producteurs') ;
$this->setMeta('description', 'Retrouvez les producteurs présents sur Opendistrib.') ;


?> ?>



+ 3
- 1
frontend/views/site/requestPasswordResetToken.php View File

/* @var $form yii\bootstrap\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\PasswordResetRequestForm */ /* @var $model \frontend\models\PasswordResetRequestForm */


$this->title = 'Mot de passe oublié';
$this->setTitle('Mot de passe oublié') ;
$this->setMeta('description', 'Vous avez oublié votre mot de passe ?');

$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="site-request-password-reset"> <div class="site-request-password-reset">

+ 3
- 1
frontend/views/site/resetPassword.php View File

/* @var $form yii\bootstrap\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\ResetPasswordForm */ /* @var $model \frontend\models\ResetPasswordForm */


$this->title = 'Nouveau mot de passe';
$this->setTitle('Nouveau mot de passe') ;
$this->setMeta('description', 'Indiquez ici votre nouveau mot de passe');

$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="site-reset-password"> <div class="site-reset-password">

+ 3
- 1
frontend/views/site/signup.php View File

/* @var $form yii\bootstrap\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */ /* @var $model \frontend\models\SignupForm */


$this->title = 'Inscription';
$this->setTitle('Inscription') ;
$this->setMeta('description', 'Inscrivez-vous afin de profiter des fonctionnalités de la plateforme.');

$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="site-signup"> <div class="site-signup">

+ 43
- 42
frontend/web/css/screen.css View File

text-align: center; text-align: center;
} }
/* line 410, ../sass/screen.scss */ /* line 410, ../sass/screen.scss */
#content #presentation-distrib h2 {
#content #presentation-distrib h1 {
font-family: "capsuularegular"; font-family: "capsuularegular";
text-align: center; text-align: center;
margin-top: 15px; margin-top: 15px;
padding-bottom: 0px; padding-bottom: 0px;
} }
/* line 422, ../sass/screen.scss */ /* line 422, ../sass/screen.scss */
#content #presentation-distrib h3 {
#content #presentation-distrib p {
color: white; color: white;
font-family: "capsuularegular"; font-family: "capsuularegular";
font-size: 20px; font-size: 20px;
margin-top: 20px;
} }
/* line 429, ../sass/screen.scss */
/* line 430, ../sass/screen.scss */
#content .panel { #content .panel {
background-color: white; background-color: white;
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
} }
/* line 433, ../sass/screen.scss */
/* line 434, ../sass/screen.scss */
#content .panel .panel-heading { #content .panel .panel-heading {
background-color: #FFF8DC; background-color: #FFF8DC;
border-bottom: 0px; border-bottom: 0px;
padding-bottom: 8px; padding-bottom: 8px;
border-bottom: solid 1px #e0e0e0; border-bottom: solid 1px #e0e0e0;
} }
/* line 440, ../sass/screen.scss */
/* line 441, ../sass/screen.scss */
#content .panel .panel-heading h2.panel-title { #content .panel .panel-heading h2.panel-title {
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
padding-top: 0px; padding-top: 0px;
text-align: center; text-align: center;
} }
/* line 446, ../sass/screen.scss */
/* line 447, ../sass/screen.scss */
#content .panel .panel-heading h2.panel-title .img { #content .panel .panel-heading h2.panel-title .img {
height: 20px; height: 20px;
display: none; display: none;
} }
/* line 450, ../sass/screen.scss */
/* line 451, ../sass/screen.scss */
#content .panel .panel-heading h2.panel-title .glyphicon { #content .panel .panel-heading h2.panel-title .glyphicon {
font-size: 20px; font-size: 20px;
display: none; display: none;
} }
/* line 454, ../sass/screen.scss */
/* line 455, ../sass/screen.scss */
#content .panel .panel-heading h2.panel-title span.the-title { #content .panel .panel-heading h2.panel-title span.the-title {
margin-left: 10px; margin-left: 10px;
font-size: 26px; font-size: 26px;
top: 0px; top: 0px;
text-transform: uppercase; text-transform: uppercase;
} }
/* line 463, ../sass/screen.scss */
/* line 464, ../sass/screen.scss */
#content .panel .panel-body { #content .panel .panel-body {
background-color: white; background-color: white;
-moz-border-radius: 0px 0px 5px 5px; -moz-border-radius: 0px 0px 5px 5px;
-webkit-border-radius: 0px; -webkit-border-radius: 0px;
border-radius: 0px 0px 5px 5px; border-radius: 0px 0px 5px 5px;
} }
/* line 469, ../sass/screen.scss */
/* line 470, ../sass/screen.scss */
#content #row-users-producers { #content #row-users-producers {
text-align: center; text-align: center;
display: table; display: table;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
border-radius: 5px; border-radius: 5px;
} }
/* line 475, ../sass/screen.scss */
/* line 476, ../sass/screen.scss */
#content #row-users-producers .col-md-6 { #content #row-users-producers .col-md-6 {
display: table-cell; display: table-cell;
width: 50%; width: 50%;
} }
/* line 478, ../sass/screen.scss */
/* line 479, ../sass/screen.scss */
#content #row-users-producers .col-md-6 .panel { #content #row-users-producers .col-md-6 .panel {
height: 100%; height: 100%;
margin-bottom: 20px; margin-bottom: 20px;
-webkit-box-shadow: none; -webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* line 485, ../sass/screen.scss */
/* line 486, ../sass/screen.scss */
#content #row-users-producers .col-md-6.producer { #content #row-users-producers .col-md-6.producer {
padding-left: 0px; padding-left: 0px;
} }
/* line 488, ../sass/screen.scss */
/* line 489, ../sass/screen.scss */
#content #row-users-producers .col-md-6.users { #content #row-users-producers .col-md-6.users {
padding-right: 0px; padding-right: 0px;
} }
/* line 501, ../sass/screen.scss */
/* line 502, ../sass/screen.scss */
#content #row-users-producers div.producer .btn-primary, #content #row-users-producers div.producer .btn-primary,
#content #row-functionalities-rates div.producer .btn-primary { #content #row-functionalities-rates div.producer .btn-primary {
margin-bottom: 5px; margin-bottom: 5px;
} }
/* line 506, ../sass/screen.scss */
/* line 507, ../sass/screen.scss */
#content #row-users-producers p.presentation, #content #row-users-producers p.presentation,
#content #row-functionalities-rates p.presentation { #content #row-functionalities-rates p.presentation {
font-family: "capsuularegular"; font-family: "capsuularegular";
font-size: 20px; font-size: 20px;
line-height: 26px; line-height: 26px;
} }
/* line 513, ../sass/screen.scss */
/* line 514, ../sass/screen.scss */
#content #row-users-producers p, #content #row-users-producers p,
#content #row-functionalities-rates p { #content #row-functionalities-rates p {
padding-bottom: 4px; padding-bottom: 4px;
} }
/* line 519, ../sass/screen.scss */
/* line 520, ../sass/screen.scss */
#content #row-functionalities-rates .block { #content #row-functionalities-rates .block {
margin-bottom: 10px; margin-bottom: 10px;
} }
/* line 521, ../sass/screen.scss */
/* line 522, ../sass/screen.scss */
#content #row-functionalities-rates .block p { #content #row-functionalities-rates .block p {
font-family: "capsuularegular"; font-family: "capsuularegular";
font-size: 18px; font-size: 18px;
margin-left: 70px; margin-left: 70px;
} }
/* line 526, ../sass/screen.scss */
/* line 527, ../sass/screen.scss */
#content #row-functionalities-rates .block img { #content #row-functionalities-rates .block img {
float: left; float: left;
width: 50px; width: 50px;
height: auto; height: auto;
} }
/* line 531, ../sass/screen.scss */
/* line 532, ../sass/screen.scss */
#content #row-functionalities-rates .block a { #content #row-functionalities-rates .block a {
text-decoration: none; text-decoration: none;
color: black; color: black;
} }
/* line 534, ../sass/screen.scss */
/* line 535, ../sass/screen.scss */
#content #row-functionalities-rates .block a:hover { #content #row-functionalities-rates .block a:hover {
color: #FF7F00; color: #FF7F00;
} }
/* line 541, ../sass/screen.scss */
/* line 542, ../sass/screen.scss */
#content #row-functionalities-rates .block-points-sale-products img { #content #row-functionalities-rates .block-points-sale-products img {
width: 40px; width: 40px;
} }
/* line 549, ../sass/screen.scss */
/* line 550, ../sass/screen.scss */
#content #block-rates table th { #content #block-rates table th {
font-family: "capsuularegular"; font-family: "capsuularegular";
font-weight: normal; font-weight: normal;
font-size: 23px; font-size: 23px;
} }
/* line 554, ../sass/screen.scss */
/* line 555, ../sass/screen.scss */
#content #block-rates table th, #content #block-rates table td { #content #block-rates table th, #content #block-rates table td {
text-align: center; text-align: center;
} }
/* line 561, ../sass/screen.scss */
/* line 562, ../sass/screen.scss */
#content #btn-demo:hover, #content #btn-demo:focus, #content #btn-demo:active { #content #btn-demo:hover, #content #btn-demo:focus, #content #btn-demo:active {
color: black; color: black;
} }


/* line 571, ../sass/screen.scss */
/* line 572, ../sass/screen.scss */
#content #contact { #content #contact {
display: none; display: none;
} }
/* line 575, ../sass/screen.scss */
/* line 576, ../sass/screen.scss */
#content #contact .icon { #content #contact .icon {
width: 55px; width: 55px;
top: -15px; top: -15px;
margin-left: -70px; margin-left: -70px;
} }
/* line 581, ../sass/screen.scss */
/* line 582, ../sass/screen.scss */
#content #contact .form-control:focus { #content #contact .form-control:focus {
/*@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px $jaune) ; /*@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px $jaune) ;
border-color: $jaune ;*/ border-color: $jaune ;*/
} }
/* line 586, ../sass/screen.scss */
/* line 587, ../sass/screen.scss */
#content #contact .form-group { #content #contact .form-group {
text-align: center; text-align: center;
} }
/* line 590, ../sass/screen.scss */
/* line 591, ../sass/screen.scss */
#content #contact .img-right { #content #contact .img-right {
float: right; float: right;
} }
/* line 593, ../sass/screen.scss */
/* line 594, ../sass/screen.scss */
#content #contact .img-right img { #content #contact .img-right img {
width: 300px; width: 300px;
} }


/* line 599, ../sass/screen.scss */
/* line 600, ../sass/screen.scss */
#bookmarked-producers { #bookmarked-producers {
padding: 0px; padding: 0px;
padding-top: 15px; padding-top: 15px;
border-bottom: solid 1px #e0e0e0; border-bottom: solid 1px #e0e0e0;
background-color: white; background-color: white;
} }
/* line 607, ../sass/screen.scss */
/* line 608, ../sass/screen.scss */
#bookmarked-producers h2 { #bookmarked-producers h2 {
float: left; float: left;
font-family: "highvoltageregular"; font-family: "highvoltageregular";
padding: 0px; padding: 0px;
color: #323232; color: #323232;
} }
/* line 618, ../sass/screen.scss */
/* line 619, ../sass/screen.scss */
#bookmarked-producers #producers { #bookmarked-producers #producers {
position: relative; position: relative;
top: -5px; top: -5px;
left: 5px; left: 5px;
} }
/* line 624, ../sass/screen.scss */
/* line 625, ../sass/screen.scss */
#bookmarked-producers #discover { #bookmarked-producers #discover {
padding-bottom: 20px; padding-bottom: 20px;
text-align: center; text-align: center;
} }
/* line 628, ../sass/screen.scss */
/* line 629, ../sass/screen.scss */
#bookmarked-producers #discover p { #bookmarked-producers #discover p {
padding-bottom: 0px; padding-bottom: 0px;
color: white; color: white;
} }
/* line 633, ../sass/screen.scss */
/* line 634, ../sass/screen.scss */
#bookmarked-producers #discover .btn { #bookmarked-producers #discover .btn {
background-color: white; background-color: white;
color: #FF7F00; color: #FF7F00;
border: solid 1px white; border: solid 1px white;
} }


/* line 642, ../sass/screen.scss */
/* line 643, ../sass/screen.scss */
#footer { #footer {
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
background-color: white; background-color: white;
border-top: solid 1px #e0e0e0; border-top: solid 1px #e0e0e0;
} }
/* line 652, ../sass/screen.scss */
/* line 653, ../sass/screen.scss */
#footer a { #footer a {
color: black; color: black;
font-family: "capsuularegular"; font-family: "capsuularegular";
padding-right: 10px; padding-right: 10px;
border-right: solid 1px white; border-right: solid 1px white;
} }
/* line 661, ../sass/screen.scss */
/* line 662, ../sass/screen.scss */
#footer a:hover { #footer a:hover {
text-decoration: underline; text-decoration: underline;
} }
/* line 665, ../sass/screen.scss */
/* line 666, ../sass/screen.scss */
#footer a:last-child { #footer a:last-child {
border: 0px none; border: 0px none;
} }

+ 3
- 2
frontend/web/sass/screen.scss View File

margin-bottom: 50px ; margin-bottom: 50px ;
text-align: center ; text-align: center ;
h2 {
h1 {
font-family: 'capsuularegular' ; font-family: 'capsuularegular' ;
text-align: center ; text-align: center ;
margin-top: 15px ; margin-top: 15px ;
padding-bottom: 0px ; padding-bottom: 0px ;
} }
h3 {
p {
color: white ; color: white ;
font-family: 'capsuularegular' ; font-family: 'capsuularegular' ;
font-size: 20px ; font-size: 20px ;
margin-top: 20px ;
} }
} }

Loading…
Cancel
Save