mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added css hint to discovery tasks when task list is empty
Former-commit-id: 1da71cda1b1ed376bb6bae0281b0dd882dbfbeff
This commit is contained in:
parent
351b7218ee
commit
5998b30a16
@ -35,6 +35,7 @@ ui_require_css_file('firts_task');
|
|||||||
</p>
|
</p>
|
||||||
<form action="index.php?sec=gservers&sec2=godmode/servers/discovery" method="post">
|
<form action="index.php?sec=gservers&sec2=godmode/servers/discovery" method="post">
|
||||||
<input type="submit" class="button_task" value="<?php echo __('Discover'); ?>" />
|
<input type="submit" class="button_task" value="<?php echo __('Discover'); ?>" />
|
||||||
|
<input type="hidden" name="discovery_hint" value="1"/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -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);
|
Wizard::printBigButtonsList($wiz_data);
|
||||||
}
|
}
|
||||||
|
10
pandora_console/include/styles/discovery-hint.css
Normal file
10
pandora_console/include/styles/discovery-hint.css
Normal 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;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user