Browse Source

[backend] Amélioration du bouton "Nouveau [Modèle]" dans le header des sections

dev
Guillaume Bourgeois 5 years ago
parent
commit
c7198822fa
8 changed files with 37 additions and 33 deletions
  1. +1
    -1
      backend/views/development/index.php
  2. +1
    -1
      backend/views/point-sale/index.php
  3. +1
    -1
      backend/views/producer-admin/index.php
  4. +1
    -1
      backend/views/product/index.php
  5. +1
    -1
      backend/views/subscription/index.php
  6. +1
    -1
      backend/views/user/index.php
  7. +27
    -25
      backend/web/css/screen.css
  8. +4
    -2
      backend/web/sass/_adminlte.scss

+ 1
- 1
backend/views/development/index.php View File

use common\helpers\Url; use common\helpers\Url;


$this->setTitle('Développement') ; $this->setTitle('Développement') ;
$this->addButton(['label' => '+', 'url' => ['development/create'], 'class' => 'btn btn-primary']) ;
$this->addButton(['label' => 'Nouveau développement <span class="glyphicon glyphicon-plus"></span>', 'url' => ['development/create'], 'class' => 'btn btn-primary']) ;
$this->addBreadcrumb($this->getTitle()) ; $this->addBreadcrumb($this->getTitle()) ;


?> ?>

+ 1
- 1
backend/views/point-sale/index.php View File



$this->setTitle('Points de vente') ; $this->setTitle('Points de vente') ;
$this->addBreadcrumb($this->getTitle()) ; $this->addBreadcrumb($this->getTitle()) ;
$this->addButton(['label' => '+', 'url' => 'point-sale/create', 'class' => 'btn btn-primary']) ;
$this->addButton(['label' => 'Nouveau point de vente <span class="glyphicon glyphicon-plus"></span>', 'url' => 'point-sale/create', 'class' => 'btn btn-primary']) ;


?> ?>



+ 1
- 1
backend/views/producer-admin/index.php View File



$this->setTitle('Producteurs') ; $this->setTitle('Producteurs') ;
$this->addBreadcrumb($this->getTitle()) ; $this->addBreadcrumb($this->getTitle()) ;
$this->addButton(['label' => '+', 'url' => 'producer-admin/create', 'class' => 'btn btn-primary']) ;
$this->addButton(['label' => 'Nouveau producteur <span class="glyphicon glyphicon-plus"></span>', 'url' => 'producer-admin/create', 'class' => 'btn btn-primary']) ;


?> ?>



+ 1
- 1
backend/views/product/index.php View File



$this->setTitle('Produits') ; $this->setTitle('Produits') ;
$this->addBreadcrumb($this->getTitle()) ; $this->addBreadcrumb($this->getTitle()) ;
$this->addButton(['label' => '+', 'url' => 'product/create', 'class' => 'btn btn-primary']) ;
$this->addButton(['label' => 'Nouveau produit <span class="glyphicon glyphicon-plus"></span>', 'url' => 'product/create', 'class' => 'btn btn-primary']) ;


?> ?>



+ 1
- 1
backend/views/subscription/index.php View File



$this->setTitle('Abonnements') ; $this->setTitle('Abonnements') ;
$this->addBreadcrumb($this->getTitle()) ; $this->addBreadcrumb($this->getTitle()) ;
$this->addButton(['label' => '+', 'url' => 'subscription/create', 'class' => 'btn btn-success']) ;
$this->addButton(['label' => 'Nouvel abonnement <span class="glyphicon glyphicon-plus"></span>', 'url' => 'subscription/create', 'class' => 'btn btn-primary']) ;


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

+ 1
- 1
backend/views/user/index.php View File



$this->setTitle('Utilisateurs') ; $this->setTitle('Utilisateurs') ;
$this->addBreadcrumb($this->getTitle()) ; $this->addBreadcrumb($this->getTitle()) ;
$this->addButton(['label' => '+', 'url' => 'user/create', 'class' => 'btn btn-primary']) ;
$this->addButton(['label' => 'Nouvel utilisateur <span class="glyphicon glyphicon-plus"></span>', 'url' => 'user/create', 'class' => 'btn btn-primary']) ;


?> ?>



+ 27
- 25
backend/web/css/screen.css View File

/* line 100, ../sass/_adminlte.scss */ /* line 100, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .content-header .btn { body.skin-black .content-wrapper .content-header .btn {
padding: 3px 6px; padding: 3px 6px;
font-size: 13px;
font-size: 10px;
font-family: Arial;
text-transform: uppercase;
} }
/* line 105, ../sass/_adminlte.scss */
/* line 107, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .content-header h1 { body.skin-black .content-wrapper .content-header h1 {
font-family: "highvoltageregular"; font-family: "highvoltageregular";
} }
/* line 112, ../sass/_adminlte.scss */
/* line 114, ../sass/_adminlte.scss */
body.skin-black .content-wrapper a { body.skin-black .content-wrapper a {
color: #FF7F00; color: #FF7F00;
} }
/* line 116, ../sass/_adminlte.scss */
/* line 118, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .btn { body.skin-black .content-wrapper .btn {
color: white; color: white;
} }
/* line 120, ../sass/_adminlte.scss */
/* line 122, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .btn-default { body.skin-black .content-wrapper .btn-default {
color: #333; color: #333;
} }
/* line 124, ../sass/_adminlte.scss */
/* line 126, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .btn-primary { body.skin-black .content-wrapper .btn-primary {
background-color: #FF7F00; background-color: #FF7F00;
color: white; color: white;
border-color: #FF7F00; border-color: #FF7F00;
} }
/* line 131, ../sass/_adminlte.scss */
/* line 133, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .alert a { body.skin-black .content-wrapper .alert a {
color: white; color: white;
} }
/* line 134, ../sass/_adminlte.scss */
/* line 136, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .alert a.btn { body.skin-black .content-wrapper .alert a.btn {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
} }
/* line 141, ../sass/_adminlte.scss */
/* line 143, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .callout h4 .fa { body.skin-black .content-wrapper .callout h4 .fa {
margin-right: 7px; margin-right: 7px;
} }
/* line 144, ../sass/_adminlte.scss */
/* line 146, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .callout a { body.skin-black .content-wrapper .callout a {
color: white; color: white;
} }
/* line 147, ../sass/_adminlte.scss */
/* line 149, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .callout .btn { body.skin-black .content-wrapper .callout .btn {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
} }
/* line 154, ../sass/_adminlte.scss */
/* line 156, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .table th { body.skin-black .content-wrapper .table th {
font-size: 13px; font-size: 13px;
} }
/* line 157, ../sass/_adminlte.scss */
/* line 159, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .table th.column-actions, body.skin-black .content-wrapper .table td.column-actions { body.skin-black .content-wrapper .table th.column-actions, body.skin-black .content-wrapper .table td.column-actions {
width: 150px; width: 150px;
text-align: right; text-align: right;
} }
/* line 161, ../sass/_adminlte.scss */
/* line 163, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .table td.text-small, body.skin-black .content-wrapper .table th.text-small { body.skin-black .content-wrapper .table td.text-small, body.skin-black .content-wrapper .table th.text-small {
font-size: 12px; font-size: 12px;
} }
/* line 166, ../sass/_adminlte.scss */
/* line 168, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .pagination > .active > a, body.skin-black .content-wrapper .pagination > .active > span, body.skin-black .content-wrapper .pagination > .active > a:hover, body.skin-black .content-wrapper .pagination > .active > span:hover, body.skin-black .content-wrapper .pagination > .active > a:focus, body.skin-black .content-wrapper .pagination > .active > span:focus { body.skin-black .content-wrapper .pagination > .active > a, body.skin-black .content-wrapper .pagination > .active > span, body.skin-black .content-wrapper .pagination > .active > a:hover, body.skin-black .content-wrapper .pagination > .active > span:hover, body.skin-black .content-wrapper .pagination > .active > a:focus, body.skin-black .content-wrapper .pagination > .active > span:focus {
background-color: #FF7F00; background-color: #FF7F00;
border: solid 1px #FF7F00; border: solid 1px #FF7F00;
color: white; color: white;
} }
/* line 171, ../sass/_adminlte.scss */
/* line 173, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .pagination > li > a, body.skin-black .content-wrapper .pagination > li > span { body.skin-black .content-wrapper .pagination > li > a, body.skin-black .content-wrapper .pagination > li > span {
color: #FF7F00; color: #FF7F00;
} }
/* line 173, ../sass/_adminlte.scss */
/* line 175, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .pagination > li > a:hover, body.skin-black .content-wrapper .pagination > li > span:hover { body.skin-black .content-wrapper .pagination > li > a:hover, body.skin-black .content-wrapper .pagination > li > span:hover {
color: #cc6600; color: #cc6600;
} }
/* line 180, ../sass/_adminlte.scss */
/* line 182, ../sass/_adminlte.scss */
body.skin-black .main-footer a { body.skin-black .main-footer a {
color: #FF7F00; color: #FF7F00;
} }


/* line 186, ../sass/_adminlte.scss */
/* line 188, ../sass/_adminlte.scss */
body.login-page { body.login-page {
background: none; background: none;
background-color: white; background-color: white;
} }
/* line 190, ../sass/_adminlte.scss */
/* line 192, ../sass/_adminlte.scss */
body.login-page .login-box .login-logo { body.login-page .login-box .login-logo {
text-align: center; text-align: center;
font-family: "comfortaalight"; font-family: "comfortaalight";
} }
/* line 193, ../sass/_adminlte.scss */
/* line 195, ../sass/_adminlte.scss */
body.login-page .login-box .login-logo img { body.login-page .login-box .login-logo img {
width: 50px; width: 50px;
} }
/* line 198, ../sass/_adminlte.scss */
/* line 200, ../sass/_adminlte.scss */
body.login-page .login-box .login-box-body .btn-primary { body.login-page .login-box .login-box-body .btn-primary {
background-color: #FF7F00; background-color: #FF7F00;
border-color: #FF7F00; border-color: #FF7F00;
padding: 5px 10px; padding: 5px 10px;
} }
/* line 203, ../sass/_adminlte.scss */
/* line 205, ../sass/_adminlte.scss */
body.login-page .login-box .login-box-body .btn-primary:active { body.login-page .login-box .login-box-body .btn-primary:active {
background-color: #ff8c1a; background-color: #ff8c1a;
border-color: #FF7F00; border-color: #FF7F00;
} }
/* line 209, ../sass/_adminlte.scss */
/* line 211, ../sass/_adminlte.scss */
body.login-page .login-box .login-box-body a { body.login-page .login-box .login-box-body a {
color: #FF7F00; color: #FF7F00;
} }
/* line 211, ../sass/_adminlte.scss */
/* line 213, ../sass/_adminlte.scss */
body.login-page .login-box .login-box-body a:hover { body.login-page .login-box .login-box-body a:hover {
color: #ff8c1a; color: #ff8c1a;
} }

+ 4
- 2
backend/web/sass/_adminlte.scss View File

border-top: solid 1px #e0e0e0 ; border-top: solid 1px #e0e0e0 ;
.btn { .btn {
padding: 3px 6px ;
font-size: 13px ;
padding: 3px 6px;
font-size: 10px;
font-family: Arial;
text-transform: uppercase;
} }
h1 { h1 {

Loading…
Cancel
Save