[IMP]make 10% special width for first column of every row.
bzr revid: vme@tinyerp.com-20140314072828-8xjnpdtpcoilquaq
This commit is contained in:
parent
cfa7e909c1
commit
9eea6a2dd8
|
@ -64,11 +64,11 @@
|
|||
</div>
|
||||
</h3>
|
||||
<table id="table_search" class="table table-bordered table-condensed">
|
||||
<t t-set="td_width" t-value="100/len(room_list)+1"/>
|
||||
<t t-set="td_width" t-value="90/len(room_list)"/>
|
||||
<t t-set="index" t-value="0"/>
|
||||
<t t-set="for_all" t-value="True"/>
|
||||
<tr>
|
||||
<th t-attf-style="width: #{td_width}px;"> </th>
|
||||
<th t-attf-style="width:#{10}%;"> </th>
|
||||
<t t-foreach="room_list" t-as="room">
|
||||
<th t-attf-style="width: #{td_width}px;" class="active"><bold><t t-esc="room[1]"/></bold></th>
|
||||
</t>
|
||||
|
@ -76,7 +76,7 @@
|
|||
<t t-foreach="days[day]" t-as="slot">
|
||||
<t t-set="skip_it" t-value="skip_td[day].keys()"/>
|
||||
<tr>
|
||||
<td><t t-esc= "slot"/></td>
|
||||
<td t-attf-style="width:#{10}%;"><t t-esc= "slot"/></td>
|
||||
<t t-foreach="room_list" t-as="room">
|
||||
<t t-set="sid" t-value="not (room[0] in skip_it and slot in skip_td[day][room[0]])" />
|
||||
<t t-if="sid">
|
||||
|
|
Loading…
Reference in New Issue