Merge lp:~openerp-dev/openerp-web/trunk-web-bootstrap3-psa1 into lp:~openerp-dev/openerp-web/trunk-web-bootstrap3

Proposed by Paramjit Singh Sahota(OpenERP)
Status: Merged
Merged at revision: 3883
Proposed branch: lp:~openerp-dev/openerp-web/trunk-web-bootstrap3-psa1
Merge into: lp:~openerp-dev/openerp-web/trunk-web-bootstrap3
Diff against target: 602 lines (+213/-77)
6 files modified
addons/web/static/src/css/base.css (+93/-39)
addons/web/static/src/css/base.sass (+60/-15)
addons/web/static/src/js/chrome.js (+4/-4)
addons/web/static/src/xml/base.xml (+21/-19)
addons/web_calendar/static/src/css/web_calendar.css (+21/-0)
addons/web_calendar/static/src/css/web_calendar.sass (+14/-0)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/trunk-web-bootstrap3-psa1
Reviewer Review Type Date Requested Status
OpenERP R&D Team Pending
Review via email: mp+195214@code.launchpad.net

Description of the change

Hello Sir,

Fixed the following issues:
  1./ The issue of leftbar in database manager.
  2./ The issue of login page footer.
  3./ The issue in database manager in menu drop database and backup database.
  4./ Used the bootstrap navbar instead topbar and done changes accordingly and fixed the changes were necessary.
  5./ Fixed the issue of hiding of caret. Which hides when the cursor hovers it.
  6./ Fixed the issue of topbar in login page.
  7./ Fixed the position of timezone alert icon.
  8./ Fixed the issue of size of navbar with anonymous user
  9./ Fix the Day Week Month tabs position and the body part in week and month to specific height.

Thankz...

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'addons/web/static/src/css/base.css'
--- addons/web/static/src/css/base.css 2013-11-14 11:23:43 +0000
+++ addons/web/static/src/css/base.css 2013-11-14 12:15:39 +0000
@@ -997,7 +997,7 @@
997}997}
998.openerp .oe_login .oe_login_footer a {998.openerp .oe_login .oe_login_footer a {
999 color: #eeeeee;999 color: #eeeeee;
1000 margin: 0 8px;1000 margin: 0 6px;
1001}1001}
1002.openerp .oe_login .oe_login_footer a:hover {1002.openerp .oe_login .oe_login_footer a:hover {
1003 text-decoration: underline;1003 text-decoration: underline;
@@ -1043,19 +1043,7 @@
1043.openerp .oe_content_full_screen .oe_topbar, .openerp .oe_content_full_screen .oe_leftbar {1043.openerp .oe_content_full_screen .oe_topbar, .openerp .oe_content_full_screen .oe_leftbar {
1044 display: none;1044 display: none;
1045}1045}
1046.openerp .oe_topbar {1046.openerp .navbar .oe_topbar_anonymous_login {
1047 width: 100%;
1048 height: 32px;
1049 background-color: #414141;
1050 background-color: #454343;
1051 background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626));
1052 background-image: -webkit-linear-gradient(top, #646060, #262626);
1053 background-image: -moz-linear-gradient(top, #646060, #262626);
1054 background-image: -ms-linear-gradient(top, #646060, #262626);
1055 background-image: -o-linear-gradient(top, #646060, #262626);
1056 background-image: linear-gradient(to bottom, #646060, #262626);
1057}
1058.openerp .oe_topbar .oe_topbar_anonymous_login {
1059 background-color: #dc5f59;1047 background-color: #dc5f59;
1060 color: #eeeeee;1048 color: #eeeeee;
1061 background-color: #be4343;1049 background-color: #be4343;
@@ -1066,11 +1054,11 @@
1066 background-image: -o-linear-gradient(top, #fc8787, maroon);1054 background-image: -o-linear-gradient(top, #fc8787, maroon);
1067 background-image: linear-gradient(to bottom, #fc8787, maroon);1055 background-image: linear-gradient(to bottom, #fc8787, maroon);
1068}1056}
1069.openerp .oe_topbar .oe_topbar_anonymous_login a {1057.openerp .navbar .oe_topbar_anonymous_login a {
1070 display: block;1058 display: block;
1071 padding: 5px 10px 7px;1059 padding: 5px 10px 7px;
1072 line-height: 20px;1060 line-height: 20px;
1073 height: 20px;1061 height: 30px;
1074 text-decoration: none;1062 text-decoration: none;
1075 color: white;1063 color: white;
1076 background: transparent;1064 background: transparent;
@@ -1080,7 +1068,7 @@
1080 -o-transition: all 0.2s ease-out;1068 -o-transition: all 0.2s ease-out;
1081 transition: all 0.2s ease-out;1069 transition: all 0.2s ease-out;
1082}1070}
1083.openerp .oe_topbar .oe_topbar_anonymous_login a:hover {1071.openerp .navbar .oe_topbar_anonymous_login a:hover {
1084 background: rgba(0, 0, 0, 0.1);1072 background: rgba(0, 0, 0, 0.1);
1085 color: white;1073 color: white;
1086 text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);1074 text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
@@ -1088,9 +1076,9 @@
1088 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;1076 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
1089 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;1077 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
1090}1078}
1091.openerp .oe_topbar .oe_topbar_item {1079.openerp .navbar .oe_topbar_item {
1092 display: block;1080 display: block;
1093 padding: 5px 10px 7px;1081 padding: 5px 10px 26px;
1094 line-height: 20px;1082 line-height: 20px;
1095 height: 20px;1083 height: 20px;
1096 text-decoration: none;1084 text-decoration: none;
@@ -1103,7 +1091,7 @@
1103 -o-transition: all 0.2s ease-out;1091 -o-transition: all 0.2s ease-out;
1104 transition: all 0.2s ease-out;1092 transition: all 0.2s ease-out;
1105}1093}
1106.openerp .oe_topbar .oe_topbar_item:hover {1094.openerp .navbar .oe_topbar_item:hover {
1107 background: rgba(0, 0, 0, 0.2);1095 background: rgba(0, 0, 0, 0.2);
1108 text-shadow: black 0px 0px 3px;1096 text-shadow: black 0px 0px 3px;
1109 color: white;1097 color: white;
@@ -1111,7 +1099,7 @@
1111 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;1099 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;
1112 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;1100 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;
1113}1101}
1114.openerp .oe_topbar .oe_topbar_avatar {1102.openerp .navbar .oe_topbar_avatar {
1115 width: 24px;1103 width: 24px;
1116 height: 24px;1104 height: 24px;
1117 margin: -2px 2px 0 0;1105 margin: -2px 2px 0 0;
@@ -1119,13 +1107,13 @@
1119 -webkit-border-radius: 3px;1107 -webkit-border-radius: 3px;
1120 border-radius: 3px;1108 border-radius: 3px;
1121}1109}
1122.openerp .oe_topbar .oe_topbar_avatar {1110.openerp .navbar .oe_topbar_avatar {
1123 vertical-align: top;1111 vertical-align: top;
1124}1112}
1125.openerp .oe_topbar .oe_dropdown_arrow:after {1113.openerp .navbar .oe_dropdown_arrow:after {
1126 border-top: 4px solid white;1114 border-top: 4px solid white;
1127}1115}
1128.openerp .oe_topbar .oe_dropdown_menu {1116.openerp .navbar .dropdown_menu {
1129 top: 32px;1117 top: 32px;
1130 background: #333333;1118 background: #333333;
1131 background: rgba(37, 37, 37, 0.9);1119 background: rgba(37, 37, 37, 0.9);
@@ -1140,14 +1128,14 @@
1140 -moz-background-clip: padding-box;1128 -moz-background-clip: padding-box;
1141 background-clip: padding-box;1129 background-clip: padding-box;
1142}1130}
1143.openerp .oe_topbar .oe_dropdown_menu li {1131.openerp .navbar .dropdown_menu li {
1144 float: none;1132 float: none;
1145 padding: 3px 12px;1133 padding: 3px 12px;
1146}1134}
1147.openerp .oe_topbar .oe_dropdown_menu li a {1135.openerp .navbar .dropdown_menu li a {
1148 color: #eeeeee;1136 color: #eeeeee;
1149}1137}
1150.openerp .oe_topbar .oe_dropdown_menu li:hover {1138.openerp .navbar .dropdown_menu li:hover {
1151 background-color: #212121;1139 background-color: #212121;
1152 background-image: -webkit-gradient(linear, left top, left bottom, from(#292929), to(#191919));1140 background-image: -webkit-gradient(linear, left top, left bottom, from(#292929), to(#191919));
1153 background-image: -webkit-linear-gradient(top, #292929, #191919);1141 background-image: -webkit-linear-gradient(top, #292929, #191919);
@@ -1159,21 +1147,20 @@
1159 -webkit-box-shadow: none;1147 -webkit-box-shadow: none;
1160 box-shadow: none;1148 box-shadow: none;
1161}1149}
1162.openerp .oe_topbar .oe_topbar_name {1150.openerp .navbar .oe_topbar_name {
1163 max-width: 150px;1151 max-width: 150px;
1164 overflow: hidden;
1165 display: inline-block;1152 display: inline-block;
1166 max-height: 100%;1153 max-height: 100%;
1167 text-overflow: ellipsis;1154 text-overflow: ellipsis;
1168 white-space: nowrap;1155 white-space: nowrap;
1169}1156}
1170.openerp .oe_menu {1157.openerp .navbar-nav {
1171 float: left;1158 float: left;
1172 padding: 0;1159 padding: 0;
1173 margin: 0;1160 margin: 0;
1174 font-size: 13px;1161 font-size: 13px;
1175}1162}
1176.openerp .oe_menu > li {1163.openerp .navbar-nav > li {
1177 list-style-type: none;1164 list-style-type: none;
1178 padding: 0;1165 padding: 0;
1179 margin: 0;1166 margin: 0;
@@ -1181,13 +1168,13 @@
1181 display: block;1168 display: block;
1182 color: #eeeeee;1169 color: #eeeeee;
1183}1170}
1184.openerp .oe_menu > li > a {1171.openerp .navbar-nav > li > a {
1185 display: block;1172 display: block;
1186 padding: 5px 10px 7px;1173 padding: 5px 10px 26px !important;
1187 line-height: 20px;1174 line-height: 20px;
1188 height: 20px;1175 height: 20px;
1189 text-decoration: none;1176 text-decoration: none;
1190 color: #eeeeee;1177 color: #eeeeee !important;
1191 vertical-align: top;1178 vertical-align: top;
1192 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);1179 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
1193 -webkit-transition: all 0.2s ease-out;1180 -webkit-transition: all 0.2s ease-out;
@@ -1196,7 +1183,7 @@
1196 -o-transition: all 0.2s ease-out;1183 -o-transition: all 0.2s ease-out;
1197 transition: all 0.2s ease-out;1184 transition: all 0.2s ease-out;
1198}1185}
1199.openerp .oe_menu > li > a:hover {1186.openerp .navbar-nav > li > a:hover {
1200 background: rgba(0, 0, 0, 0.2);1187 background: rgba(0, 0, 0, 0.2);
1201 text-shadow: black 0px 0px 3px;1188 text-shadow: black 0px 0px 3px;
1202 color: white;1189 color: white;
@@ -1204,7 +1191,7 @@
1204 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;1191 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;
1205 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;1192 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;
1206}1193}
1207.openerp .oe_menu > li > .oe_active {1194.openerp .navbar-nav > li > .active {
1208 background: rgba(0, 0, 0, 0.3);1195 background: rgba(0, 0, 0, 0.3);
1209 text-shadow: black 0px 0px 3px;1196 text-shadow: black 0px 0px 3px;
1210 -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;1197 -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;
@@ -2298,7 +2285,7 @@
2298}2285}
2299.openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span {2286.openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span {
2300 font-size: 80%;2287 font-size: 80%;
2301 color: darkGreen;2288 color: darkgreen;
2302 vertical-align: top;2289 vertical-align: top;
2303 position: relative;2290 position: relative;
2304 top: -4px;2291 top: -4px;
@@ -3443,7 +3430,6 @@
3443 overflow: hidden !important;3430 overflow: hidden !important;
3444 }3431 }
3445}3432}
3446
3447.nav li > a {3433.nav li > a {
3448 padding: 3px 4px 2px 18px;3434 padding: 3px 4px 2px 18px;
3449 color: #4c4c4c;3435 color: #4c4c4c;
@@ -3476,7 +3462,12 @@
3476 line-height: normal;3462 line-height: normal;
3477}3463}
34783464
3479h1, h2, h3 {3465h1, h2 {
3466 font-weight: bold;
3467}
3468
3469h3 {
3470 font-size: 1.17em;
3480 font-weight: bold;3471 font-weight: bold;
3481}3472}
34823473
@@ -3502,6 +3493,69 @@
3502 margin-top: 0px;3493 margin-top: 0px;
3503}3494}
35043495
3496.navbar {
3497 min-height: 32px;
3498 margin-bottom: 0px;
3499 border: none;
3500 background-color: #414141;
3501 background-color: #454343;
3502 background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626));
3503 background-image: -webkit-linear-gradient(top, #646060, #262626);
3504 background-image: -moz-linear-gradient(top, #646060, #262626);
3505 background-image: -ms-linear-gradient(top, #646060, #262626);
3506 background-image: -o-linear-gradient(top, #646060, #262626);
3507 background-image: linear-gradient(to bottom, #646060, #262626);
3508}
3509
3510.navbar-default .navbar-nav li a:hover, .navbar-default .navbar-nav li a:focus {
3511 background: rgba(0, 0, 0, 0.3);
3512}
3513.navbar-default .navbar-nav .open > a, .navbar-default .navbar-nav a:hover, .navbar-default .navbar-nav a:focus {
3514 background: rgba(0, 0, 0, 0.3) !important;
3515}
3516.navbar-default .navbar-nav .dropdown > a .caret {
3517 border-top-color: #777777 !important;
3518 border-bottom-color: #777777 !important;
3519}
3520
3521.navbar-nav li a {
3522 padding: 4px 32px 4px 12px;
3523}
3524
3525.dropdown-menu {
3526 font-size: 13px;
3527 padding: 4px 0;
3528 background: #333333 !important;
3529 background: rgba(37, 37, 37, 0.9) !important;
3530 border-color: #999999;
3531 border-color: rgba(0, 0, 0, 0.2);
3532 background-color: #414141;
3533 text-shadow: none;
3534 background-color: #454343;
3535 background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626));
3536 background-image: -webkit-linear-gradient(top, #646060, #262626);
3537 background-image: -moz-linear-gradient(top, #646060, #262626);
3538 background-image: -ms-linear-gradient(top, #646060, #262626);
3539 background-image: -o-linear-gradient(top, #646060, #262626);
3540 background-image: linear-gradient(to bottom, #646060, #262626);
3541 -moz-border-radius: 3px;
3542 -webkit-border-radius: 3px;
3543 border-radius: 3px;
3544}
3545.dropdown-menu li a, .dropdown-menu li a:hover, .dropdown-menu li a:focus {
3546 color: #eeeeee;
3547}
3548
3549.ui-icon {
3550 width: 18px;
3551 height: 18px;
3552}
3553
3554input[type="radio"], input[type="checkbox"] {
3555 margin-right: 4px;
3556 margin-left: 4px;
3557}
3558
3505.blockUI.blockOverlay {3559.blockUI.blockOverlay {
3506 background-color: black;3560 background-color: black;
3507 opacity: 0.6;3561 opacity: 0.6;
35083562
=== modified file 'addons/web/static/src/css/base.sass'
--- addons/web/static/src/css/base.sass 2013-11-14 11:23:43 +0000
+++ addons/web/static/src/css/base.sass 2013-11-14 12:15:39 +0000
@@ -831,7 +831,7 @@
831 text-align: center831 text-align: center
832 a832 a
833 color: #eee833 color: #eee
834 margin: 0 8px834 margin: 0 6px
835 &:hover835 &:hover
836 text-decoration: underline836 text-decoration: underline
837 span837 span
@@ -874,11 +874,7 @@
874 // }}}874 // }}}
875 // Top Menu {{{875 // Top Menu {{{
876876
877 .oe_topbar877 .navbar
878 width: 100%
879 height: 32px
880 background-color: #414141
881 @include vertical-gradient(#646060, #262626)
882 .oe_topbar_anonymous_login878 .oe_topbar_anonymous_login
883 background-color: #dc5f59879 background-color: #dc5f59
884 color: #eeeeee880 color: #eeeeee
@@ -887,7 +883,7 @@
887 display: block883 display: block
888 padding: 5px 10px 7px884 padding: 5px 10px 7px
889 line-height: 20px885 line-height: 20px
890 height: 20px886 height: 30px
891 text-decoration: none887 text-decoration: none
892 color: white888 color: white
893 background: transparent889 background: transparent
@@ -899,7 +895,7 @@
899 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)895 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
900 .oe_topbar_item896 .oe_topbar_item
901 display: block897 display: block
902 padding: 5px 10px 7px898 padding: 5px 10px 26px
903 line-height: 20px899 line-height: 20px
904 height: 20px900 height: 20px
905 text-decoration: none901 text-decoration: none
@@ -922,7 +918,7 @@
922 vertical-align: top918 vertical-align: top
923 .oe_dropdown_arrow:after919 .oe_dropdown_arrow:after
924 border-top: 4px solid white920 border-top: 4px solid white
925 .oe_dropdown_menu921 .dropdown_menu
926 top: 32px922 top: 32px
927 background: #333923 background: #333
928 background: rgba(37,37,37,0.9)924 background: rgba(37,37,37,0.9)
@@ -942,7 +938,6 @@
942 @include box-shadow(none)938 @include box-shadow(none)
943 .oe_topbar_name939 .oe_topbar_name
944 max-width: 150px940 max-width: 150px
945 overflow: hidden
946 display: inline-block941 display: inline-block
947 max-height: 100%942 max-height: 100%
948 text-overflow: ellipsis943 text-overflow: ellipsis
@@ -952,7 +947,7 @@
952 // So why aren't the buttons oe_topbar_items ? This sad state of affairs947 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
953 // is a leftover from an uncomplete refactoring when the left and top menu948 // is a leftover from an uncomplete refactoring when the left and top menu
954 // were merged. You are welcome to refactor and clean this up949 // were merged. You are welcome to refactor and clean this up
955 .oe_menu950 .navbar-nav
956 float: left951 float: left
957 padding: 0952 padding: 0
958 margin: 0953 margin: 0
@@ -966,11 +961,11 @@
966 color: #eeeeee961 color: #eeeeee
967 > a962 > a
968 display: block963 display: block
969 padding: 5px 10px 7px964 padding: 5px 10px 26px !important
970 line-height: 20px965 line-height: 20px
971 height: 20px966 height: 20px
972 text-decoration: none967 text-decoration: none
973 color: #eee968 color: #eee !important
974 vertical-align: top969 vertical-align: top
975 text-shadow: 0 1px 1px rgba(0,0,0,0.2)970 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
976 @include transition(all 0.2s ease-out)971 @include transition(all 0.2s ease-out)
@@ -979,7 +974,7 @@
979 text-shadow: black 0px 0px 3px974 text-shadow: black 0px 0px 3px
980 color: white975 color: white
981 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)976 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
982 > .oe_active977 > .active
983 background: rgba(0,0,0,0.30)978 background: rgba(0,0,0,0.30)
984 text-shadow: black 0px 0px 3px979 text-shadow: black 0px 0px 3px
985 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)980 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
@@ -2764,7 +2759,10 @@
2764// Customize for global tags2759// Customize for global tags
2765button, body2760button, body
2766 line-height: normal2761 line-height: normal
2767h1,h2,h32762h1,h2
2763 font-weight: bold
2764h3
2765 font-size: 1.17em
2768 font-weight: bold2766 font-weight: bold
2769// End of customize2767// End of customize
27702768
@@ -2789,6 +2787,53 @@
2789 margin-top: 0px2787 margin-top: 0px
2790// End of customize2788// End of customize
27912789
2790// navbar hack {{{
2791.navbar
2792 min-height: 32px
2793 margin-bottom: 0px
2794 border: none
2795 background-color: #414141
2796 @include vertical-gradient(#646060, #262626)
2797.navbar-default
2798 .navbar-nav
2799 li
2800 a:hover,a:focus
2801 background: rgba(0, 0, 0, 0.3)
2802 .open > a,a:hover,a:focus
2803 background: rgba(0, 0, 0, 0.3) !important
2804 .dropdown > a .caret
2805 border-top-color: #777 !important
2806 border-bottom-color: #777 !important
2807.navbar-nav
2808 li
2809 a
2810 padding: 4px 32px 4px 12px
2811.dropdown-menu
2812 font-size: 13px
2813 padding: 4px 0
2814 background: #333333 !important
2815 background: rgba(37, 37, 37, 0.9) !important
2816 border-color: #999999
2817 border-color: rgba(0, 0, 0, 0.2)
2818 background-color: #414141
2819 text-shadow: none
2820 @include vertical-gradient(#646060, #262626)
2821 @include radius(3px)
2822 li
2823 a,a:hover,a:focus
2824 color: #eeeeee
2825// End hack }}}
2826
2827// Hack for ui icon {{{
2828.ui-icon
2829 width: 18px
2830 height: 18px
2831// End hack}}}
2832
2833input[type="radio"], input[type="checkbox"]
2834 margin-right: 4px
2835 margin-left: 4px
2836
2792.blockUI.blockOverlay2837.blockUI.blockOverlay
2793 background-color: black2838 background-color: black
2794 opacity: 0.60000002384185792839 opacity: 0.6000000238418579
27952840
=== modified file 'addons/web/static/src/js/chrome.js'
--- addons/web/static/src/js/chrome.js 2013-11-07 12:10:25 +0000
+++ addons/web/static/src/js/chrome.js 2013-11-14 12:15:39 +0000
@@ -982,8 +982,8 @@
982 reflow: function() {982 reflow: function() {
983 var self = this;983 var self = this;
984 this.$el.height('auto').show();984 this.$el.height('auto').show();
985 var $more_container = this.$('.oe_menu_more_container').hide();985 var $more_container = this.$('#menu_more_container').hide();
986 var $more = this.$('.oe_menu_more');986 var $more = this.$('#menu_more');
987 $more.children('li').insertBefore($more_container);987 $more.children('li').insertBefore($more_container);
988 var $toplevel_items = this.$el.children('li').not($more_container).hide();988 var $toplevel_items = this.$el.children('li').not($more_container).hide();
989 $toplevel_items.each(function() {989 $toplevel_items.each(function() {
@@ -1143,7 +1143,7 @@
1143 start: function() {1143 start: function() {
1144 var self = this;1144 var self = this;
1145 this._super.apply(this, arguments);1145 this._super.apply(this, arguments);
1146 this.$el.on('click', '.oe_dropdown_menu li a[data-menu]', function(ev) {1146 this.$el.on('click', '.dropdown-menu li a[data-menu]', function(ev) {
1147 ev.preventDefault();1147 ev.preventDefault();
1148 var f = self['on_menu_' + $(this).data('menu')];1148 var f = self['on_menu_' + $(this).data('menu')];
1149 if (f) {1149 if (f) {
@@ -1284,7 +1284,7 @@
1284 self.action_manager.appendTo(self.$('.oe_application'));1284 self.action_manager.appendTo(self.$('.oe_application'));
1285 },1285 },
1286 toggle_bars: function(value) {1286 toggle_bars: function(value) {
1287 this.$('tr:has(td.oe_topbar),.oe_leftbar').toggle(value);1287 this.$('tr:has(td.navbar),.oe_leftbar').toggle(value);
1288 },1288 },
1289 has_uncommitted_changes: function() {1289 has_uncommitted_changes: function() {
1290 return false;1290 return false;
12911291
=== modified file 'addons/web/static/src/xml/base.xml'
--- addons/web/static/src/xml/base.xml 2013-11-07 12:10:25 +0000
+++ addons/web/static/src/xml/base.xml 2013-11-14 12:15:39 +0000
@@ -320,7 +320,7 @@
320</t>320</t>
321<t t-name="DatabaseManager.menu">321<t t-name="DatabaseManager.menu">
322 <div class="oe_secondary_menu_section">Database Management</div>322 <div class="oe_secondary_menu_section">Database Management</div>
323 <ul class="oe_secondary_submenu">323 <ul class="oe_secondary_submenu nav nav-pills nav-stacked">
324 <li><a href="#db_create">Create</a></li>324 <li><a href="#db_create">Create</a></li>
325 <li><a href="#db_duplicate">Duplicate</a></li>325 <li><a href="#db_duplicate">Duplicate</a></li>
326 <li><a href="#db_drop">Drop</a></li>326 <li><a href="#db_drop">Drop</a></li>
@@ -362,15 +362,13 @@
362</t>362</t>
363363
364<t t-name="Menu">364<t t-name="Menu">
365 <ul class="oe_menu" t-if="widget.data">365 <ul class="nav navbar-nav navbar-left" t-if="widget.data">
366 <li t-foreach="widget.data.data.children" t-as="menu">366 <li t-foreach="widget.data.data.children" t-as="menu">
367 <t t-call="Menu.link"/>367 <t t-call="Menu.link"/>
368 </li>368 </li>
369 <li class="oe_menu_more_container" style="display: none;">369 <li id="menu_more_container" class="dropdown" style="display: none;">
370 <span class="oe_topbar_item oe_menu_more_link oe_dropdown_toggle oe_dropdown_arrow">370 <a href="#" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
371 More371 <ul id="menu_more" class="dropdown-menu"></ul>
372 <ul class="oe_menu_more oe_dropdown_menu"/>
373 </span>
374 </li>372 </li>
375 </ul>373 </ul>
376</t>374</t>
@@ -417,17 +415,21 @@
417</t>415</t>
418416
419<t t-name="UserMenu">417<t t-name="UserMenu">
420 <span class="oe_user_menu oe_topbar_item oe_dropdown_toggle oe_dropdown_arrow">418 <ul class="nav navbar-nav navbar-right">
421 <img class="oe_topbar_avatar" t-att-data-default-src="_s + '/web/static/src/img/user_menu_avatar.png'"/>419 <li class="dropdown">
422 <span class="oe_topbar_name"/>420 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
423 <ul class="oe_dropdown_menu">421 <img class="oe_topbar_avatar" t-att-data-default-src="_s + '/web/static/src/img/user_menu_avatar.png'"/>
424 <li><a href="#" data-menu="settings">Preferences</a></li>422 <span class="oe_topbar_name"/> <b class="caret"></b>
425 <li><a href="#" data-menu="account">My OpenERP.com account</a></li>423 </a>
426 <li><a href="#" data-menu="about">About OpenERP</a></li>424 <ul class="dropdown-menu">
427 <li><a href="#" data-menu="help">Help</a></li>425 <li><a href="#" data-menu="settings">Preferences</a></li>
428 <li><a href="#" data-menu="logout">Log out</a></li>426 <li><a href="#" data-menu="account">My OpenERP.com account</a></li>
429 </ul>427 <li><a href="#" data-menu="about">About OpenERP</a></li>
430 </span>428 <li><a href="#" data-menu="help">Help</a></li>
429 <li><a href="#" data-menu="logout">Log out</a></li>
430 </ul>
431 </li>
432 </ul>
431</t>433</t>
432<t t-name="UserMenu.about">434<t t-name="UserMenu.about">
433435
@@ -450,7 +452,7 @@
450 <div class="openerp openerp_webclient_container">452 <div class="openerp openerp_webclient_container">
451 <table class="oe_webclient">453 <table class="oe_webclient">
452 <tr>454 <tr>
453 <td colspan="2" class="oe_topbar">455 <td colspan="2" class="navbar navbar-default navbar-static-top" role="navigation">
454 <div class="oe_menu_placeholder"/>456 <div class="oe_menu_placeholder"/>
455 <div class="oe_user_menu_placeholder"/>457 <div class="oe_user_menu_placeholder"/>
456 <div class="oe_systray"/>458 <div class="oe_systray"/>
457459
=== modified file 'addons/web_calendar/static/src/css/web_calendar.css'
--- addons/web_calendar/static/src/css/web_calendar.css 2013-01-23 10:03:22 +0000
+++ addons/web_calendar/static/src/css/web_calendar.css 2013-11-14 12:15:39 +0000
@@ -24,3 +24,24 @@
24.openerp .oe_calendar.oe_cal_month .dhx_cal_data table tr td:last-child div.dhx_month_body {24.openerp .oe_calendar.oe_cal_month .dhx_cal_data table tr td:last-child div.dhx_month_body {
25 padding-right: 5px;25 padding-right: 5px;
26}26}
27
28.dhx_cal_tab {
29 height: 18px;
30}
31
32.dhx_cal_tab.active {
33 height: 20px;
34}
35
36.dhx_cal_today_button {
37 height: 20px;
38}
39
40.dhx_cal_event .dhx_body {
41 width: auto !important;
42 height: 28px !important;
43}
44
45.dhx_scale_hour {
46 height: 42px !important;
47}
2748
=== modified file 'addons/web_calendar/static/src/css/web_calendar.sass'
--- addons/web_calendar/static/src/css/web_calendar.sass 2013-01-23 10:03:22 +0000
+++ addons/web_calendar/static/src/css/web_calendar.sass 2013-11-14 12:15:39 +0000
@@ -31,5 +31,19 @@
31 table tr td:last-child div.dhx_month_body31 table tr td:last-child div.dhx_month_body
32 padding-right: 5px32 padding-right: 5px
3333
34// Hack for calender {{{
35.dhx_cal_tab
36 height: 18px
37.dhx_cal_tab.active
38 height: 20px
39.dhx_cal_today_button
40 height: 20px
41.dhx_cal_event .dhx_body
42 width: auto !important
43 height: 28px !important
44.dhx_scale_hour
45 height: 42px !important
46// End hack }}}
47
34// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"48// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
35// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:49// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:

Subscribers

People subscribed via source and target branches

to all changes: