Browse Source

[Backend] Correctif assets + JS select établissement

refactoring
keun 6 years ago
parent
commit
36bee751fd
8 changed files with 216 additions and 196 deletions
  1. +2
    -0
      backend/views/layouts/main.php
  2. BIN
      backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/_fonts.scssc
  3. BIN
      backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/ie.scssc
  4. BIN
      backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/print.scssc
  5. BIN
      backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/screen.scssc
  6. +202
    -195
      backend/web/css/screen.css
  7. +7
    -1
      backend/web/js/lechatdesnoisettes.js
  8. +5
    -0
      backend/web/sass/screen.scss

+ 2
- 0
backend/views/layouts/main.php View File

/* @var $this \yii\web\View */ /* @var $this \yii\web\View */
/* @var $content string */ /* @var $content string */


\common\assets\CommonAsset::register($this);
\backend\assets\AppAsset::register($this); \backend\assets\AppAsset::register($this);


?> ?>
<head> <head>
<meta charset="<?= Yii::$app->charset ?>"> <meta charset="<?= Yii::$app->charset ?>">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="baseurl" content="<?= Yii::$app->urlManagerBackend->baseUrl ; ?>">
<link rel="icon" type="image/png" href="<?php echo Yii::$app->urlManager->getBaseUrl(); ?>/img/favicon3.png" /> <link rel="icon" type="image/png" href="<?php echo Yii::$app->urlManager->getBaseUrl(); ?>/img/favicon3.png" />
<?= Html::csrfMetaTags() ?> <?= Html::csrfMetaTags() ?>
<title><?= Html::encode($this->title) ?> - La boîte à pain</title> <title><?= Html::encode($this->title) ?> - La boîte à pain</title>

BIN
backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/_fonts.scssc View File


BIN
backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/ie.scssc View File


BIN
backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/print.scssc View File


BIN
backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/screen.scssc View File


+ 202
- 195
backend/web/css/screen.css
File diff suppressed because it is too large
View File


+ 7
- 1
backend/web/js/lechatdesnoisettes.js View File

chat_select_etablissement() ; chat_select_etablissement() ;
}) ; }) ;


var UrlManager = {
getBaseUrl: function() {
return $('meta[name=baseurl]').attr('content') ;
}
};

function chat_tooltip() { function chat_tooltip() {
$('[data-toggle="tooltip"]').tooltip(); $('[data-toggle="tooltip"]').tooltip();
} }


function chat_select_etablissement() { function chat_select_etablissement() {
$('select[name="select_etablissement"]').change(function() { $('select[name="select_etablissement"]').change(function() {
window.location.href = 'index.php?r=site/change-etablissement&id='+$(this).val() ;
window.location.href = UrlManager.getBaseUrl()+'/site/change-etablissement?id='+$(this).val() ;
}) ; }) ;
} }



+ 5
- 0
backend/web/sass/screen.scss View File

.wrap { .wrap {
.btn-primary, .btn-primary,
.btn-success { .btn-success {
background: none ;
background-color: $color1 ; background-color: $color1 ;
border: solid 1px $color1 ; border: solid 1px $color1 ;


} }


.navbar-inverse { .navbar-inverse {
background: none;
background-color: $color1 ; background-color: $color1 ;
border-bottom: 0px none ; border-bottom: 0px none ;
.navbar-nav > li.active, .navbar-nav > li.active,
.navbar-nav > .open { .navbar-nav > .open {
a { a {
background: none ;
@include box-shadow(none) ;
@include text-shadow(none) ;
margin-left: 3px ; margin-left: 3px ;
background-color: $color2 ; background-color: $color2 ;
color: $color1 ; color: $color1 ;

Loading…
Cancel
Save