forked from BrewPi/brewpi-www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontrol-panel.php
82 lines (78 loc) · 3.56 KB
/
control-panel.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
/* Copyright 2012 BrewPi/Elco Jacobs.
* This file is part of BrewPi.
* BrewPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* BrewPi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with BrewPi. If not, see <http://www.gnu.org/licenses/>.
*/
?>
<ul>
<div id="control-bar-text">
<div id="set-mode-text">Set temperature mode:</div>
<div id="status-text">Status:</div>
</div>
<li><a href="#profile-control"><span>Beer profile</span></a></li>
<li><a href="#beer-constant-control"><span>Beer constant</span></a></li>
<li><a href="#fridge-constant-control"><span>Fridge constant</span></a></li>
<li><a href="#temp-control-off"><span>Off</span></a></li>
<button id="apply-settings">Apply</button>
<div id="status-message" class="ui-state-error ui-corner-all">
<p>
<span id="icon" class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
<span id="message">Not loaded</span>
</p>
</div>
</ul>
<div id="profile-control">
<div id="controls">
<button id="refresh-controls">Refresh</button>
<button id="load-controls">Load profile</button>
<button id="new-controls">New profile</button>
<button id="edit-controls">Edit profile</button>
</div>
<div id="profileNameDate">
<div><span class="profileTableLabel">Profile Name:</span><span id="profileTableName"></span></div>
<div><span class="profileTableLabel">Start Date:</span><span id="profileTableStartDate"></span></div>
</div>
<div id="profileChartDiv"></div>
<div id="profileTableDiv"></div>
<div id="profileSelectDiv">
<ol id="profileSelect"></ol>
</div>
<div id="profileEditDiv">
<div class="profileEditFieldSet">
<div id="profileEditNameLabel" class="profileTableLabel edit">Profile Name:</div><input class="profileTableField" type="text" id="profileEditName" name="profileEditName" value="" />
<div class="profileTableLabel edit">Start Date:</div><input class="profileTableField" type="text" id="profileEditStartDate" name="profileEditStartDate" value="" />
</div>
<button class="wide-button" type="button" id="profileEditNowButton">Start Now</button>
<button class="wide-button" type="button" id="profileEditAddCurrentButton">Insert Now</button>
<div id="profileSaveError">Error Saving Profile!</div>
<div id="profileTableTempsDiv"></div>
</div>
</div>
<div id="beer-constant-control">
<div id="beer-temp" class="temp-display">
<div class="temp-container"></div>
<button id="beer-temp-up" class="temp-up"></button>
<input class='temperature' /><span class='degree'>°<?php echo $tempFormat ?></span>
<button id="beer-temp-down" class="temp-down"></button>
</div>
</div>
<div id="fridge-constant-control">
<div id="fridge-temp" class="temp-display">
<div class="temp-container"></div>
<button id="fridge-temp-up" class="temp-up"></button>
<input class='temperature' /><span class='degree'>°<?php echo $tempFormat ?></span>
<button id="fridge-temp-down" class="temp-down"></button>
</div>
</div>
<div id="temp-control-off">
<span id="temp-off-text">Temperature control disabled. Fridge will not cool or heat, but will still log temperatures.</span>
</div>