Skip to content

Commit 0376164

Browse files
committed
BrewPi web interface 1.0
This commit contains the web interface of BrewPi: all PHP files, images, Sample Data, JavaScript and the jQuery UI framework.
0 parents  commit 0376164

File tree

132 files changed

+7302
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+7302
-0
lines changed

.gitignore

+163
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
#################
2+
## Eclipse
3+
#################
4+
5+
*.pydevproject
6+
.project
7+
.metadata
8+
bin/
9+
tmp/
10+
*.tmp
11+
*.bak
12+
*.swp
13+
*~.nib
14+
local.properties
15+
.classpath
16+
.settings/
17+
.loadpath
18+
19+
# External tool builders
20+
.externalToolBuilders/
21+
22+
# Locally stored "Eclipse launch configurations"
23+
*.launch
24+
25+
# CDT-specific
26+
.cproject
27+
28+
# PDT-specific
29+
.buildpath
30+
31+
32+
#################
33+
## Visual Studio
34+
#################
35+
36+
## Ignore Visual Studio temporary files, build results, and
37+
## files generated by popular Visual Studio add-ons.
38+
39+
# User-specific files
40+
*.suo
41+
*.user
42+
*.sln.docstates
43+
44+
# Build results
45+
[Dd]ebug/
46+
[Rr]elease/
47+
*_i.c
48+
*_p.c
49+
*.ilk
50+
*.meta
51+
*.obj
52+
*.pch
53+
*.pdb
54+
*.pgc
55+
*.pgd
56+
*.rsp
57+
*.sbr
58+
*.tlb
59+
*.tli
60+
*.tlh
61+
*.tmp
62+
*.vspscc
63+
.builds
64+
*.dotCover
65+
66+
## TODO: If you have NuGet Package Restore enabled, uncomment this
67+
#packages/
68+
69+
# Visual C++ cache files
70+
ipch/
71+
*.aps
72+
*.ncb
73+
*.opensdf
74+
*.sdf
75+
76+
# Visual Studio profiler
77+
*.psess
78+
*.vsp
79+
80+
# ReSharper is a .NET coding add-in
81+
_ReSharper*
82+
83+
# Installshield output folder
84+
[Ee]xpress
85+
86+
# DocProject is a documentation generator add-in
87+
DocProject/buildhelp/
88+
DocProject/Help/*.HxT
89+
DocProject/Help/*.HxC
90+
DocProject/Help/*.hhc
91+
DocProject/Help/*.hhk
92+
DocProject/Help/*.hhp
93+
DocProject/Help/Html2
94+
DocProject/Help/html
95+
96+
# Click-Once directory
97+
publish
98+
99+
# Others
100+
[Bb]in
101+
[Oo]bj
102+
sql
103+
TestResults
104+
*.Cache
105+
ClientBin
106+
stylecop.*
107+
~$*
108+
*.dbmdl
109+
Generated_Code #added for RIA/Silverlight projects
110+
111+
# Backup & report files from converting an old project file to a newer
112+
# Visual Studio version. Backup files are not needed, because we have git ;-)
113+
_UpgradeReport_Files/
114+
Backup*/
115+
UpgradeLog*.XML
116+
117+
118+
119+
############
120+
## Windows
121+
############
122+
123+
# Windows image file caches
124+
Thumbs.db
125+
126+
# Folder config file
127+
Desktop.ini
128+
129+
130+
#############
131+
## Python
132+
#############
133+
134+
*.py[co]
135+
136+
# Packages
137+
*.egg
138+
*.egg-info
139+
dist
140+
build
141+
eggs
142+
parts
143+
bin
144+
var
145+
sdist
146+
develop-eggs
147+
.installed.cfg
148+
149+
# Installer logs
150+
pip-log.txt
151+
152+
# Unit test / coverage reports
153+
.coverage
154+
.tox
155+
156+
#Translations
157+
*.mo
158+
159+
#Mr Developer
160+
.mr.developer.cfg
161+
162+
# Mac crap
163+
.DS_Store

beer-panel.php

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
/* Copyright 2012 BrewPi/Elco Jacobs.
3+
* This file is part of BrewPi.
4+
5+
* BrewPi is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU General Public License as published by
7+
* the Free Software Foundation, either version 3 of the License, or
8+
* (at your option) any later version.
9+
10+
* BrewPi is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
* GNU General Public License for more details.
14+
15+
* You should have received a copy of the GNU General Public License
16+
* along with BrewPi. If not, see <http://www.gnu.org/licenses/>.
17+
*/
18+
?>
19+
20+
<div id="top-bar" class="ui-widget ui-widget-header ui-corner-all">
21+
<div id="lcd" class="lcddisplay"><br>Live display<br>Waiting to update..</div>
22+
<div id="logo-container">
23+
<div class="logo-placeholder">
24+
<a href="http://forum.brewpi.com/discussion/5/we-need-a-logo">BrewPi Logo goes here</a>
25+
</div>
26+
<span id="beername">Fermenting: <?php echo $beerName;?></span>
27+
</div>
28+
<button class="script-status ui-state-error"></button>
29+
<button id="maintenance">Maintenance panel</button>
30+
</div>
31+
<div id="beer-chart" style="width:930px; height:400px;"></div>
32+
<button id="refresh-beer-chart"></button>

control-panel.php

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?php
2+
/* Copyright 2012 BrewPi/Elco Jacobs.
3+
* This file is part of BrewPi.
4+
5+
* BrewPi is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU General Public License as published by
7+
* the Free Software Foundation, either version 3 of the License, or
8+
* (at your option) any later version.
9+
10+
* BrewPi is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
* GNU General Public License for more details.
14+
15+
* You should have received a copy of the GNU General Public License
16+
* along with BrewPi. If not, see <http://www.gnu.org/licenses/>.
17+
*/
18+
?>
19+
20+
<ul>
21+
<div id="control-bar-text">
22+
<div id="set-mode-text">Set temperature mode:</div>
23+
<div id="status-text">Status:</div>
24+
</div>
25+
<li><a href="#profile-control"><span>Beer profile</span></a></li>
26+
<li><a href="#beer-constant-control"><span>Beer constant</span></a></li>
27+
<li><a href="#fridge-constant-control"><span>Fridge constant</span></a></li>
28+
<li><a href="#temp-control-off"><span>Off</span></a></li>
29+
<button id="apply-settings">Apply</button>
30+
<div id="status-message" class="ui-state-error ui-corner-all">
31+
<p>
32+
<span id="icon" class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
33+
<span id="message">Not loaded</span>
34+
</p>
35+
</div>
36+
</ul>
37+
<div id="profile-control">
38+
<div id="controls">
39+
<button id="refresh">Refresh</button>
40+
<button id="edit">Edit profile</button>
41+
<button id="upload">Upload Profile</button>
42+
</div>
43+
<div id="profileChartDiv" style="width: 375px; height: 280px; float: left"></div>
44+
<div id="profileTableDiv" style="width: 400px; height: 280px; float: right"></div>
45+
</div>
46+
<div id="beer-constant-control">
47+
<div id="beer-temp" class="temp-display">
48+
<div class="temp-container"><span class="temperature"></span></div>
49+
<button id="beer-temp-up" class="temp-up"></button>
50+
<span class="degree">&deg;<?php echo $tempFormat ?></span>
51+
<button id="beer-temp-down" class="temp-down"></button>
52+
</div>
53+
</div>
54+
<div id="fridge-constant-control">
55+
<div id="fridge-temp" class="temp-display">
56+
<div class="temp-container"><span class="temperature"></span></div>
57+
<button id="fridge-temp-up" class="temp-up"></button>
58+
<span class="degree">&deg;<?php echo $tempFormat ?></span>
59+
<button id="fridge-temp-down" class="temp-down"></button>
60+
</div>
61+
</div>
62+
<div id="temp-control-off">
63+
<span id="temp-off-text">Temperature control disabled. Fridge will not cool or heat, but will still log temperatures.</span>
64+
</div>

css/redmond/.svn/all-wcprops

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
K 25
2+
svn:wc:ra_dav:version-url
3+
V 44
4+
/uberfridge/!svn/ver/2/trunk/www/css/redmond
5+
END
6+
jquery-ui-1.8.16.custom.css
7+
K 25
8+
svn:wc:ra_dav:version-url
9+
V 72
10+
/uberfridge/!svn/ver/2/trunk/www/css/redmond/jquery-ui-1.8.16.custom.css
11+
END

css/redmond/.svn/entries

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
10
2+
3+
dir
4+
3
5+
http://acidtime.com/uberfridge/trunk/www/css/redmond
6+
http://acidtime.com/uberfridge
7+
8+
9+
10+
2012-01-06T15:07:27.733704Z
11+
2
12+
elco
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
80b9f1c9-7dfe-4d87-af71-b0a6870a3ab3
28+
29+
jquery-ui-1.8.16.custom.css
30+
file
31+
32+
33+
34+
35+
2011-10-14T12:21:14.000000Z
36+
b414d305a9475789f38906018d6589b3
37+
2012-01-06T15:07:27.733704Z
38+
2
39+
elco
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
32510
62+
63+
images
64+
dir
65+

0 commit comments

Comments
 (0)