Exemple #1
0
def stats(name, from_date, to_date):
    queues = get_data_queues()
    if name is None:
        name = uqpanel.first_data_dict(queues)
    try:
        data = queues[name]
    except:
        data = {}
    return render_template('stats.html', data=data, queues=queues, name=name,
                           from_date=from_date, to_date=to_date)
Exemple #2
0
def stats(name, from_date, to_date):
    queues = get_data_queues()
    if name is None:
        name = uqpanel.first_data_dict(queues)
    try:
        data = queues[name]
    except:
        data = {}
    return render_template('stats.html', data=data, queues=queues, name=name,
                           from_date=from_date, to_date=to_date)