Merge remote-tracking branch 'origin/master'

This commit is contained in:
Pootle server 2011-11-24 00:40:16 +01:00
commit 702af48772
7 changed files with 20 additions and 16 deletions

View File

@ -246,5 +246,7 @@ if ($num_tables == 0) {
*/
PMA_printButton();
echo "<div id='PMA_print_view'></div>\n";
require './libraries/footer.inc.php';
?>

View File

@ -3694,9 +3694,15 @@ $(document).ready(function() {
* Makes the breadcrumbs and the menu bar float at the top of the viewport
*/
$(document).ready(function () {
if ($("#floating_menubar").length) {
if ($("#floating_menubar").length && $('#PMA_print_view').length == 0) {
$("#floating_menubar")
.css('z-index', 500)
.css({
'position': 'fixed',
'top': 0,
'left': 0,
'width': '100%',
'z-index': 500
})
.append($('#serverinfo'))
.append($('#topmenucontainer'));
$('body').css(

View File

@ -441,5 +441,7 @@ foreach ($the_tables as $key => $table) {
*/
PMA_printButton();
echo "<div id='PMA_print_view'></div>\n";
require './libraries/footer.inc.php';
?>

View File

@ -36,3 +36,7 @@ th {
font-weight: bold;
background-color: #e5e5e5;
}
.hide {
display: none;
}

View File

@ -878,13 +878,6 @@ div#tablestatistics table {
width: 100%;
}
#floating_menubar {
position: fixed;
top: 0;
left: 0;
width: 100%';
}
#serverinfo {
background: white;
font-weight: bold;

View File

@ -36,3 +36,7 @@ th {
font-weight: bold;
background-color: #e5e5e5;
}
.hide {
display: none;
}

View File

@ -1089,13 +1089,6 @@ div#tablestatistics table {
background-color: #dcdcdc;
}
#floating_menubar {
position: fixed;
top: 0;
left: 0;
width: 100%';
}
#serverinfo {
border-bottom:1px solid #fff;
background:#888;