[FIX] Layout was broken in the debugging View Logs (perm_read) popup, fixed + boostrapified

bzr revid: odo@openerp.com-20140212141959-w2s4f960jwbknzx4
This commit is contained in:
Olivier Dony
2014-02-12 15:19:59 +01:00
parent 5a134745e8
commit 6a29b0ae0f
3 changed files with 26 additions and 43 deletions
-14
View File
@@ -3021,20 +3021,6 @@
font-size: 95%;
line-height: 1.2em;
}
.openerp .oe_debug_view_log label {
display: block;
width: 49%;
text-align: right;
float: left;
font-weight: bold;
color: #000099;
}
.openerp .oe_debug_view_log span {
display: block;
width: 49%;
float: right;
color: #333333;
}
.openerp .navbar {
min-height: 32px;
margin-bottom: 0px;
-12
View File
@@ -2419,18 +2419,6 @@ $sheet-padding: 16px
.oe_debug_view_log
font-size: 95%
line-height: 1.2em
.oe_debug_view_log label
display: block
width: 49%
text-align: right
float: left
font-weight: bold
color: #009
.oe_debug_view_log span
display: block
width: 49%
float: right
color: #333
// }}}
// Bootstrap HACKS {{{
.navbar
+26 -17
View File
@@ -536,23 +536,32 @@
</t>
<t t-name="ViewManagerDebugViewLog">
<div class="oe_debug_view_log">
<label>ID:</label>
<span><t t-esc="perm.id"/></span>
<label>XML ID:</label>
<span><t t-esc="perm.xmlid"/></span>
<label>Creation User:</label>
<span><t t-esc="format(perm.create_uid, { 'type' : 'many2one' }, '/')"/></span>
<label>Creation Date:</label>
<span><t t-esc="format(perm.create_date, { 'type' : 'datetime' }, '/')"/></span>
<label>Latest Modification by:</label>
<span><t t-esc="format(perm.write_uid, { 'type' : 'many2one' }, '/')"/></span>
<label>Latest Modification Date:</label>
<span><t t-esc="format(perm.write_date, { 'type' : 'datetime' }, '/')"/></span>
<table class="table table-condensed table-striped">
<tr>
<th>ID:</th>
<td><t t-esc="perm.id"/></td>
</tr>
<tr>
<th>XML ID:</th>
<td><t t-esc="perm.xmlid or '/'"/></td>
</tr>
<tr>
<th>Creation User:</th>
<td><t t-esc="format(perm.create_uid, { 'type' : 'many2one' }, '/')"/></td>
</tr>
<tr>
<th>Creation Date:</th>
<td><t t-esc="format(perm.create_date, { 'type' : 'datetime' }, '/')"/></td>
</tr>
<tr>
<th>Latest Modification by:</th>
<td><t t-esc="format(perm.write_uid, { 'type' : 'many2one' }, '/')"/></td>
</tr>
<tr>
<th>Latest Modification Date:</th>
<td><t t-esc="format(perm.write_date, { 'type' : 'datetime' }, '/')"/></td>
</tr>
</table>
</div>
</t>
<t t-name="ViewPager">