summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-02-12 15:19:59 +0100
committerOlivier Dony <odo@openerp.com>2014-02-12 15:19:59 +0100
commit6a29b0ae0fcfc23136fcbbd0e8097116ee60d779 (patch)
tree26bc19c33f6e93616759f75e553b57b7fab7d551 /addons/web/static/src
parent5a134745e804d43dd6eb3cf43a3f019251068564 (diff)
[FIX] Layout was broken in the debugging `View Logs` (perm_read) popup, fixed + boostrapified
bzr revid: odo@openerp.com-20140212141959-w2s4f960jwbknzx4
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css14
-rw-r--r--addons/web/static/src/css/base.sass12
-rw-r--r--addons/web/static/src/xml/base.xml43
3 files changed, 26 insertions, 43 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index bf9362a1e09..35b6fcc582d 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -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;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index c79deecddb5..5021644a062 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -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
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index fc9c2154d01..80b82c1f40b 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -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">