Quellcode durchsuchen

Merge branch 'feature/commande_modifiee' into dev

refactoring
keun vor 6 Jahren
Ursprung
Commit
2d102ac77f
4 geänderte Dateien mit 215 neuen und 168 gelöschten Zeilen
  1. +9
    -3
      backend/views/site/index.php
  2. BIN
      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 Datei anzeigen

@@ -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>

BIN
backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/screen.scssc Datei anzeigen


+ 185
- 165
backend/web/css/screen.css
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 21
- 0
backend/web/sass/screen.scss Datei anzeigen

@@ -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 ;

Laden…
Abbrechen
Speichern