예제 #1
0
def select_records_comfortable():
    if request.method == 'POST':
        print(request.form)
        python_records = CallDatabase.web_select_specific(request.form)
        return render_template("show_records.html",
                               html_records=python_records)
    else:
        table = CallDatabase.web_select_overall()
        table = utils.total_seconds(table)
        uniques = utils.get_unique(table)
        return render_template("select_records_comfortable.html",
                               uniques=uniques)
예제 #2
0
def home():
    python_records = CallDatabase.web_select_overall()
    return render_template("show_records.html", html_records=python_records)
예제 #3
0
def spline_chart():
    table = CallDatabase.web_select_overall()
    table = utils.total_seconds(table)
    uniques = utils.get_unique(table)
    return render_template("spline_chart.html", table=table, uniques=uniques)