Discovery minor fixes

Former-commit-id: 3914d7a99fb70d88c1a1f95d3c2aeb100f277266
This commit is contained in:
fbsanchez 2019-02-22 19:18:07 +01:00
parent 4abf19722b
commit 8b5f50f883
4 changed files with 44 additions and 24 deletions

View File

@ -124,8 +124,20 @@ class HostDevices extends Wizard
]; ];
} }
$this->prepareBreadcrum(
[
[
'link' => ui_get_full_url(
'index.php?sec=gservers&sec2=godmode/servers/discovery'
),
'label' => __('Discovery'),
],
]
);
$this->printHeader();
$this->printBigButtonsList($buttons); $this->printBigButtonsList($buttons);
$this->printGoBackButton();
return; return;
} }

View File

@ -228,7 +228,7 @@ class Wizard
*/ */
public function printBreadcrum() public function printBreadcrum()
{ {
return '<h1>'.implode('', $this->breadcrum).'</h1>'; return '<h1 class="wizard">'.implode('', $this->breadcrum).'</h1>';
} }

View File

@ -377,7 +377,7 @@ class ConsoleSupervisor
$this->checkMinorRelease(); $this->checkMinorRelease();
if ($this->verbose === true) { if (enterprise_installed()) {
// Release the lock. // Release the lock.
enterprise_hook('cron_supervisor_release_lock'); enterprise_hook('cron_supervisor_release_lock');
} }

View File

@ -13,8 +13,8 @@ li.discovery {
li.discovery > a { li.discovery > a {
text-decoration: none; text-decoration: none;
color: #333;
} }
li.discovery > a:hover { li.discovery > a:hover {
color: #000; color: #000;
} }
@ -46,27 +46,33 @@ div.data_container:hover {
height: auto; height: auto;
text-align: center; text-align: center;
} }
h1.wizard {
padding: 0;
margin: 0;
margin-top: -1.25em;
}
h1.wizard a {
margin-left: -20px;
}
h1.wizard a:hover {
color: #fff;
}
#text_wizard { #text_wizard {
font-weight: bolder; font-weight: bolder;
text-decoration: none; text-decoration: none;
font-size: 24px; font-size: 24px;
} }
.text_color { div.arrow_box {
color: white;
margin-left: 25px;
}
.text_color:hover {
text-decoration: none;
}
.arrow_box {
display: inline-block; display: inline-block;
position: relative; position: relative;
background: #ccc; background: #ccc;
padding: 14px; color: #888;
padding: 1.3em;
margin-left: 20px; margin-left: 20px;
margin-bottom: 10px; margin-bottom: 10px;
padding-left: 3em;
} }
.arrow_box:after,
.arrow_box:before { .arrow_box:before {
top: 50%; top: 50%;
border: solid transparent; border: solid transparent;
@ -75,9 +81,11 @@ div.data_container:hover {
width: 0; width: 0;
position: absolute; position: absolute;
pointer-events: none; pointer-events: none;
z-index: 1;
} }
.arrow_box.selected { .arrow_box.selected {
background: #82b92e; background: #424242;
color: #ccc;
} }
.arrow_box:after { .arrow_box:after {
@ -86,20 +94,20 @@ div.data_container:hover {
border-width: 20px; border-width: 20px;
margin-top: -20px; margin-top: -20px;
} }
.arrow_box:before {
div.arrow_box:before {
left: 100%; left: 100%;
border-left-color: #ccc; border-left-color: #ccc;
border-width: 20px; border-width: 20px;
margin-top: -20px; margin-top: -20px;
} }
.arrow_box.selected:before { .arrow_box.selected:before {
border-left-color: #82b92e; border-left-color: #424242;
} }
.arrow_box {
display: inline-block; .arrow_box.selected:hover {
position: relative; color: #fff;
padding: 14px; }
margin-left: 20px; .arrow_box:hover {
margin-bottom: 10px; color: #000;
padding-left: 3em;
} }