Skip to content

Commit

Permalink
BrewPi web interface 1.0
Browse files Browse the repository at this point in the history
This commit contains the web interface of BrewPi: all PHP files, images,
Sample Data, JavaScript and the jQuery UI framework.
  • Loading branch information
elcojacobs committed Sep 27, 2012
0 parents commit 0376164
Show file tree
Hide file tree
Showing 132 changed files with 7,302 additions and 0 deletions.
163 changes: 163 additions & 0 deletions .gitignore
@@ -0,0 +1,163 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
*.dotCover

## TODO: If you have NuGet Package Restore enabled, uncomment this
#packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store
32 changes: 32 additions & 0 deletions beer-panel.php
@@ -0,0 +1,32 @@
<?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/>.
*/
?>

<div id="top-bar" class="ui-widget ui-widget-header ui-corner-all">
<div id="lcd" class="lcddisplay"><br>Live display<br>Waiting to update..</div>
<div id="logo-container">
<div class="logo-placeholder">
<a href="http://forum.brewpi.com/discussion/5/we-need-a-logo">BrewPi Logo goes here</a>
</div>
<span id="beername">Fermenting: <?php echo $beerName;?></span>
</div>
<button class="script-status ui-state-error"></button>
<button id="maintenance">Maintenance panel</button>
</div>
<div id="beer-chart" style="width:930px; height:400px;"></div>
<button id="refresh-beer-chart"></button>
64 changes: 64 additions & 0 deletions control-panel.php
@@ -0,0 +1,64 @@
<?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">Refresh</button>
<button id="edit">Edit profile</button>
<button id="upload">Upload Profile</button>
</div>
<div id="profileChartDiv" style="width: 375px; height: 280px; float: left"></div>
<div id="profileTableDiv" style="width: 400px; height: 280px; float: right"></div>
</div>
<div id="beer-constant-control">
<div id="beer-temp" class="temp-display">
<div class="temp-container"><span class="temperature"></span></div>
<button id="beer-temp-up" class="temp-up"></button>
<span class="degree">&deg;<?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"><span class="temperature"></span></div>
<button id="fridge-temp-up" class="temp-up"></button>
<span class="degree">&deg;<?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>
11 changes: 11 additions & 0 deletions css/redmond/.svn/all-wcprops
@@ -0,0 +1,11 @@
K 25
svn:wc:ra_dav:version-url
V 44
/uberfridge/!svn/ver/2/trunk/www/css/redmond
END
jquery-ui-1.8.16.custom.css
K 25
svn:wc:ra_dav:version-url
V 72
/uberfridge/!svn/ver/2/trunk/www/css/redmond/jquery-ui-1.8.16.custom.css
END
65 changes: 65 additions & 0 deletions css/redmond/.svn/entries
@@ -0,0 +1,65 @@
10

dir
3
http://acidtime.com/uberfridge/trunk/www/css/redmond
http://acidtime.com/uberfridge



2012-01-06T15:07:27.733704Z
2
elco














80b9f1c9-7dfe-4d87-af71-b0a6870a3ab3

jquery-ui-1.8.16.custom.css
file




2011-10-14T12:21:14.000000Z
b414d305a9475789f38906018d6589b3
2012-01-06T15:07:27.733704Z
2
elco





















32510

images
dir

0 comments on commit 0376164

Please sign in to comment.