This repository has been archived by the owner on Feb 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathabout.php
executable file
·58 lines (50 loc) · 1.92 KB
/
about.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
47
48
49
50
51
52
53
54
55
56
57
58
<?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="container theme-showcase" role="main">
<div class="page-header">
<h2><?php echo session::getInstance()->getLabel('lang.text.page.about.title'); ?></h2> <div id="version"><?php echo file_get_contents('_include/version.json'); ?></div>
</div>
<div class="well">
<img style='float:left;width:130px;height:130px; margin-right:20px;' src="css/images/stawen.png" alt="stawen" class="img-circle">
<?php echo session::getInstance()->getLabel('lang.text.page.about.information'); ?>
</div>
<div>TOKEN API : <?php echo substr(TOKEN, 0, 12); ?></div>
<div class="page-header">
<h2><?php echo session::getInstance()->getLabel('lang.text.page.about.update'); ?></h2>
<button type="button" id="bt_update" class="btn btn-xs btn-default" style="display: none;">
<span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span>
<?php echo session::getInstance()->getLabel('lang.text.page.about.update.install'); ?>
</button>
<div id="inwork-checkupdate">
<br/>
<br/><span class="glyphicon glyphicon-refresh glyphicon-spin"></span>
<?php echo session::getInstance()->getLabel('lang.text.page.about.update.check'); ?>
</div>
<div id="inwork-makeupdate" style="display: none;">
<br/>
<br/><span class="glyphicon glyphicon-refresh glyphicon-spin"></span>
<?php echo session::getInstance()->getLabel('lang.text.page.about.update.inprogress'); ?>
</div>
<p>
<div id="informations"></div>
</p>
</div>
<?php
include __DIR__.'/_templates/footer.php';
?>
<!--appel des scripts personnels de la page -->
<script src="js/about.js"></script>
</body>
</html>