예제 #1
0
파일: admin.py 프로젝트: CV-IP/opensurfaces
def admin_stats(request, experiment_slug='all'):
    return render(request, "mturk/admin/stats.html", {
        'nav': 'mturk-admin',
        'subnav': 'stats',
        'category_slug': experiment_slug,
        'categories': experiments_as_categories(),
        'category': admin_stats_category(experiment_slug),
        'stats_csv_url': admin_assignment_csv_url(),
        'table_template': 'mturk/admin/stats_table.html',
    })
예제 #2
0
def admin_stats(request, experiment_slug='all'):
    return render(
        request, "mturk/admin/stats.html", {
            'nav': 'mturk-admin',
            'subnav': 'stats',
            'category_slug': experiment_slug,
            'categories': experiments_as_categories(),
            'category': admin_stats_category(experiment_slug),
            'stats_csv_url': admin_assignment_csv_url(),
            'table_template': 'mturk/admin/stats_table.html',
        })
예제 #3
0
def admin_stats_table(request, experiment_slug):
    return render(request, "mturk/admin/stats_table.html",
                  {'category': admin_stats_category(experiment_slug)})
예제 #4
0
파일: admin.py 프로젝트: CV-IP/opensurfaces
def admin_stats_table(request, experiment_slug):
    return render(request, "mturk/admin/stats_table.html", {
        'category': admin_stats_category(experiment_slug)
    })