Skip to content

Commit

Permalink
updated images and html
Browse files Browse the repository at this point in the history
  • Loading branch information
markyharris committed Mar 26, 2022
1 parent 349deb9 commit 7a0ec02
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 11 deletions.
4 changes: 2 additions & 2 deletions data.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kflg
6
KCMH
7
3600
0
4 changes: 2 additions & 2 deletions metar_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# For the same airports in the same locations on screen, place 12 airports in list. The 13th will be the default airport
# For randomly selected airports, put more than 12 in list. 12 will randomly be displayed, 13th will be default
# If you put less than 12 airports in list, it will pad the missing spots with the default airport above.
random_airports = ["KEYW","KDFW","KSEA","KORD", "KLAS","KCMR","KABQ","KDEN", \
"KPHX","KNBC","KBKV","KTTS"] #, "KTPA", "KLAS","KGEU","KOLS", \
random_airports = ["KEYW","KFVE","KSEA","KCVG", "KLAS","KCMR","KGRR","KMSN", \
"KLAX","KNBC","KFVE","KBUF"] #, "KTPA", "KLAS","KGEU","KOLS", \
# "KSAN", "KPDX", "KBOI", "KMSP", "KSTL", "KBNA", "KTYS"]

Binary file modified static/layout0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/layout1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/layout2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/layout3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/layout4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/layout5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/layout6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/layout7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/metar_cmdline.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/metar_collage.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/metar_html.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 21 additions & 6 deletions templates/metar.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
.myDiv span{
text-align: center;
background: #b1cafc;
padding: 6px 10px;
padding: 6px 6px;
display: block;
width: 400px;
border: 1px solid blue;
Expand Down Expand Up @@ -146,27 +146,42 @@ <h2>METAR E-Paper Display Selector</h2>
<div id="show0" class="myDiv">
<span><p>
<img src="./static/layout0.jpg" width="300"><p><p>
Basic Display with Large Flight Category Letters and METAR String</span>
</span>
</div>
<div id="show1" class="myDiv">
<span><p>
<img src="./static/layout1.jpg" width="300"><p><p>
METAR String with individual weather items with dynamic icons.</span>
</span>
</div>
<div id="show2" class="myDiv">
<span><p>
<img src="./static/layout2.jpg" width="300"><p><p>
Formatted Weather Data with dynamic icons.</span>
</span>
</div>
<div id="show3" class="myDiv">
<span><p>
<img src="./static/layout3.jpg" width="300"><p><p>
Basic Large Letter Flight Category.</span>
</span>
</div>
<div id="show4" class="myDiv">
<span><p>
<img src="./static/layout4.jpg" width="300"><p><p>
3-Area Display with Large Flight Category Letters and weather data.</span>
</span>
</div>
<div id="show5" class="myDiv">
<span><p>
<img src="./static/layout5.jpg" width="300"><p><p>
</span>
</div>
<div id="show6" class="myDiv">
<span><p>
<img src="./static/layout6.jpg" width="300"><p><p>
</span>
</div>
<div id="show7" class="myDiv">
<span><p>
<img src="./static/layout7.jpg" width="300"><p><p>
</span>
</div>


Expand Down
2 changes: 1 addition & 1 deletion webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from flask import Flask, render_template, request, flash, redirect, url_for, send_file, Response
import os
import sys
from shutdown import *
from metar_poweroff import *
from metar_settings import *

app = Flask(__name__)
Expand Down

0 comments on commit 7a0ec02

Please sign in to comment.