Bladeren bron

Bouton administration

Ajout d'un bouton sur le menu principal de l'app "producer" menant à l'administration pour les producteurs.
refactoring
keun 6 jaren geleden
bovenliggende
commit
49936217de
4 gewijzigde bestanden met toevoegingen van 32 en 16 verwijderingen
  1. +6
    -0
      producer/views/layouts/main.php
  2. BIN
      producer/web/.sass-cache/e41f5e31a6663a79bf10fdc0a6dc1b740ec0b9dd/_layout.scssc
  3. +21
    -16
      producer/web/css/screen.css
  4. +5
    -0
      producer/web/sass/_layout.scss

+ 6
- 0
producer/views/layouts/main.php Bestand weergeven

@@ -113,6 +113,12 @@ $producer = $this->getProducer() ;
'url' => Yii::$app->urlManager->createUrl(['producer/contact']),
'active' => $this->getControllerAction() == 'producer/contact',
],
[
'label' => '<span class="glyphicon glyphicon-cog"></span> Administration',
'url' => Yii::$app->urlManagerBackend->createUrl(['site/index']),
'visible' => Yii::$app->user->identity->isBoulanger(),
'options' => ['id' => 'btn-administration']
],
],
]);
?>

BIN
producer/web/.sass-cache/e41f5e31a6663a79bf10fdc0a6dc1b740ec0b9dd/_layout.scssc Bestand weergeven


+ 21
- 16
producer/web/css/screen.css Bestand weergeven

@@ -210,13 +210,18 @@ body {
-webkit-border-radius: 0px;
border-radius: 0px;
}
/* line 148, ../sass/_layout.scss */
/* line 146, ../sass/_layout.scss */
#main #main-nav ul li#btn-administration {
background-color: #F8F1DD;
float: right;
}
/* line 153, ../sass/_layout.scss */
#main #main-nav #user {
color: #BB8757;
float: right;
padding: 10px;
}
/* line 155, ../sass/_layout.scss */
/* line 160, ../sass/_layout.scss */
#main .container {
padding: 0px;
background-color: white;
@@ -224,55 +229,55 @@ body {
border-left: solid 1px #e0e0e0;
border-right: solid 1px #e0e0e0;
}
/* line 163, ../sass/_layout.scss */
/* line 168, ../sass/_layout.scss */
#main #content {
padding: 0px 20px 20px 20px;
}
/* line 166, ../sass/_layout.scss */
/* line 171, ../sass/_layout.scss */
#main #content h1, #main #content h2, #main #content h3, #main #content h4, #main #content h5, #main #content h6 {
font-family: "myriadpro-regular";
margin-top: 30px;
margin-bottom: 20px;
}
/* line 171, ../sass/_layout.scss */
/* line 176, ../sass/_layout.scss */
#main #content h1.first, #main #content h2.first, #main #content h3.first, #main #content h4.first, #main #content h5.first, #main #content h6.first {
margin-top: 0px;
}
/* line 176, ../sass/_layout.scss */
/* line 181, ../sass/_layout.scss */
#main #content h1 {
font-size: 30px;
}
/* line 180, ../sass/_layout.scss */
/* line 185, ../sass/_layout.scss */
#main #content h2 {
font-size: 25px;
}
/* line 185, ../sass/_layout.scss */
/* line 190, ../sass/_layout.scss */
#main #content h3 {
font-size: 22px;
}
/* line 189, ../sass/_layout.scss */
/* line 194, ../sass/_layout.scss */
#main #content h4 {
font-size: 20px;
}
/* line 193, ../sass/_layout.scss */
/* line 198, ../sass/_layout.scss */
#main #content h5 {
font-size: 18px;
}
/* line 197, ../sass/_layout.scss */
/* line 202, ../sass/_layout.scss */
#main #content h6 {
font-size: 16px;
}

/* line 203, ../sass/_layout.scss */
/* line 208, ../sass/_layout.scss */
#footer {
background-color: #BB8757;
height: 100px;
}
/* line 207, ../sass/_layout.scss */
/* line 212, ../sass/_layout.scss */
#footer .container {
padding: 0px;
}
/* line 209, ../sass/_layout.scss */
/* line 214, ../sass/_layout.scss */
#footer .container .overflow {
height: 30px;
background-color: white;
@@ -280,12 +285,12 @@ body {
border-right: solid 1px #e0e0e0;
border-bottom: solid 1px #e0e0e0;
}
/* line 217, ../sass/_layout.scss */
/* line 222, ../sass/_layout.scss */
#footer .container .content {
padding-top: 20px;
color: white;
}
/* line 221, ../sass/_layout.scss */
/* line 226, ../sass/_layout.scss */
#footer .container .content a {
color: white;
text-decoration: underline;

+ 5
- 0
producer/web/sass/_layout.scss Bestand weergeven

@@ -142,6 +142,11 @@ body {
border-bottom: solid 1px $color1 ;
@include border-radius(0px) ;
}
&#btn-administration {
background-color: $color2 ;
float: right ;
}
}
}

Laden…
Annuleren
Opslaan