This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
/
CMSPhedexDataExtract.html
64 lines (60 loc) · 2.26 KB
/
CMSPhedexDataExtract.html
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
## -*- coding: utf-8 -*-
<%inherit file="/module_base.html" />
<%def name="content()">
<style>
#${module.instance_name}_histogram {
position: relative;
height: ${height}px;
width: *;
z-index: 0;
}
#${module.instance_name}_histogram span {
position: absolute;
height: 14px;
width: ${width-1}px;
z-index: 6;
border-left: 1px solid #000;
border-right: 1px solid #000;
border-top: 1px solid #000;
border-bottom: 1px solid #000;
}
#${module.instance_name}_histogram a {
height: 14px;
width: 85.2%;
position: absolute;
z-index: 5;
font-size: small;
border-bottom: 1px solid #000;
display: block;
padding-bottom: 1px;
}
</style>
<div id="${module.instance_name}_histogram">
%for cols in link_list:
<span style = "top:${15*cols['y']+50}px; left:${width*cols['x']+201}px; background:${cols['color']};"
title="time: ${cols['time']} 
rate: ${cols['rate']}MB/s 
files done: ${cols['done']} 
files failed: ${cols['fails']} 
quality: ${cols['w']}">
<font color=${cols['marking']} size="tiny">~^~</font>
</span>
%endfor
%for row in y_summary:
<span style = "top:${15*row['y']+50}px; right:${width+80}px; background:${row['color']};"
title="eval. time: ${eval_time} 
avg. quality: ${row['quality']}">
</span>
%endfor
%for row in x_summary:
<span style = "top:${height-50+5}px; left:${width*row['x']+201}px; background:${row.get('t1_color')};">
</span>
<span style = "top:${height-35+5}px; left:${width*row['x']+201}px; background:${row.get('t2_color')};">
</span>
<span style = "top:${height-20+5}px; left:${width*row['x']+201}px; background:${row.get('t3_color')};">
</span>
%endfor
%for i,title in enumerate(titles):
<a style='top:${15*i+49}px; padding-bottom:2px;' href = '${title['link']}'>${title['name']}</a>
<a style="top:${15*i+50}px; left:171px; width:15px; z-index:6; background-image:url('${button_pic}');" href='${info_link}${title['name']}'></a>
%endfor
<a style='top:${height-51+5}px; padding-bottom:2px;' >Summary T1</a>
<a style='top:${height-36+5}px; padding-bottom:2px;' >Summary T2</a>
<a style='top:${height-21+5}px; padding-bottom:2px;' >Summary T3</a>
</div>
</%def>