Browse Source

Centrer formulaires connexion/inscription

master
keun 8 years ago
parent
commit
ab05f7280c
4 changed files with 36 additions and 9 deletions
  1. +1
    -3
      frontend/views/site/login.php
  2. BIN
      frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/screen.scssc
  3. +18
    -5
      frontend/web/css/screen.css
  4. +17
    -1
      frontend/web/sass/screen.scss

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

<h1 class="title-systeme-commande"><span class="glyphicon glyphicon-log-in"></span> &nbsp;&nbsp;<?= Html::encode($this->title) ?></h1> <h1 class="title-systeme-commande"><span class="glyphicon glyphicon-log-in"></span> &nbsp;&nbsp;<?= Html::encode($this->title) ?></h1>



<p>Pas encore de compte ? <a class="" href="<?php echo Yii::$app->urlManager->createUrl('site/signup') ; ?>">Je m'inscris</a></p>
<div class="row"> <div class="row">
<div class="col-lg-5"> <div class="col-lg-5">
<p>Pas encore de compte ? <a class="" href="<?php echo Yii::$app->urlManager->createUrl('site/signup') ; ?>">Je m'inscris</a></p>
<?php $form = ActiveForm::begin(['id' => 'login-form']); ?> <?php $form = ActiveForm::begin(['id' => 'login-form']); ?>
<?= $form->field($model, 'email') ?> <?= $form->field($model, 'email') ?>
<?= $form->field($model, 'password')->passwordInput() ?> <?= $form->field($model, 'password')->passwordInput() ?>

BIN
frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/screen.scssc View File


+ 18
- 5
frontend/web/css/screen.css View File

} }
/* line 54, ../sass/screen.scss */ /* line 54, ../sass/screen.scss */
#main a:hover { #main a:hover {
color: white;
color: #BB8757;
} }
/* line 58, ../sass/screen.scss */ /* line 58, ../sass/screen.scss */
#main a.btn { #main a.btn {
font-weight: bold; font-weight: bold;
} }


/* signup */
/* login */
/* line 452, ../sass/screen.scss */ /* line 452, ../sass/screen.scss */
.site-login .col-lg-5 {
margin: 0px auto;
float: none;
}

/* signup */
/* line 461, ../sass/screen.scss */
.site-signup .col-lg-5 {
margin: 0px auto;
float: none;
}

/* line 468, ../sass/screen.scss */
#form-signup #client-boulanger { #form-signup #client-boulanger {
margin-bottom: 30px; margin-bottom: 30px;
} }
/* line 457, ../sass/screen.scss */
/* line 473, ../sass/screen.scss */
#form-signup #signupform-id_etablissement option:disabled { #form-signup #signupform-id_etablissement option:disabled {
font-weight: bold; font-weight: bold;
color: black; color: black;
} }
/* line 463, ../sass/screen.scss */
/* line 479, ../sass/screen.scss */
#form-signup #champs-boulanger { #form-signup #champs-boulanger {
display: none; display: none;
} }
/* line 467, ../sass/screen.scss */
/* line 483, ../sass/screen.scss */
#form-signup #boutons-inscrire { #form-signup #boutons-inscrire {
margin-top: 30px; margin-top: 30px;
} }

+ 17
- 1
frontend/web/sass/screen.scss View File

} }
&:hover { &:hover {
color: white ;
color: $color1 ;
} }
&.btn { &.btn {


} }


/* login */

.site-login {
.col-lg-5 {
margin: 0px auto ;
float: none ;
}
}

/* signup */ /* signup */


.site-signup {
.col-lg-5 {
margin: 0px auto ;
float: none ;
}
}

#form-signup { #form-signup {
#client-boulanger { #client-boulanger {
margin-bottom: 30px ; margin-bottom: 30px ;

Loading…
Cancel
Save