Quellcode durchsuchen

Centrer formulaires connexion/inscription

prodstable
keun vor 8 Jahren
Ursprung
Commit
ab05f7280c
4 geänderte Dateien mit 36 neuen und 9 gelöschten Zeilen
  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 Datei anzeigen

@@ -13,11 +13,9 @@ $this->params['breadcrumbs'][] = $this->title;
<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="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']); ?>
<?= $form->field($model, 'email') ?>
<?= $form->field($model, 'password')->passwordInput() ?>

BIN
frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/screen.scssc Datei anzeigen


+ 18
- 5
frontend/web/css/screen.css Datei anzeigen

@@ -84,7 +84,7 @@ strong {
}
/* line 54, ../sass/screen.scss */
#main a:hover {
color: white;
color: #BB8757;
}
/* line 58, ../sass/screen.scss */
#main a.btn {
@@ -460,21 +460,34 @@ ul li {
font-weight: bold;
}

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

+ 17
- 1
frontend/web/sass/screen.scss Datei anzeigen

@@ -52,7 +52,7 @@ strong {
}
&:hover {
color: white ;
color: $color1 ;
}
&.btn {
@@ -446,8 +446,24 @@ ul {

}

/* login */

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

/* signup */

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

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

Laden…
Abbrechen
Speichern