154 lines
7.4 KiB
Plaintext
154 lines
7.4 KiB
Plaintext
<div class="row mb-5">
|
|
<div class="card-columns">
|
|
<div class="card">
|
|
<div class="card-header bg-fusion-25 pr-3 d-flex align-items-center flex-wrap">
|
|
<h4 class="mb-0 font-weight-bold"><span class="fal fa-bolt mr-1"></span> 發電量</h4>
|
|
<div class="ml-auto">kwh</div>
|
|
</div>
|
|
<div class="card-body" style="min-height: 148px;">
|
|
<div class="d-flex justify-content-between">
|
|
<p>今日發電量</p>
|
|
<p><span class="color-info-700" id="today_kwh">126,161.72</span></p>
|
|
</div>
|
|
<div class="d-flex justify-content-between">
|
|
<p>累積發電量</p>
|
|
<p><span class="color-info-700" id="total_kwh">4,069.73</span></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card money-card">
|
|
<div class="card-header bg-fusion-25 pr-3 d-flex align-items-center flex-wrap">
|
|
<h4 class="mb-0 font-weight-bold"><span class="fal fa-dollar-sign mr-1"></span> <span id="money-card-title">發電金額</span></h4>
|
|
<div class="ml-auto">NTD</div>
|
|
</div>
|
|
<div class="card-body" style="min-height: 148px;">
|
|
<div class="d-flex justify-content-between">
|
|
<p id="money-card-subtitle-total">總發金額</p>
|
|
<p><span class="color-info-700" id="total_money">126,161.72</span></p>
|
|
</div>
|
|
<div class="d-flex justify-content-between">
|
|
<p id="money-card-subtitle-avg">平均發電金額</p>
|
|
<p><span class="color-info-700" id="today_money">4,069.73</span></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card irradiance-card">
|
|
<div class="card-header bg-fusion-25 pr-3 d-flex align-items-center flex-wrap">
|
|
<h4 class="mb-0 font-weight-bold"><span class="fal fa-sun mr-1"></span> 日照度</h4>
|
|
<div class="ml-auto">kw/m<sup>2</sup></div>
|
|
</div>
|
|
<div class="card-body" style="min-height: 148px;">
|
|
<div class="d-flex justify-content-between">
|
|
<p>即時平均日照度</p>
|
|
<p><span class="color-info-700" id="today_irradiance">126,161.72</span></p>
|
|
</div>
|
|
<div class="d-flex justify-content-between">
|
|
<p>平均日照度(30天)</p>
|
|
<p><span class="color-info-700" id="avg_irradiance">4,069.73</span></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-header bg-fusion-25 pr-3 d-flex align-items-center flex-wrap">
|
|
<h4 class="mb-0 font-weight-bold"><span class="fal fa-bolt mr-1"></span> PR值</h4>
|
|
</div>
|
|
<div class="card-body" style="min-height: 148px;">
|
|
<div class="d-flex justify-content-between">
|
|
<p>即時平均 PR 值</p>
|
|
<p><span class="color-info-700" id="today_PR">119.04</span></p>
|
|
</div>
|
|
<div class="d-flex justify-content-between">
|
|
<p>平均 PR 值(30天)</p>
|
|
<p><span class="color-info-700" id="avg_PR">3.84</span></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-header bg-fusion-25 pr-3 d-flex align-items-center flex-wrap">
|
|
<h4 class="mb-0 font-weight-bold"><span class="fal fa-sun mr-1"></span> kWh / kWp</h4>
|
|
</div>
|
|
<div class="card-body" style="min-height: 148px;">
|
|
<div class="d-flex justify-content-between">
|
|
<p>即時平均 kWh / kWp</p>
|
|
<p><span class="color-info-700" id="today_kwhkwp">140.39</span></p>
|
|
</div>
|
|
<div class="d-flex justify-content-between">
|
|
<p>平均 kWh / kWp (30天)</p>
|
|
<p><span class="color-info-700" id="avg_kwhkwp">4.53</span></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-header bg-fusion-25 pr-3 d-flex align-items-center flex-wrap">
|
|
<h4 class="mb-0 font-weight-bold"><span class="fal fa-cow mr-1"></span> 減碳量</h4>
|
|
<div class="ml-auto">kG</div>
|
|
</div>
|
|
<div class="card-body" style="min-height: 148px;">
|
|
<div class="d-flex justify-content-between">
|
|
<p>今日減碳量</p>
|
|
<p><span class="color-info-700" id="today_carbon">6,091.78</span></p>
|
|
</div>
|
|
<div class="d-flex justify-content-between">
|
|
<p>累積減碳量</p>
|
|
<p><span class="color-info-700" id="total_carbon">985.98</span></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row mb-5">
|
|
<div class="col-xl-6">
|
|
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
|
|
<ol class="carousel-indicators">
|
|
</ol>
|
|
<div class="carousel-inner">
|
|
</div>
|
|
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
<span class="sr-only">Previous</span>
|
|
</a>
|
|
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
<span class="sr-only">Next</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-xl-6">
|
|
<div id="carousel-chart" class="carousel slide" data-ride="carousel">
|
|
<ol class="carousel-indicators">
|
|
<li data-target="#carousel-chart" data-slide-to="0" class="active"></li>
|
|
<li data-target="#carousel-chart" data-slide-to="1"></li>
|
|
<li data-target="#carousel-chart" data-slide-to="2"></li>
|
|
<li data-target="#carousel-chart" data-slide-to="3"></li>
|
|
</ol>
|
|
<div class="carousel-inner">
|
|
<div class="carousel-item active">
|
|
<canvas id="chartToday"></canvas>
|
|
</div>
|
|
<div class="carousel-item">
|
|
<canvas id="chart7day"></canvas>
|
|
</div>
|
|
<div class="carousel-item">
|
|
<canvas id="chartMonth"></canvas>
|
|
</div>
|
|
<div class="carousel-item">
|
|
<canvas id="chartYear"></canvas>
|
|
</div>
|
|
</div>
|
|
<a class="carousel-control-prev" href="#carousel-chart" role="button" data-slide="prev">
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
<span class="sr-only">Previous</span>
|
|
</a>
|
|
<a class="carousel-control-next" href="#carousel-chart" role="button" data-slide="next">
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
<span class="sr-only">Next</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
@*<canvas id="chartToday"></canvas>*@
|
|
</div>
|
|
</div> |