Added css hint to discovery tasks when task list is empty

Former-commit-id: 1da71cda1b1ed376bb6bae0281b0dd882dbfbeff
This commit is contained in:
Luis Calvo 2019-04-10 17:30:35 +02:00
parent 351b7218ee
commit 5998b30a16
3 changed files with 16 additions and 0 deletions

View File

@ -35,6 +35,7 @@ ui_require_css_file('firts_task');
</p>
<form action="index.php?sec=gservers&sec2=godmode/servers/discovery" method="post">
<input type="submit" class="button_task" value="<?php echo __('Discover'); ?>" />
<input type="hidden" name="discovery_hint" value="1"/>
</form>
</div>
</div>

View File

@ -130,5 +130,10 @@ if ($classname_selected === null) {
}
}
// Show hints if there is no task
if (get_parameter('discovery_hint', 0)) {
ui_require_css_file('discovery-hint');
}
Wizard::printBigButtonsList($wiz_data);
}

View File

@ -0,0 +1,10 @@
/*
* Discovery show help css
*/
li.discovery:not(:first-child) > a:hover {
color: #000;
}
li.discovery:not(:first-child) div.data_container:not(:hover) {
box-shadow: 2px 2px 10px #80ba27;
}