Browse Source

Rafraichir le backend (ajout d'icones dans le header, amélioration des listes de produits, points de vente etc.)

master
keun 8 years ago
parent
commit
bd222dff79
73 changed files with 199 additions and 109 deletions
  1. +21
    -18
      backend/controllers/ProduitController.php
  2. +13
    -9
      backend/views/layouts/main.php
  3. +20
    -14
      backend/views/point-vente/index.php
  4. +43
    -18
      backend/views/produit/index.php
  5. +22
    -24
      backend/views/user/index.php
  6. BIN
      backend/web/.sass-cache/04a574b9dcb788863f265d0854fa0662dfc4ec26/_base.scssc
  7. BIN
      backend/web/.sass-cache/04a574b9dcb788863f265d0854fa0662dfc4ec26/_sprite-img.scssc
  8. BIN
      backend/web/.sass-cache/23d5ef384c29bd24badd6f68776d8714160be6c3/_compass.scssc
  9. BIN
      backend/web/.sass-cache/34d6b06780dc1bc120d2fb8126ac6e6373b8cb85/_hover-link.scssc
  10. BIN
      backend/web/.sass-cache/34d6b06780dc1bc120d2fb8126ac6e6373b8cb85/_link-colors.scssc
  11. BIN
      backend/web/.sass-cache/34d6b06780dc1bc120d2fb8126ac6e6373b8cb85/_unstyled-link.scssc
  12. BIN
      backend/web/.sass-cache/6df777ee3b65b7516d0ac997dcd3c1fd4e01d050/_css3.scssc
  13. BIN
      backend/web/.sass-cache/6df777ee3b65b7516d0ac997dcd3c1fd4e01d050/_support.scssc
  14. BIN
      backend/web/.sass-cache/6df777ee3b65b7516d0ac997dcd3c1fd4e01d050/_typography.scssc
  15. BIN
      backend/web/.sass-cache/6df777ee3b65b7516d0ac997dcd3c1fd4e01d050/_utilities.scssc
  16. BIN
      backend/web/.sass-cache/7f14bd7ad205d2fe0408374db7f1af8534773a39/_alternating-rows-and-columns.scssc
  17. BIN
      backend/web/.sass-cache/7f14bd7ad205d2fe0408374db7f1af8534773a39/_borders.scssc
  18. BIN
      backend/web/.sass-cache/7f14bd7ad205d2fe0408374db7f1af8534773a39/_scaffolding.scssc
  19. BIN
      backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_clearfix.scssc
  20. BIN
      backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_float.scssc
  21. BIN
      backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_hacks.scssc
  22. BIN
      backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_min.scssc
  23. BIN
      backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_reset.scssc
  24. BIN
      backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_tag-cloud.scssc
  25. BIN
      backend/web/.sass-cache/968647386db2a8391c43e3caac39c31d385ffd1a/_color.scssc
  26. BIN
      backend/web/.sass-cache/968647386db2a8391c43e3caac39c31d385ffd1a/_general.scssc
  27. BIN
      backend/web/.sass-cache/968647386db2a8391c43e3caac39c31d385ffd1a/_sprites.scssc
  28. BIN
      backend/web/.sass-cache/968647386db2a8391c43e3caac39c31d385ffd1a/_tables.scssc
  29. BIN
      backend/web/.sass-cache/9e5e64a19dcc48d5a907402d44291a30c3e7e94b/_ellipsis.scssc
  30. BIN
      backend/web/.sass-cache/9e5e64a19dcc48d5a907402d44291a30c3e7e94b/_force-wrap.scssc
  31. BIN
      backend/web/.sass-cache/9e5e64a19dcc48d5a907402d44291a30c3e7e94b/_nowrap.scssc
  32. BIN
      backend/web/.sass-cache/9e5e64a19dcc48d5a907402d44291a30c3e7e94b/_replacement.scssc
  33. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_animation.scssc
  34. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_appearance.scssc
  35. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_background-clip.scssc
  36. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_background-origin.scssc
  37. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_background-size.scssc
  38. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_border-radius.scssc
  39. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_box-shadow.scssc
  40. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_box-sizing.scssc
  41. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_columns.scssc
  42. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_deprecated-support.scssc
  43. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_filter.scssc
  44. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_flexbox.scssc
  45. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_font-face.scssc
  46. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_hyphenation.scssc
  47. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_images.scssc
  48. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_inline-block.scssc
  49. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_opacity.scssc
  50. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_regions.scssc
  51. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_text-shadow.scssc
  52. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_transform.scssc
  53. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_transition.scssc
  54. BIN
      backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_user-interface.scssc
  55. BIN
      backend/web/.sass-cache/b7214e687b1e7e64010120db4cced0edfb47477b/_bullets.scssc
  56. BIN
      backend/web/.sass-cache/b7214e687b1e7e64010120db4cced0edfb47477b/_horizontal-list.scssc
  57. BIN
      backend/web/.sass-cache/b7214e687b1e7e64010120db4cced0edfb47477b/_inline-block-list.scssc
  58. BIN
      backend/web/.sass-cache/b7214e687b1e7e64010120db4cced0edfb47477b/_inline-list.scssc
  59. BIN
      backend/web/.sass-cache/c72ca4cb11b5180ff6addaf61bd8a5812fcc77ef/_brightness.scssc
  60. BIN
      backend/web/.sass-cache/c72ca4cb11b5180ff6addaf61bd8a5812fcc77ef/_contrast.scssc
  61. BIN
      backend/web/.sass-cache/c8fef7d48da4dc7f024edc2b0fada9d8d6de5dac/ie.scssc
  62. BIN
      backend/web/.sass-cache/c8fef7d48da4dc7f024edc2b0fada9d8d6de5dac/print.scssc
  63. BIN
      backend/web/.sass-cache/c8fef7d48da4dc7f024edc2b0fada9d8d6de5dac/screen.scssc
  64. BIN
      backend/web/.sass-cache/cc5c8cad7c31fa45a998a22ca5156cd3c8ae244e/_grid-background.scssc
  65. BIN
      backend/web/.sass-cache/ccbaed75e65ce9506ff5cd281367a2316dbd3082/_utilities.scssc
  66. BIN
      backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_links.scssc
  67. BIN
      backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_lists.scssc
  68. BIN
      backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_text.scssc
  69. BIN
      backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_units.scssc
  70. BIN
      backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_vertical_rhythm.scssc
  71. +50
    -26
      backend/web/css/screen.css
  72. +29
    -0
      backend/web/sass/screen.scss
  73. +1
    -0
      common/config/main.php

+ 21
- 18
backend/controllers/ProduitController.php View File

'class' => AccessControl::className(), 'class' => AccessControl::className(),
'rules' => [ 'rules' => [
[ [
'allow' => true,
'allow' => true,
'roles' => ['@'], 'roles' => ['@'],
'matchCallback' => function ($rule, $action) {
return Yii::$app->user->identity->status == USER::STATUS_ADMIN ;
'matchCallback' => function ($rule, $action) {
return Yii::$app->user->identity->status == USER::STATUS_ADMIN ;
} }
] ]
], ],
{ {
$dataProvider = new ActiveDataProvider([ $dataProvider = new ActiveDataProvider([
'query' => Produit::find()->where('(vrac IS NULL OR vrac = 0)')->orderBy('order ASC'), 'query' => Produit::find()->where('(vrac IS NULL OR vrac = 0)')->orderBy('order ASC'),
'pagination' => [
'pageSize' => 1000,
],
]); ]);


return $this->render('index', [ return $this->render('index', [
$model = new Produit(); $model = new Produit();


if ($model->load(Yii::$app->request->post()) && $model->save()) { if ($model->load(Yii::$app->request->post()) && $model->save()) {
self::uploadFile($model, 'illustration') ;
self::uploadFile($model, 'illustration') ;
self::uploadFile($model, 'photo') ; self::uploadFile($model, 'photo') ;
// on ajoute un enregistrement ProductionProduit pour chaque production // on ajoute un enregistrement ProductionProduit pour chaque production
$model->save() ; $model->save() ;
} }
$delete_photo = $request->post('delete_photo',0) ;
if($delete_photo) {
$model->photo = '' ;
$model->save() ;
$delete_photo = $request->post('delete_photo',0) ;
if($delete_photo) {
$model->photo = '' ;
$model->save() ;
} }
return $this->redirect(['index']); return $this->redirect(['index']);
} }
public static function uploadFile($model, $champs, $filename_old = '') { public static function uploadFile($model, $champs, $filename_old = '') {
$file = UploadedFile::getInstance($model, $champs);
if($file) {
$file_name = $file->baseName.'-'.uniqid().'.' . $file->extension ;
$file->saveAs('../../frontend/web/uploads/' . $file_name);
$model->$champs = $file_name ;
}
else {
$model->$champs = $filename_old ;
}
$file = UploadedFile::getInstance($model, $champs);
if($file) {
$file_name = $file->baseName.'-'.uniqid().'.' . $file->extension ;
$file->saveAs('../../frontend/web/uploads/' . $file_name);
$model->$champs = $file_name ;
}
else {
$model->$champs = $filename_old ;
}
$model->save() ; $model->save() ;
} }



+ 13
- 9
backend/views/layouts/main.php View File

<div class="wrap"> <div class="wrap">
<?php <?php
NavBar::begin([ NavBar::begin([
'brandLabel' => 'Le Chat des Noisettes',
'brandLabel' => '<span class="glyphicon glyphicon-home"></span>',
'brandUrl' => Yii::$app->homeUrl, 'brandUrl' => Yii::$app->homeUrl,
'options' => [ 'options' => [
'class' => 'navbar-inverse navbar-fixed-top',
'class' => 'navbar-inverse navbar-fixed-top nav-header',
], ],
]); ]);
$menuItems = [ $menuItems = [
['label' => 'Production', 'url' => ['/commande/index'], 'visible'=> !Yii::$app->user->isGuest],
['label' => 'Pain', 'url' => ['/produit/index'], 'visible'=> !Yii::$app->user->isGuest],
['label' => 'Vrac', 'url' => ['/vrac/index'], 'visible'=> !Yii::$app->user->isGuest],
['label' => 'Points de vente', 'url' => ['/point-vente/index'], 'visible'=> !Yii::$app->user->isGuest],
['label' => 'Utilisateurs', 'url' => ['/user/index'], 'visible'=> !Yii::$app->user->isGuest],
['label' => 'Statistiques', 'url' => ['/stats/index'], 'visible'=> !Yii::$app->user->isGuest],
['label' => '<span class="glyphicon glyphicon-calendar"></span> Production', 'url' => ['/commande/index'], 'visible'=> !Yii::$app->user->isGuest],
['label' => '<span class="glyphicon glyphicon-grain"></span> Produits', 'url' => ['/produit/index'], 'visible'=> !Yii::$app->user->isGuest],
['label' => '<span class="glyphicon glyphicon-map-marker"></span> Points de vente', 'url' => ['/point-vente/index'], 'visible'=> !Yii::$app->user->isGuest],
['label' => '<span class="glyphicon glyphicon-user"></span> Utilisateurs', 'url' => ['/user/index'], 'visible'=> !Yii::$app->user->isGuest],
//['label' => 'Statistiques', 'url' => ['/stats/index'], 'visible'=> !Yii::$app->user->isGuest],
]; ];
if (Yii::$app->user->isGuest) { if (Yii::$app->user->isGuest) {
$menuItems[] = ['label' => 'Connexion', 'url' => ['/site/login']]; $menuItems[] = ['label' => 'Connexion', 'url' => ['/site/login']];
} else { } else {
$menuItems[] = [ $menuItems[] = [
'label' => 'Déconnexion (' . Yii::$app->user->identity->username . ')',
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion',
'url' => ['/site/logout'], 'url' => ['/site/logout'],
'linkOptions' => ['data-method' => 'post'] 'linkOptions' => ['data-method' => 'post']
]; ];
$menuItems[] = [
'label' => '<span class="retour-site">Retour sur le site</span>',
'url' => '../../frontend/web/',
];
} }
echo Nav::widget([ echo Nav::widget([
'options' => ['class' => 'navbar-nav navbar-right'], 'options' => ['class' => 'navbar-nav navbar-right'],
'items' => $menuItems, 'items' => $menuItems,
'encodeLabels' => false
]); ]);
NavBar::end(); NavBar::end();
?> ?>

+ 20
- 14
backend/views/point-vente/index.php View File

/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */ /* @var $dataProvider yii\data\ActiveDataProvider */


$this->title = 'Point Ventes';
$this->title = 'Points de vente';
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="point-vente-index"> <div class="point-vente-index">


<h1><?= Html::encode($this->title) ?></h1>

<p>
<?= Html::a('Create Point Vente', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<h1><?= Html::encode($this->title) ?> <?= Html::a('Ajouter', ['create'], ['class' => 'btn btn-success']) ?></h1>


<?= GridView::widget([ <?= GridView::widget([
'dataProvider' => $dataProvider, 'dataProvider' => $dataProvider,
'columns' => [ 'columns' => [
//['class' => 'yii\grid\SerialColumn'],

//'id',
'nom', 'nom',
'localite',
//'point_fabrication',
//'adresse:ntext',

['class' => 'yii\grid\ActionColumn'],
'localite',
[
'class' => 'yii\grid\ActionColumn',
'template' => '{update} {delete}',
'headerOptions' => ['class' => 'actions'],
'buttons' => [
'update' => function ($url, $model) {
return Html::a('<span class="glyphicon glyphicon-pencil"></span> Modifier', $url, [
'title' => Yii::t('app', 'Modifier'), 'class' => 'btn btn-default'
]);
},
'delete' => function ($url, $model) {
return Html::a('<span class="glyphicon glyphicon-trash"></span> Suprimer', $url, [
'title' => Yii::t('app', 'Supprimer'), 'class' => 'btn btn-default'
]);
}
],
],
], ],
]); ?> ]); ?>



+ 43
- 18
backend/views/produit/index.php View File

?> ?>
<div class="produit-index"> <div class="produit-index">


<h1><?= Html::encode($this->title) ?></h1>

<p>
<?= Html::a('Create Produit', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<h1><?= Html::encode($this->title) ?> <?= Html::a('Ajouter', ['create'], ['class' => 'btn btn-success']) ?></h1>


<?= GridView::widget([ <?= GridView::widget([
'dataProvider' => $dataProvider, 'dataProvider' => $dataProvider,
'columns' => [ 'columns' => [
//['class' => 'yii\grid\SerialColumn'],

'order',
'diminutif',
[
'attribute' => 'order',
'headerOptions' => ['class' => 'order'],
'format' => 'raw',
'value' => function($model) {
return '<a class="btn-order btn btn-default" href="javascript:void(0);"><span class="glyphicon glyphicon-resize-vertical"></span></a>' ;
}
],
'diminutif',
'nom', 'nom',
//'description',
//'actif',
//'illustration',
// 'photo',
'saison',
// 'prix',
// 'poids',
'actif',
['class' => 'yii\grid\ActionColumn'],
[
'attribute' => 'actif',
'headerOptions' => ['class' => 'actif'],
'contentOptions' => ['class' => 'center'],
'format' => 'raw',
'value' => function($model) {
if($model->actif)
{
return '<span class="label label-success">oui</span>' ;
}
else {
return '<span class="label label-danger">non</span>' ;
}
}
],
[
'class' => 'yii\grid\ActionColumn',
'template' => '{update} {delete}',
'headerOptions' => ['class' => 'actions'],
'buttons' => [
'update' => function ($url, $model) {
return Html::a('<span class="glyphicon glyphicon-pencil"></span> Modifier', $url, [
'title' => Yii::t('app', 'Modifier'), 'class' => 'btn btn-default'
]);
},
'delete' => function ($url, $model) {
return Html::a('<span class="glyphicon glyphicon-trash"></span> Suprimer', $url, [
'title' => Yii::t('app', 'Supprimer'), 'class' => 'btn btn-default'
]);
}
],
],
], ],
]); ?> ]); ?>



+ 22
- 24
backend/views/user/index.php View File

?> ?>
<div class="user-index"> <div class="user-index">


<h1><?= Html::encode($this->title) ?></h1>

<p>
<?= Html::a('Ajouter un utilisateur', ['create'], ['class' => 'btn btn-success']) ?>
<?= Html::a('<span class="glyphicon glyphicon-envelope"></span> Liste des emails', ['mail'], ['class' => 'btn btn-default']) ?>
</p>
<h1><?= Html::encode($this->title) ?> <?= Html::a('Ajouter', ['create'], ['class' => 'btn btn-success']) ?> <?= Html::a('<span class="glyphicon glyphicon-envelope"></span> Liste des emails', ['mail'], ['class' => 'btn btn-default']) ?></h1>


<?= GridView::widget([ <?= GridView::widget([
'dataProvider' => $dataProvider, 'dataProvider' => $dataProvider,
'columns' => [ 'columns' => [
//['class' => 'yii\grid\SerialColumn'],

//'id',
//'username',
//'auth_key',
//'password_hash',
//'password_reset_token',
// 'email:email',
// 'status',
// 'created_at',
// 'updated_at',
'nom',
'prenom',
//'telephone',
//'email',
//'confiance',

['class' => 'yii\grid\ActionColumn'],
'nom',
'prenom',
'telephone',
'email',
[
'class' => 'yii\grid\ActionColumn',
'template' => '{update} {delete}',
'headerOptions' => ['class' => 'actions'],
'buttons' => [
'update' => function ($url, $model) {
return Html::a('<span class="glyphicon glyphicon-pencil"></span> Modifier', $url, [
'title' => Yii::t('app', 'Modifier'), 'class' => 'btn btn-default'
]);
},
'delete' => function ($url, $model) {
return Html::a('<span class="glyphicon glyphicon-trash"></span> Suprimer', $url, [
'title' => Yii::t('app', 'Supprimer'), 'class' => 'btn btn-default'
]);
}
],
],
], ],
]); ?> ]); ?>



BIN
backend/web/.sass-cache/04a574b9dcb788863f265d0854fa0662dfc4ec26/_base.scssc View File


BIN
backend/web/.sass-cache/04a574b9dcb788863f265d0854fa0662dfc4ec26/_sprite-img.scssc View File


BIN
backend/web/.sass-cache/23d5ef384c29bd24badd6f68776d8714160be6c3/_compass.scssc View File


BIN
backend/web/.sass-cache/34d6b06780dc1bc120d2fb8126ac6e6373b8cb85/_hover-link.scssc View File


BIN
backend/web/.sass-cache/34d6b06780dc1bc120d2fb8126ac6e6373b8cb85/_link-colors.scssc View File


BIN
backend/web/.sass-cache/34d6b06780dc1bc120d2fb8126ac6e6373b8cb85/_unstyled-link.scssc View File


BIN
backend/web/.sass-cache/6df777ee3b65b7516d0ac997dcd3c1fd4e01d050/_css3.scssc View File


BIN
backend/web/.sass-cache/6df777ee3b65b7516d0ac997dcd3c1fd4e01d050/_support.scssc View File


BIN
backend/web/.sass-cache/6df777ee3b65b7516d0ac997dcd3c1fd4e01d050/_typography.scssc View File


BIN
backend/web/.sass-cache/6df777ee3b65b7516d0ac997dcd3c1fd4e01d050/_utilities.scssc View File


BIN
backend/web/.sass-cache/7f14bd7ad205d2fe0408374db7f1af8534773a39/_alternating-rows-and-columns.scssc View File


BIN
backend/web/.sass-cache/7f14bd7ad205d2fe0408374db7f1af8534773a39/_borders.scssc View File


BIN
backend/web/.sass-cache/7f14bd7ad205d2fe0408374db7f1af8534773a39/_scaffolding.scssc View File


BIN
backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_clearfix.scssc View File


BIN
backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_float.scssc View File


BIN
backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_hacks.scssc View File


BIN
backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_min.scssc View File


BIN
backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_reset.scssc View File


BIN
backend/web/.sass-cache/8c788c8b1d8fa906da36196695c6206e2aef9fe6/_tag-cloud.scssc View File


BIN
backend/web/.sass-cache/968647386db2a8391c43e3caac39c31d385ffd1a/_color.scssc View File


BIN
backend/web/.sass-cache/968647386db2a8391c43e3caac39c31d385ffd1a/_general.scssc View File


BIN
backend/web/.sass-cache/968647386db2a8391c43e3caac39c31d385ffd1a/_sprites.scssc View File


BIN
backend/web/.sass-cache/968647386db2a8391c43e3caac39c31d385ffd1a/_tables.scssc View File


BIN
backend/web/.sass-cache/9e5e64a19dcc48d5a907402d44291a30c3e7e94b/_ellipsis.scssc View File


BIN
backend/web/.sass-cache/9e5e64a19dcc48d5a907402d44291a30c3e7e94b/_force-wrap.scssc View File


BIN
backend/web/.sass-cache/9e5e64a19dcc48d5a907402d44291a30c3e7e94b/_nowrap.scssc View File


BIN
backend/web/.sass-cache/9e5e64a19dcc48d5a907402d44291a30c3e7e94b/_replacement.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_animation.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_appearance.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_background-clip.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_background-origin.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_background-size.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_border-radius.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_box-shadow.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_box-sizing.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_columns.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_deprecated-support.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_filter.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_flexbox.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_font-face.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_hyphenation.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_images.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_inline-block.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_opacity.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_regions.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_text-shadow.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_transform.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_transition.scssc View File


BIN
backend/web/.sass-cache/af1289ca7f010b3d69f8884f2e2c729a035d2186/_user-interface.scssc View File


BIN
backend/web/.sass-cache/b7214e687b1e7e64010120db4cced0edfb47477b/_bullets.scssc View File


BIN
backend/web/.sass-cache/b7214e687b1e7e64010120db4cced0edfb47477b/_horizontal-list.scssc View File


BIN
backend/web/.sass-cache/b7214e687b1e7e64010120db4cced0edfb47477b/_inline-block-list.scssc View File


BIN
backend/web/.sass-cache/b7214e687b1e7e64010120db4cced0edfb47477b/_inline-list.scssc View File


BIN
backend/web/.sass-cache/c72ca4cb11b5180ff6addaf61bd8a5812fcc77ef/_brightness.scssc View File


BIN
backend/web/.sass-cache/c72ca4cb11b5180ff6addaf61bd8a5812fcc77ef/_contrast.scssc View File


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


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


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


BIN
backend/web/.sass-cache/cc5c8cad7c31fa45a998a22ca5156cd3c8ae244e/_grid-background.scssc View File


BIN
backend/web/.sass-cache/ccbaed75e65ce9506ff5cd281367a2316dbd3082/_utilities.scssc View File


BIN
backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_links.scssc View File


BIN
backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_lists.scssc View File


BIN
backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_text.scssc View File


BIN
backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_units.scssc View File


BIN
backend/web/.sass-cache/dff6a38c198f5bc43f7761ba34bd2f77c7ae40c3/_vertical_rhythm.scssc View File


+ 50
- 26
backend/web/css/screen.css View File

clear: both; clear: both;
} }


/* line 14, ../sass/screen.scss */
/* line 13, ../sass/screen.scss */
.nav-header .retour-site {
border-left: solid 1px #9d9d9d;
padding: 10px 15px;
}

/* line 23, ../sass/screen.scss */
.table thead th.actions {
width: 220px;
}
/* line 26, ../sass/screen.scss */
.table thead th.order {
width: 58px;
}
/* line 29, ../sass/screen.scss */
.table thead th.actif {
width: 75px;
text-align: center;
}
/* line 35, ../sass/screen.scss */
.table tbody td.center {
text-align: center;
}

/* line 43, ../sass/screen.scss */
#page-commande h1 .btn-group { #page-commande h1 .btn-group {
float: right; float: right;
} }
/* line 19, ../sass/screen.scss */
/* line 48, ../sass/screen.scss */
#page-commande #jours-production { #page-commande #jours-production {
display: none; display: none;
} }
/* line 24, ../sass/screen.scss */
/* line 53, ../sass/screen.scss */
#page-commande #calendar .fc-header-title { #page-commande #calendar .fc-header-title {
margin-left: 10px; margin-left: 10px;
} }
/* line 30, ../sass/screen.scss */
/* line 59, ../sass/screen.scss */
#page-commande #calendar .dayWithEvent { #page-commande #calendar .dayWithEvent {
background-color: #fee48d; background-color: #fee48d;
cursor: pointer; cursor: pointer;
} }
/* line 34, ../sass/screen.scss */
/* line 63, ../sass/screen.scss */
#page-commande #calendar .fc-event-container { #page-commande #calendar .fc-event-container {
display: none; display: none;
} }
/* line 35, ../sass/screen.scss */
/* line 64, ../sass/screen.scss */
#page-commande #calendar .fc-today { #page-commande #calendar .fc-today {
border-bottom: solid 1px #C9302C; border-bottom: solid 1px #C9302C;
background-color: white; background-color: white;
} }
/* line 39, ../sass/screen.scss */
/* line 68, ../sass/screen.scss */
#page-commande #calendar .fc-today.dayWithEvent { #page-commande #calendar .fc-today.dayWithEvent {
background-color: #fee48d; background-color: #fee48d;
} }
/* line 44, ../sass/screen.scss */
/* line 73, ../sass/screen.scss */
#page-commande #calendar .fc-day { #page-commande #calendar .fc-day {
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
} }
/* line 47, ../sass/screen.scss */
/* line 76, ../sass/screen.scss */
#page-commande #calendar .fc-day:hover { #page-commande #calendar .fc-day:hover {
-moz-box-shadow: 0px 0px 2px black inset; -moz-box-shadow: 0px 0px 2px black inset;
-webkit-box-shadow: 0px 0px 2px black inset; -webkit-box-shadow: 0px 0px 2px black inset;
box-shadow: 0px 0px 2px black inset; box-shadow: 0px 0px 2px black inset;
} }
/* line 52, ../sass/screen.scss */
/* line 81, ../sass/screen.scss */
#page-commande #calendar .current-date { #page-commande #calendar .current-date {
-moz-box-shadow: 0px 0px 2px black inset; -moz-box-shadow: 0px 0px 2px black inset;
-webkit-box-shadow: 0px 0px 2px black inset; -webkit-box-shadow: 0px 0px 2px black inset;
box-shadow: 0px 0px 2px black inset; box-shadow: 0px 0px 2px black inset;
} }
/* line 56, ../sass/screen.scss */
/* line 85, ../sass/screen.scss */
#page-commande #calendar .fc-day-number { #page-commande #calendar .fc-day-number {
float: none; float: none;
padding-top: 2px; padding-top: 2px;
} }
/* line 63, ../sass/screen.scss */
/* line 92, ../sass/screen.scss */
#page-commande #produits-production input.quantite-max { #page-commande #produits-production input.quantite-max {
background-color: white; background-color: white;
border: 1px solid #e0e0e0; border: 1px solid #e0e0e0;
text-align: center; text-align: center;
width: 50px; width: 50px;
} }
/* line 71, ../sass/screen.scss */
/* line 100, ../sass/screen.scss */
#page-commande .form-commandes-point-vente { #page-commande .form-commandes-point-vente {
margin-top: 20px; margin-top: 20px;
} }
/* line 75, ../sass/screen.scss */
/* line 104, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .title-point-vente { #page-commande .form-commandes-point-vente .title-point-vente {
background-color: #fff8e2; background-color: #fff8e2;
border-left: solid 3px #fdd44b; border-left: solid 3px #fdd44b;
font-weight: bold; font-weight: bold;
} }
/* line 81, ../sass/screen.scss */
/* line 110, ../sass/screen.scss */
#page-commande .form-commandes-point-vente input.quantite { #page-commande .form-commandes-point-vente input.quantite {
width: 50px; width: 50px;
background-color: white; background-color: white;
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
text-align: center; text-align: center;
} }
/* line 88, ../sass/screen.scss */
/* line 117, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .td-produit { #page-commande .form-commandes-point-vente .td-produit {
text-align: center; text-align: center;
} }
/* line 92, ../sass/screen.scss */
/* line 121, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .submit-pv { #page-commande .form-commandes-point-vente .submit-pv {
float: right; float: right;
} }
/* line 96, ../sass/screen.scss */
/* line 125, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .select-user { #page-commande .form-commandes-point-vente .select-user {
background-color: #F9F9F9; background-color: #F9F9F9;
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
} }
/* line 101, ../sass/screen.scss */
/* line 130, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .date-commande { #page-commande .form-commandes-point-vente .date-commande {
font-size: 12px; font-size: 12px;
} }
/* line 105, ../sass/screen.scss */
/* line 134, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .datepicker, #page-commande .form-commandes-point-vente .text { #page-commande .form-commandes-point-vente .datepicker, #page-commande .form-commandes-point-vente .text {
background-color: white; background-color: white;
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
margin-top: 3px; margin-top: 3px;
width: 100px; width: 100px;
} }
/* line 113, ../sass/screen.scss */
/* line 142, ../sass/screen.scss */
#page-commande .form-commandes-point-vente td.center { #page-commande .form-commandes-point-vente td.center {
text-align: center; text-align: center;
} }
/* line 117, ../sass/screen.scss */
/* line 146, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .depasse { #page-commande .form-commandes-point-vente .depasse {
color: #b32815; color: #b32815;
} }
/* line 121, ../sass/screen.scss */
/* line 150, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .total strong span { #page-commande .form-commandes-point-vente .total strong span {
font-weight: normal; font-weight: normal;
font-size: 13px; font-size: 13px;
} }
/* line 126, ../sass/screen.scss */
/* line 155, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .vrac { #page-commande .form-commandes-point-vente .vrac {
display: none; display: none;
} }


/* line 138, ../sass/screen.scss */
/* line 167, ../sass/screen.scss */
#email-masse-form #ids-users { #email-masse-form #ids-users {
line-height: 30px; line-height: 30px;
} }
/* line 140, ../sass/screen.scss */
/* line 169, ../sass/screen.scss */
#email-masse-form #ids-users .label { #email-masse-form #ids-users .label {
text-transform: capitalize; text-transform: capitalize;
} }

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

clear: both ; clear: both ;
} }


.nav-header {
.retour-site {
//color: #9d9d9d ;
border-left : solid 1px #9d9d9d ;
//@include border-radius(5px) ;
padding: 10px 15px ;
}
}

.table {
thead {
th.actions {
width: 220px ;
}
th.order {
width: 58px ;
}
th.actif {
width: 75px ;
text-align: center;
}
}
tbody {
td.center {
text-align: center ;
}
}
}

#page-commande { #page-commande {
h1 { h1 {
.btn-group { .btn-group {

+ 1
- 0
common/config/main.php View File

'class' => 'yii\caching\FileCache', 'class' => 'yii\caching\FileCache',
], ],
], ],
'language' => 'fr-FR',
]; ];

Loading…
Cancel
Save