1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
{% extends "graphics/graphics_layout.html" %}
{% load dashboard_extras staticfiles %}
{% block page_name %}Openarena graphics benchmarking for xmir{% endblock %}
{% block content %}
<style>
{% for card_type, values in machines.items %}
{% for machine in values %}
#chart-{{ machine }} svg {
height: 300px;
}
#chart-{{ machine }} svg {
height: 300px;
}
{% endfor %}
{% endfor %}
</style>
<script>
{% for card_type, values in machines.items %}
{% for machine in values %}
var bar_chart_url = '{% url "graphics_api_latest_filter_resolution" "openarena" machine resolution_filter %}';
create_phoronix_multibar_chart(bar_chart_url, '{{ machine }}');
{% endfor %}
{% endfor %}
var line_chart_url = '{% url "graphics_api_result_filter_resolution" "openarena" card_type_filter resolution_filter %}'
create_phoronix_line_chart(line_chart_url, 'line')
</script>
<div class='grid_15'>
<h3>
Openarena @{{ resolution_filter }}
<a class="css-tooltip no-border" href="#intel"><div class="help">?</div><span class="classic">
{{ help_info }}
</span></a>
<select onchange="window.location=this.value;">
<option value="">Filter Results...</option>
<option value='{% url "openarena" %}'>{{ card_type }} show all @ 1024x768</option>
<option value='{% url "openarena_filter_card_type_resolution" "ps" "800x600" %}'>{{ card_type }} show all @ 800x600</option>
{% for card_type, values in all_machines.items %}
{% for resolution in resolutions %}
<option value='{% url "openarena_filter_card_type_resolution" card_type resolution %}'>{{ card_type }} @ {{ resolution }}</option>
{% endfor %}
{% endfor %}
</select>
</h3>
</div>
{% for card_type, values in machines.items %}
<div class='grid_15'>
<h3>
<a href="#{{ card_type }}">{{ card_type }}</a>
<a name="{{ card_type }}"></a>
</h3>
{% for machine in values %}
<div class='grid_4'>
<div id="percentage-{{ machine }}">
<script>
wait_for_object_with_key("{{ machine }}-openarena", "{{ machine }}");
</script>
</div>
<div id="chart-{{ machine }}">
<svg></svg>
</div>
</div>
{% endfor %}
</div>
{% endfor %}
<div class='grid_15'>
<h3>
<a href="#all">All</a>
<a name=all></a>
</h3>
<div id="chart-line">
<svg></svg>
</div>
</div>
{% endblock %}
|