forked from stawen/okovision
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·46 lines (40 loc) · 2.42 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/*
* Projet : Okovision - Supervision chaudiere OeKofen
* Auteur : Stawen Dronek
* Utilisation commerciale interdite sans mon accord
*/
if (!file_exists('config.php')) {
header('Location: setup.php');
} else {
include_once 'config.php';
include_once '_templates/header.php';
include_once '_templates/menu.php';
}
?>
<div class="se-pre-con"></div>
<div class="container theme-showcase" role="main">
<div class="page-header" align="center">
<div class="col-md-12" >
<div id="stock_alert" class="alert alert-danger" role="danger" style="display: none;"> <strong><?php echo session::getInstance()->getLabel('lang.text.page.label.alertStock'); ?></strong></div>
</div>
<div class="col-md-12" >
<div id="ashtray_alert" class="alert alert-warning" role="warning" style="display: none;"> <strong><?php echo session::getInstance()->getLabel('lang.text.page.label.alertAshtray'); ?></strong></div>
<div id="ashtray_noInfo" class="alert alert-warning" role="warning" style="display: none;"> <strong><?php echo session::getInstance()->getLabel('lang.text.page.label.alertAshtrayNoInfo'); ?></strong></div>
<div id="ashtray_noDate" class="alert alert-warning" role="warning" style="display: none;"> <strong><?php echo session::getInstance()->getLabel('lang.text.page.label.alertAshtrayNoDate'); ?></strong></div>
</div>
<span class="glyphicon glyphicon-hand-right"></span> <?php echo session::getInstance()->getLabel('lang.text.page.label.conso'); ?> <span id="consoPellet" class="label label-primary">00,00 Kg</span>
<?php echo session::getInstance()->getLabel('lang.text.page.label.conso.ecs'); ?> <span id="consoPelletHotwater" class="label label-primary">00,00 Kg</span>
<span class="glyphicon glyphicon-arrow-up"></span> <?php echo session::getInstance()->getLabel('lang.text.page.label.tcmax'); ?> <span id="tcmax" class="label label-success">00,0 °C</span>
<span class="glyphicon glyphicon-arrow-down"></span> <?php echo session::getInstance()->getLabel('lang.text.page.label.tcmin'); ?> <span id="tcmin" class="label label-warning">00,0 °C</span>
</div>
<div class="container-graphe">
</div>
<?php
include __DIR__.'/_templates/footer.php';
?>
<!--appel des scripts personnels de la page -->
<script src="_langs/<?php echo session::getInstance()->getLang(); ?>.datepicker.js"></script>
<script src="js/index.js"></script>
</body>
</html>