Commit 77edc20b authored by Peter Tönnies's avatar Peter Tönnies

Merge branch '538-changed-icons-statistic-page'

parents e7d1a871 8eb28ceb
Pipeline #80632469 passed with stage
in 40 seconds
# Unreleased
- changed icons on statistic page !538 @henrikhertler
## Major changes
## Features
......
......@@ -18,30 +18,9 @@
}
.stat_icon {
display: inline-block;
background-image: url("/img/stat_badges.png");
background-repeat: no-repeat;
height: 96px;
margin: 0;
overflow: hidden;
padding: 0;
width: 96px;
}
.stat_icon.fetchcount {
background-position: -96px 0;
}
.stat_icon.korpcount {
background-position: -192px 0;
}
.stat_icon.fscount {
background-position: -288px 0;
}
.stat_icon.fetchweight {
background-position: 0 0;
color: #FFF;
font-size: 96px;
line-height: 220px;
}
.stat_text h4 {
......
......@@ -49,7 +49,9 @@ class StatisticsView extends View
<div id="stat_whole">
<div class="stat_item">
<div class="stat_badge">
<div class="stat_icon fetchweight"></div>
<div class="stat_icon fetchweight">
<i class="fas fa-apple-alt"></i>
</div>
</div>
<div class="stat_text">
<h4>' . number_format($stat['fetchweight'], 0, ',', '.') . '<span style="white-space:nowrap">&thinsp;</span>kg</h4>
......@@ -58,38 +60,54 @@ class StatisticsView extends View
</div>
<div class="stat_item">
<div class="stat_badge">
<div class="stat_icon fetchcount"></div>
<div class="stat_icon coorpcount">
<i class="fas fa-store-alt"></i>
</div>
</div>
<div class="stat_text">
<h4>' . number_format($stat['fetchcount'], 0, ',', '.') . '</h4>
<p>Rettungseinsätze haben unsere Foodsaver gemeistert.</p>
<h4>' . number_format($stat['cooperationscount'], 0, ',', '.') . '</h4>
<p>Betriebe kooperieren kontinuierlich und zufrieden mit uns.</p>
</div>
</div><br />
<div class="stat_item">
<div class="stat_badge">
<div class="stat_icon korpcount"></div>
<div class="stat_icon fscount">
<i class="fas fa-user-check", style="margin-left: 30px"></i>
</div>
</div>
<div class="stat_text">
<h4>' . number_format($stat['cooperationscount'], 0, ',', '.') . '</h4>
<p>Betriebe kooperieren kontinuierlich und zufrieden mit uns.</p>
<h4>' . number_format($stat['fscount'], 0, ',', '.') . '</h4>
<p>Foodsaver engagieren sich ehrenamtlich für eine Welt ohne Lebensmittelverschwendung.</p>
</div>
</div>
<div class="stat_item">
<div class="stat_badge">
<div class="stat_icon fscount"></div>
<div class="stat_icon fscount2">
<i class="fas fa-users"></i>
</div>
</div>
<div class="stat_text">
<h4>' . number_format($stat['fscount'], 0, ',', '.') . '</h4>
<p>Foodsaver engagieren sich ehrenamtlich für eine Welt ohne Lebensmittelverschwendung.</p>
<h4>' . number_format($foodsharerCount, 0, ',', '.') . '</h4>
<p>Foodsharer sind derzeit auf foodsharing registriert und interessieren sich für unsere Arbeit.</p>
</div>
</div><br />
<div class="stat_item">
<div class="stat_badge">
<div class="stat_icon fetchcount">
<i class="fas fa-walking"></i>
</div>
</div>
<div class="stat_text">
<h4>' . number_format($foodsharerCount, 0, ',', '.') . '</h4>
<p>Foodsharer sind derzeit auf foodsharing registriert und interessieren sich für unsere Arbeit.</p>
<h4>' . number_format($stat['fetchcount'], 0, ',', '.') . '</h4>
<p>Rettungseinsätze haben unsere Foodsaver gemeistert.</p>
</div>
</div>
<div class="stat_item">
<div class="stat_badge">
<div class="stat_icon dailyfetchcount">
<i class="fas fa-people-carry"></i>
</div>
</div>
<div class="stat_text">
<h4>' . number_format($avgDailyFetchCount, 0, ',', '.') . '</h4>
<p>' . $this->translationHelper->s('average_daily_fetches') . '</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment