Merge branch 'ent-3800-mal-enrutamiento-discovery' into 'develop'

Ent 3800 mal enrutamiento discovery

See merge request artica/pandorafms!2350
This commit is contained in:
Daniel Rodriguez 2019-06-26 12:02:43 +02:00
commit 6976ba9c8e
3 changed files with 17 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,11 @@ if ($classname_selected === null) {
}
}
// Show hints if there is no task
if (get_parameter('discovery_hint', 0)) {
ui_require_css_file('discovery-hint');
ui_print_info_message(__('You must create a task first'));
}
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;
}