Browse Source

[Site] Connexion/inscription page producteur sur mobile : ajouter liens raccourcis "Connexion" et "Inscription" en haut de page #1331

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
e21656822e
4 changed files with 56 additions and 9 deletions
  1. +16
    -3
      frontend/views/site/producer.php
  2. +22
    -6
      frontend/web/css/screen.css
  3. +6
    -0
      frontend/web/sass/_order_system.scss
  4. +12
    -0
      frontend/web/sass/_responsive.scss

+ 16
- 3
frontend/views/site/producer.php View File



$producerManager = ProducerManager::getInstance(); $producerManager = ProducerManager::getInstance();


$this->setTitle('Connexion nécessaire') ;
$this->setTitle('Identification nécessaire') ;
$this->setIcon('log-in'); $this->setIcon('log-in');
$this->setMeta('description', 'Veuillez vous connecter pour réserver les produits de ce producteur.') ; $this->setMeta('description', 'Veuillez vous connecter pour réserver les produits de ce producteur.') ;


?> ?>


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

<div class="btn-group buttons-login-signup">
<a href="#login" class="btn btn-default">
<span class="glyphicon glyphicon-log-in"></span>
Connexion
</a>
<a href="#signup" class="btn btn-default">
<span class="glyphicon glyphicon-user"></span>
Inscription
</a>
<div class="clr"></div>
</div>

<div class="alert alert-warning"> <div class="alert alert-warning">
Veuillez vous identifier pour accéder à l'espace du producteur <strong><?= Html::encode($producer->name); ?></strong>. Veuillez vous identifier pour accéder à l'espace du producteur <strong><?= Html::encode($producer->name); ?></strong>.
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="panel panel-primary">
<div class="panel panel-primary" id="login">
<div class="panel-heading"> <div class="panel-heading">
<h2 class="panel-title"> <h2 class="panel-title">
<span class="glyphicon glyphicon-log-in"></span> <span class="glyphicon glyphicon-log-in"></span>
</div> </div>


<div class="col-md-6"> <div class="col-md-6">
<div class="panel panel-primary">
<div class="panel panel-primary" id="signup">
<div class="panel-heading"> <div class="panel-heading">
<h2 class="panel-title"> <h2 class="panel-title">
<span class="glyphicon glyphicon-user"></span> <span class="glyphicon glyphicon-user"></span>

+ 22
- 6
frontend/web/css/screen.css View File

color: black; color: black;
} }


/* line 690, ../sass/_order_system.scss */
/* line 689, ../sass/_order_system.scss */
#page-producer .buttons-login-signup {
display: none;
}

/* line 696, ../sass/_order_system.scss */
#page-producer h1, #page-producer h1,
#page-producer-code h1 { #page-producer-code h1 {
font-size: 40px; font-size: 40px;
} }
/* line 693, ../sass/_order_system.scss */
/* line 699, ../sass/_order_system.scss */
#page-producer .info, #page-producer .info,
#page-producer-code .info { #page-producer-code .info {
text-align: center; text-align: center;
} }


/* line 698, ../sass/_order_system.scss */
/* line 704, ../sass/_order_system.scss */
#page-producer-offline { #page-producer-offline {
text-align: center; text-align: center;
} }
/* line 701, ../sass/_order_system.scss */
/* line 707, ../sass/_order_system.scss */
#page-producer-offline .info { #page-producer-offline .info {
margin-bottom: 60px; margin-bottom: 60px;
} }


/* line 707, ../sass/_order_system.scss */
/* line 713, ../sass/_order_system.scss */
#page-producer-code form#producer-code { #page-producer-code form#producer-code {
max-width: 400px; max-width: 400px;
margin: 0px auto; margin: 0px auto;
} }
/* line 711, ../sass/_order_system.scss */
/* line 717, ../sass/_order_system.scss */
#page-producer-code form#producer-code .form-group.buttons { #page-producer-code form#producer-code .form-group.buttons {
text-align: center; text-align: center;
} }
display: block; display: block;
margin-bottom: 5px; margin-bottom: 5px;
} }

/* line 248, ../sass/_responsive.scss */
#page-producer .buttons-login-signup {
display: block;
margin-bottom: 20px;
text-align: center;
}
/* line 253, ../sass/_responsive.scss */
#page-producer .buttons-login-signup a {
float: none;
}
} }

+ 6
- 0
frontend/web/sass/_order_system.scss View File

} }


#page-producer {
.buttons-login-signup {
display: none;
}
}

#page-producer, #page-producer,
#page-producer-code { #page-producer-code {
h1 { h1 {

+ 12
- 0
frontend/web/sass/_responsive.scss View File

} }
} }
} }

#page-producer {
.buttons-login-signup {
display: block;
margin-bottom: 20px;
text-align: center;

a {
float: none;
}
}
}
} }

Loading…
Cancel
Save