소스 검색

Centrer formulaires connexion/inscription

master
keun 8 년 전
부모
커밋
ab05f7280c
4개의 변경된 파일36개의 추가작업 그리고 9개의 파일을 삭제
  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 파일 보기

@@ -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 파일 보기


+ 18
- 5
frontend/web/css/screen.css 파일 보기

@@ -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 파일 보기

@@ -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 ;

Loading…
취소
저장