-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Echtzeitübersicht: Styling für mobile Ansichten.
Übersichtsseiten: kleinere optische Verbesserungen.
- Loading branch information
Showing
17 changed files
with
214 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<div class="row justify-content-center"> | ||
<div class="col-12 col-md-10 col-xxl-8"> | ||
<form method="post" id="date-range-form" action="" > | ||
<input type="hidden" id="realtime_chartShowEM" name="realtime_chartShowEM" value="<?=$actualConfig->configRealtime()->getChartShowEM()?>"> | ||
<input type="hidden" id="realtime_chartShowPMTotal" name="realtime_chartShowPMTotal" value="<?=$actualConfig->configRealtime()->getChartShowPMTotal()?>"> | ||
<input type="hidden" id="realtime_chartShowPM1" name="realtime_chartShowPM1" value="<?=$actualConfig->configRealtime()->getChartShowPM1()?>"> | ||
<input type="hidden" id="realtime_chartShowPM2" name="realtime_chartShowPM2" value="<?=$actualConfig->configRealtime()->getChartShowPM2()?>"> | ||
<input type="hidden" id="realtime_chartShowPM3" name="realtime_chartShowPM3" value="<?=$actualConfig->configRealtime()->getChartShowPM3()?>"> | ||
<table class="table table-sm w-100 m-0 mb-sm-1 mb-md-2"> | ||
<thead> | ||
<tr> | ||
<th class="table-active"style="text-align: left;">Filter</th> | ||
<th class="table-active"></th> | ||
<th class="table-active"></th> | ||
<th class="table-active"></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr class="table-light"> | ||
<!-- From time --> | ||
<td> | ||
<div style="display: flex; align-items: center; gap: 4px;"> | ||
<label for="from-date" class="form-label small m-0 d-none d-sm-inline mb-0"><strong>Von:</strong></label> | ||
<input type="datetime-local" id="from-date" name="from-date" | ||
value="<?=substr($startTime, 0, 16)?>" | ||
class="form-control form-control-sm" style="max-width: 170px;"> | ||
</div> | ||
</td> | ||
<!-- Line 1 --> | ||
<td> | ||
<div style="display: flex; align-items: center; gap: 4px;"> | ||
<label for="line1" class="form-label small m-0 d-none d-sm-inline mb-0"><strong class="d-none d-sm-inline">Linie 1:</strong></label> | ||
<select name="line1" id="line1" class="form-control form-control-sm" style="max-width: 120px;"> | ||
<?php foreach($actualConfig->getLinePossibilities() as $val) { ?> | ||
<option value="<?=$val?>" <?php echo ($actualConfig->getLine1() == $val) ? 'selected' : ''; ?>><?=StringHelper::formatEnergyInWatt($val)?></option> | ||
<?php } ?> | ||
</select> | ||
</div> | ||
</div> | ||
</td> | ||
<!-- Resolution --> | ||
<td> | ||
<div style="display: flex; align-items: center; gap: 4px;"> | ||
<label for="averagePossibility" class="form-label small m-0"><i class="bi bi-activity d-inline d-md-none"></i><strong class="d-none d-md-inline">Auflösung:</strong></label> | ||
<select name="averagePossibility" id="averagePossibility" class="form-control form-control-sm" style="max-width: 170px;"> | ||
<?php foreach ($actualConfig->getAveragePossibilitiesInSec() as $val): ?> | ||
<option value="<?=$val?>" <?=($actualConfig->getAveragePossibility() == $val) ? 'selected' : '';?>> | ||
<?=TimeHelper::convertSecondsToLabel($val)?> | ||
</option> | ||
<?php endforeach; ?> | ||
</select> | ||
</div> | ||
</td> | ||
<td> | ||
<div style="display: flex; align-items: center; gap: 10px; flex-wrap: wrap;"> | ||
<div class="form-check m-0"> | ||
<input type="checkbox" class="form-check-input" id="reloadCheckbox" name="reloadCheckbox" | ||
<?php if (isset($_REQUEST["reloadCheckbox"])) echo 'checked="checked"'; ?>> | ||
<label for="reloadCheckbox" class="form-check-label small"><i class="bi bi-arrow-repeat d-inline d-md-none"></i><span class="d-none d-md-inline">Autorefresh</span></label> | ||
</div> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr class="table-light"> | ||
<!-- To time--> | ||
<td> | ||
<div style="display: flex; align-items: center; gap: 4px;"> | ||
<label for="to-date" class="form-label small m-0 d-none d-sm-inline mb-0"><strong>Bis:</strong></label> | ||
<input type="datetime-local" id="to-date" name="to-date" | ||
value="<?=substr($endTime, 0, 16)?>" | ||
class="form-control form-control-sm" style="max-width: 170px;"> | ||
</div> | ||
</td> | ||
<!-- Line 2 --> | ||
<td> | ||
<div style="display: flex; align-items: center; gap: 4px;"> | ||
<label for="line2" class="form-label small m-0 d-none d-sm-inline"><strong class="d-none d-sm-inline">Linie 2:</strong></label> | ||
<select name="line2" id="line2" class="form-control form-control-sm" style="max-width: 120px;"> | ||
<?php foreach($actualConfig->getLinePossibilities() as $val) { ?> | ||
<option value="<?=$val?>" <?php echo ($actualConfig->getLine2() == $val) ? 'selected' : ''; ?>><?=StringHelper::formatEnergyInWatt($val)?></option> | ||
<?php } ?> | ||
</select> | ||
</label> | ||
</div> | ||
</td> | ||
<!-- Time range --> | ||
<td> | ||
<div style="display: flex; align-items: center; gap: 4px;"> | ||
<label for="pastperiod" class="form-label small m-0"><i class="bi bi-clock d-inline d-md-none"></i><strong class="d-none d-md-inline">Zeitraum:</strong></label> | ||
<select name="pastperiod" id="pastperiod" class="form-control form-control-sm" style="max-width: 170px;"> | ||
<option value="0">(?)</option> | ||
<?php foreach ($actualConfig->GetPastPeriodPossibilities() as $val): ?> | ||
<option value="<?=$val?>" <?=($actualConfig->getPastPeriod() == $val) ? 'selected' : '';?>> | ||
<?=TimeHelper::convertSecondsToLabel($val * 3600, "<", "<")?> | ||
</option> | ||
<?php endforeach; ?> | ||
</select> | ||
</div> | ||
</td> | ||
<td> | ||
<button type="submit" class="btn btn-primary btn-sm"><i class="bi bi-arrow-clockwise d-inline d-md-none"></i><span class="d-none d-md-inline">Aktualisieren</span></label></button> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</form> | ||
<div class="p-1"></div> | ||
<?php include("views/pages/realtime/filter-summary.phtml")?> | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<table class="table table-sm w-100"> | ||
<tbody> | ||
<!-- Header --> | ||
<tr class="table-light"> | ||
<td class="small"> | ||
<div class="small" style="text-align: left;"><strong><span class="d-none d-sm-inline">Einkauf</span> < <?=$actualConfig->getLine1()?> W: <strong> | ||
<?php $textLine1 = "Einkauf < {$actualConfig->getLine1()} W: ".HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyUnderX1()) ?> | ||
<?php $textLine1 .= "<br> Einkauf > {$actualConfig->getLine1()} W: ".HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyOverX1()) ?> | ||
<?php $textLine1 .= "<br> Einkauf {$actualConfig->getLine1()} bis {$actualConfig->getLine2()} W: ".HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyBetweenX1AndX2()) ?> | ||
<?php $textLine1 .= "<br class='small'>(Nur der Anteil über bzw. unter {$actualConfig->getLine1()} W.)";?> | ||
<i class="bi bi-info-circle text-primary" data-bs-toggle="tooltip" data-bs-html="true" title="<?=$textLine1?>"></i><div> | ||
</td> | ||
<td class="small"> | ||
<div class="small" style="text-align: left;"><strong><span class="d-none d-sm-inline">Einkauf</span> > <?=$actualConfig->getLine2()?> W: <strong> | ||
<?php $textLine2 = "Einkauf < {$actualConfig->getLine2()} W: ".HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyUnderX2()) ?> | ||
<?php $textLine2 .= "<br>Einkauf > {$actualConfig->getLine2()} W: ".HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyOverX2()) ?> | ||
<?php $textLine2 .= "<br> Einkauf {$actualConfig->getLine1()} bis {$actualConfig->getLine2()} W: ".HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyBetweenX1AndX2()) ?> | ||
<?php $textLine2 .= "<br class='small'>(Nur der Anteil über bzw. unter {$actualConfig->getLine2()} W.)";?> | ||
<i class="bi bi-info-circle text-primary" data-bs-toggle="tooltip" data-bs-html="true" title="<?=$textLine2?>"></i><div> | ||
</td> | ||
<td class="small"> | ||
<div class="small" style="text-align: left;"><strong><span class="d-none d-sm-inline">Einkauf</span> > 0: <strong> | ||
<?php $textEm = "Einspeisung (< 0W): ".HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyUnderZero()) ?> | ||
<?php $textEm .= "<br>Einkauf (> 0 W): ".HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyOverZero()) ?> | ||
<i class="bi bi-info-circle text-primary" data-bs-toggle="tooltip" data-bs-html="true" title="<?=$textEm?>"></i><div> | ||
</td> | ||
<td class="small"> | ||
<div class="small" style="text-align: left;"><strong>Ertrag: <strong><div> | ||
</td> | ||
</tr> | ||
<tr class="table-light"> | ||
<td class="small"> | ||
<div class="small" style="text-align: left;"><?=HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyUnderX1())?><div> | ||
</td> | ||
<td class="small"> | ||
<div class="small" style="text-align: left;"><?=HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyOverX2())?><div> | ||
</td> | ||
<td class="small"> | ||
<div class="small" style="text-align: left;"><?=HtmlHelper::formatEnergyInWattAndCurrency($energyData->getEnergyOverZero())?><div> | ||
</td> | ||
<td class="small"> | ||
<div class="small" style="text-align: left;"><?=HtmlHelper::formatEnergyInWattAndCurrency($energyData->getSavings())?><div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> |
Oops, something went wrong.