update templates

master
michael 2022-10-28 15:18:51 -07:00
parent 407a103913
commit e4516e12d9
4 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ app = Flask(
@app.route('/', methods=['GET']) @app.route('/', methods=['GET'])
def index(): def index():
return render_template('index.jinja2') return render_template('index.html')
@app.route('/ratio_pyro', methods=['POST']) @app.route('/ratio_pyro', methods=['POST'])
def ratio_pyro(): def ratio_pyro():
@ -58,7 +58,7 @@ def ratio_pyro():
freq_plot = fig.to_html() freq_plot = fig.to_html()
return render_template( return render_template(
'results.jinja2', 'results.html',
img_orig_b64=img_orig_b64, img_orig_b64=img_orig_b64,
img_res_b64=img_res_b64, img_res_b64=img_res_b64,
legend=key, legend=key,

View File

@ -1,4 +1,4 @@
{% extends "base.jinja2" %} {% extends "base.html" %}
{% block content %} {% block content %}
<form action="/ratio_pyro" method="POST" enctype="multipart/form-data"> <form action="/ratio_pyro" method="POST" enctype="multipart/form-data">
<h2>Simple Ratio Pyrometry Interface</h2> <h2>Simple Ratio Pyrometry Interface</h2>

View File

@ -1,4 +1,4 @@
{% extends "base.jinja2" %} {% extends "base.html" %}
{% block content %} {% block content %}
<table class="img-table"> <table class="img-table">