Spaces:
Paused
Paused
Commit ·
3465bfc
1
Parent(s): d039788
test
Browse filesFiles changed (2)
210 unmodified lines21121221321421521611 unmodified lines228229230231232233234210 unmodified linesdef data():tbl_htmls = {}firsttable = ""tbl_selected = session.get('tbl_selected', [])print("-------------------------Hello world------------------------")print(tbl_selected)11 unmodified lineshtml_top_records = html_top_records.replace('<thead>', '<thead class="thead-light" style="top: 0;position: sticky;">')tbl_htmls[tblname] = html_top_recordsreturn render_template('data.html', table_htmls = tbl_htmls, req_tables = json.dumps(firsttable))@app.route("/", methods=['GET', 'POST'])@app.route("/home", methods=['GET', 'POST'])210 unmodified lines21121221321421521621711 unmodified lines229230231232233234235210 unmodified linesdef data():tbl_htmls = {}firsttable = ""slsslinfo = session.get("sl_subsl")tbl_selected = session.get('tbl_selected', [])print("-------------------------Hello world------------------------")print(tbl_selected)11 unmodified lineshtml_top_records = html_top_records.replace('<thead>', '<thead class="thead-light" style="top: 0;position: sticky;">')tbl_htmls[tblname] = html_top_recordsreturn render_template('data.html', table_htmls = tbl_htmls, tempdisplay = slsslinfo, req_tables = json.dumps(firsttable))@app.route("/", methods=['GET', 'POST'])@app.route("/home", methods=['GET', 'POST'])
24 unmodified lines25262728293024 unmodified lines</div><div class="col-md-3 d-flex justify-content-end align-items-center" style="margin-left: 70px;"><!-- Download Button --><button class="btn btn-light" onclick="downloadTableData()"><i class="fas fa-download mr-2"></i> Download All</button>24 unmodified lines2526272829303124 unmodified lines</div><div class="col-md-3 d-flex justify-content-end align-items-center" style="margin-left: 70px;"><!-- Download Button --><p>{{ tempdisplay }}</p><button class="btn btn-light" onclick="downloadTableData()"><i class="fas fa-download mr-2"></i> Download All</button>
app.py+2-1
templates/data.html+1