BugDefect defect_layout xml defect_show_layout xml xml table class Gri

 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
# BugDefect
defect_layout(xml) {
defect_show_layout(xml) {
xml.table(:class=>'GridTbl', :width=>'100%') {
xml << render_partial('show_top')
xml.tr {
xml.td(:width=>'50%', :style=>'border: 2px solid #999; border-top: none; border-left: none; border-bottom: none;') {
xml.table(:class=>'ListGrid', :width=>'100%') {
xml.tr { xml.td { xml << render_partial('show_left_1') }}
xml.tr { xml.td { xml << render_partial('show_left_2') }}
#xml.tr { xml.td { xml << render_partial('show_left_3') } }
}
}
xml.td {
xml.table(:class=>'ListGrid', :width=>'100%') {
xml.tr() { xml.td { xml << render_partial('show_right_1') }}
# TODO: Если будем доделывать работы в дефекте
### xml.tr() { xml.td { xml << render_partial('show_right_labs' ) }}
xml.tr() { xml.td { xml << render_partial('show_right_2') }}
xml.tr(:class=>'ListGrid' ) { xml.td { xml << render_partial('show_right_3') } }
xml.tr(:class=>'ListGrid' ) { xml.td { xml << render_partial('show_right_4') } }
}
}
}
}
}
}