@app.route('/stats')
def web_stats():
- return render_template('stats.html', stats=stats())
+ stats_ = stats()
+ runners = ['all'] + [x for x in sorted(stats_['builds'].keys()) if x != 'all']
+ return render_template('stats.html', stats=stats_, runners=runners)
@app.route("/runners/")
def web_runners():