Преглед на файлове

Merge branch 'feature/commande_modifiee' into dev

refactoring
keun преди 6 години
родител
ревизия
2d102ac77f
променени са 4 файла, в които са добавени 215 реда и са изтрити 168 реда
  1. +9
    -3
      backend/views/site/index.php
  2. Двоични данни
      backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/screen.scssc
  3. +185
    -165
      backend/web/css/screen.css
  4. +21
    -0
      backend/web/sass/screen.scss

+ 9
- 3
backend/views/site/index.php Целия файл

@@ -242,6 +242,7 @@ $this->title = 'Tableau de bord';
<thead>
<tr>
<th></th>
<th>Historique</th>
<th>Date</th>
<th>Client</th>
<th>Produits</th>
@@ -251,8 +252,14 @@ $this->title = 'Tableau de bord';
</thead>
<tbody>
<?php foreach($commandes as $c): ?>
<tr>
<td><?= $c->getStrType(true); ?></td>
<tr class="<?php if(!is_null($c->date_update)): ?>commande-update<?php endif; ?>">
<td class="infos"><?= $c->getStrType(true); ?></td>
<td class="historique">
<div class="small"><span class="glyphicon glyphicon-plus"></span> Création <br /> <strong><?= date('d/m/Y à G\hi', strtotime($c->date)) ?></strong></div>
<?php if(!is_null($c->date_update)): ?>
<div class="small"><span class="update"><span class="glyphicon glyphicon-pencil"></span> Dernière modification</span><br /> <strong><?= date('d/m/Y à G\hi', strtotime($c->date_update)) ?></strong></div>
<?php endif; ?>
</td>
<td class="date">
<div class="bloc-date">
<div class="jour"><?= strftime('%A', strtotime($c->production->date)) ?></div>
@@ -262,7 +269,6 @@ $this->title = 'Tableau de bord';
</td>
<td>
<?= $c->getStrUser(); ?><br />
<span class="small">Le <?= date('d/m/Y à G\hi', strtotime($c->date)) ?></span>
</td>
<td><?= $c->getResumePanier() ; ?></td>
<td><?= $c->getResumePointVente() ; ?></td>

Двоични данни
backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/screen.scssc Целия файл


+ 185
- 165
backend/web/css/screen.css
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 21
- 0
backend/web/sass/screen.scss Целия файл

@@ -289,6 +289,13 @@ a {
}
#dernieres-commandes {
tr.commande-update {
td {
background-color: $color2 ;
}
}
.small, .localite {
font-size: 12px ;
color: gray ;
@@ -297,6 +304,20 @@ a {
font-size: 12px ;
}
td.historique {
min-width: 170px ;
.small {
margin-bottom: 7px ;
}
strong {
margin-left: 15px ;
}
.update {
color: $color1 ;
}
}
.date {
text-align: center ;

Loading…
Отказ
Запис