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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
|
<%doc>
Copyright 2012 NetApp, Inc. All Rights Reserved,
contribution by Weston Andros Adamson <dros@netapp.com>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
</%doc>
<div class="dataset_container">
${dataset.toc.anchor()}
% if dataset.anchor:
<a name="${dataset.anchor}"></a>
% endif
<h3>${dataset.toc.num()} ${dataset.toc.title()}</h3>
<div class="dataset">
% if dataset.subtitle:
<h4>${dataset.subtitle}</h4>
% endif
<div class="dataset_legend">
% if dataset.bucket_pie or dataset.bucket_legend:
<table><tr>
<td>
<div> ${dataset.description} </div>
<div class="hatch_legend"> ${dataset.bucket_legend} </div> </td>
<td>
${dataset.bucket_pie}
% if dataset.bucket_pie:
<div class="pie_caption">
breakdown of group by operation across all traces
</div>
% endif
</td>
</tr></table>
% endif
</div>
<div class="dataset_graph_and_table">
${dataset.graph_html}
<div class="dataset_select">
graph
<select class="graph_view">
<option value="all">everything</option>
<optgroup label="version:">
${ ''.join([ '<option value="vers_%s">%s</option>' %
(x, x) for x in dataset.nfs_versions]) }
</optgroup>
% if len(dataset.selection.clients) > 1:
<optgroup label="clients:">
% for x in dataset.selection.clients:
<option value="client_${x}">client: ${x}</option>
% endfor
</optgroup>
% endif
% if len(dataset.selection.servers) > 1:
<optgroup label="servers:">
% for x in dataset.selection.servers:
<option value="server_${x}">server: ${x}</option>
% endfor
</optgroup>
% endif
% if len(dataset.selection.kernels) > 1:
<optgroup label="kernels:">
% for x in dataset.selection.kernels:
<option value="kernel_${x}">kernel: ${x}</option>
% endfor
</optgroup>
% endif
% if len(dataset.selection.paths) > 1:
<optgroup label="paths:">
% for x in dataset.selection.paths:
<option value="path_${x}">path: ${x}</option>
% endfor
</optgroup>
% endif
% if len(dataset.selection.detects) > 1:
<optgroup label="detected options:">
% for x in dataset.selection.detects:
% if x:
<option value="detect_${x}">detected options: ${x}</option>
% else:
<option value="detect_${x}">(no detected options)</option>
% endif
% endfor
</optgroup>
% endif
% if len(dataset.selection.tags) > 1:
<optgroup label="user defined tags:">
% for x in dataset.selection.tags:
% if x:
<option value="tag_${x}">tags: ${x}</option>
% else:
<option value="tag_${x}">(no tags)</option>
% endif
% endfor
</optgroup>
% endif
</select>
view
<select class="table_view">
<option value="averages">averages</option>
<option value="rundata">run data</option>
% if dataset.all_buckets:
<option value="hits">breakdown</option>
% endif
% if dataset.comparison_vals_map['config']:
<option value="config">config comparison</option>
% endif:
% if dataset.comparison_vals_map['mountopt']:
<option value="mountopt">mountopt comparison</option>
% endif:
% if dataset.comparison_vals_map['config']:
<option value="detect">detect comparison</option>
% endif:
% if dataset.comparison_vals_map['config']:
<option value="tag">tag comparison</option>
% endif:
</select>
<div class="dataset_better">
<span class="better_sym">${dataset.better_sym}</span>
<span class="better_str">${dataset.better_str}</span>
% for more in dataset.better_more:
<span class="better_more_str">${more}</span>
% endfor
</div>
</div>
<div class="dataset_tables">
${dataset.tab.html()}
</div>
</div>
</div>
</div>
|