New style for update manager online - #3608

Former-commit-id: 488cdae753c5a7fff6e1c69dce4da9675e4ef425
This commit is contained in:
Tatiana Llorente 2019-04-23 13:57:12 +02:00
parent a79092ded0
commit 1eeba6855e
2 changed files with 30 additions and 2 deletions

View File

@ -233,3 +233,29 @@ a.update_manager_button:after {
.ui-draggable .ui-dialog-titlebar {
cursor: default !important;
}
#box_online #pkg_version {
color: #82b92e;
font-size: 75pt;
font-weight: bold;
}
/* METACONSOLE */
.box_online_meta {
background: none !important;
min-height: 400px !important;
text-align: center;
border: none !important;
}
div#box_online.box_online_meta * {
font-size: 14pt;
}
#box_online.box_online_meta .content {
max-width: 100%;
}
#box_online.box_online_meta #pkg_version {
font-size: 60pt;
}

View File

@ -75,7 +75,9 @@ if (is_metaconsole()) {
}
if (is_metaconsole()) {
echo "<div id='box_online' style='float:right;padding-right:400px;padding-top:40px;padding-bottom:40px;' class='cargatextodialogo'>";
$baseurl = ui_get_full_url(false, false, false, false);
echo ' <link rel="stylesheet" type="text/css" href="'.$baseurl.'/godmode/update_manager/update_manager.css">';
echo "<div id='box_online' class='box_online_meta'>";
} else {
echo "<div id='box_online'>";
}
@ -85,7 +87,7 @@ echo "<img src='images/wait.gif' />";
echo '</span>';
echo '<p style="font-weight: 600;">'.__('The latest version of package installed is:').'</p>';
echo "<div id='pkg_version' style='color:#82b92e;font-size:75pt;font-weight:bold;'>".$current_package.'</div>';
echo "<div id='pkg_version'>".$current_package.'</div>';
echo "<div class='checking_package' style='font-size:18pt;width:100%; display: none;'>";
echo __('Checking for the newest package.');