Skip to content

Commit

Permalink
Move highcharts scripts up, add link to AWS demo server
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefwigms committed Jun 17, 2020
1 parent 50ae170 commit 72b0df1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 23 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# picobrew_pico
Allows for full control of the PicoBrew Pico S/C/Pro & Zymatic models. Shout out to [@hotzenklotz](https://github.com/hotzenklotz/picobrew-server), Brian Moineau for PicoFerm API, @tmack8001 for Z series support & updates.
Allows for full control of the PicoBrew Pico S/C/Pro & Zymatic models. Shout out to [@hotzenklotz](https://github.com/hotzenklotz/picobrew-server), Brian Moineau for PicoFerm API, @tmack8001 for Z series support & updates.
[Demo Server](http://ec2-3-136-112-93.us-east-2.compute.amazonaws.com/)

## Requirements

Expand Down
10 changes: 5 additions & 5 deletions app/templates/brew_history.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{% extends "base.html" %}
{% block content %}
<script src="static/js/highcharts/highcharts.js"></script>
<script src="static/js/highcharts/annotations.js"></script>
<script src="static/js/highcharts/export-data.js"></script>
<script src="static/js/highcharts/exporting.js"></script>
<script src="static/js/highcharts/dark-unica.js"></script>
<div id="accordion">
{% for session in sessions %}
<div class="card bg-dark text-white-50">
Expand All @@ -12,11 +17,6 @@ <h5 class="card-header" id="h_{{session.graph.chart_id}}">
<div class="card-body">
<div id="{{session.graph.chart_id}}" style="min-width: 320px; height: 400px; margin: 0 auto"></div>
<script>var graph_data={{session.graph|tojson}};</script>
<script src="static/js/highcharts/highcharts.js"></script>
<script src="static/js/highcharts/annotations.js"></script>
<script src="static/js/highcharts/export-data.js"></script>
<script src="static/js/highcharts/exporting.js"></script>
<script src="static/js/highcharts/dark-unica.js"></script>
<script src="static/js/brew_graph.js"></script>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions app/templates/ferm_history.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{% extends "base.html" %}
{% block content %}
<script src="static/js/highcharts/highcharts.js"></script>
<script src="static/js/highcharts/annotations.js"></script>
<script src="static/js/highcharts/export-data.js"></script>
<script src="static/js/highcharts/exporting.js"></script>
<script src="static/js/highcharts/dark-unica.js"></script>
<div id="accordion">
{% for session in sessions %}
<div class="card bg-dark text-white-50">
Expand All @@ -12,11 +17,6 @@ <h5 class="card-header" id="h_{{session.graph.chart_id}}">
<div class="card-body">
<div id="{{session.graph.chart_id}}" style="min-width: 320px; height: 400px; margin: 0 auto"></div>
<script>var graph_data={{session.graph|tojson}};</script>
<script src="static/js/highcharts/highcharts.js"></script>
<script src="static/js/highcharts/annotations.js"></script>
<script src="static/js/highcharts/export-data.js"></script>
<script src="static/js/highcharts/exporting.js"></script>
<script src="static/js/highcharts/dark-unica.js"></script>
<script src="static/js/ferm_graph.js"></script>
</div>
</div>
Expand Down
18 changes: 6 additions & 12 deletions app/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{% extends "base.html" %}
{% block content %}
<script src="static/js/highcharts/highcharts.js"></script>
<script src="static/js/highcharts/annotations.js"></script>
<script src="static/js/highcharts/export-data.js"></script>
<script src="static/js/highcharts/exporting.js"></script>
<script src="static/js/highcharts/dark-unica.js"></script>
<script src="static/js/socketio/socket.io.slim.js"></script>
<div id="accordion">
{% for brew_session in brew_sessions %}
<div class="card bg-dark text-white-50">
Expand All @@ -12,12 +18,6 @@ <h5 class="card-header" id="h_{{brew_session.graph.chart_id}}">
<div class="card-body">
<div id="{{brew_session.graph.chart_id}}" style="min-width: 320px; height: 400px; margin: 0 auto"></div>
<script>var graph_data={{brew_session.graph|tojson}};</script>
<script src="static/js/highcharts/highcharts.js"></script>
<script src="static/js/highcharts/annotations.js"></script>
<script src="static/js/highcharts/export-data.js"></script>
<script src="static/js/highcharts/exporting.js"></script>
<script src="static/js/highcharts/dark-unica.js"></script>
<script src="static/js/socketio/socket.io.slim.js"></script>
<script src="static/js/brew_graph_socketio.js"></script>
</div>
</div>
Expand All @@ -36,12 +36,6 @@ <h5 class="card-header" id="h_{{ferm_session.graph.chart_id}}">
<div class="card-body">
<div id="{{ferm_session.graph.chart_id}}" style="min-width: 320px; height: 400px; margin: 0 auto"></div>
<script>var graph_data={{ferm_session.graph|tojson}};</script>
<script src="static/js/highcharts/highcharts.js"></script>
<script src="static/js/highcharts/annotations.js"></script>
<script src="static/js/highcharts/export-data.js"></script>
<script src="static/js/highcharts/exporting.js"></script>
<script src="static/js/highcharts/dark-unica.js"></script>
<script src="static/js/socketio/socket.io.slim.js"></script>
<script src="static/js/ferm_graph_socketio.js"></script>
</div>
</div>
Expand Down

0 comments on commit 72b0df1

Please sign in to comment.