mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
Display custom fact plugins in module options
This commit is contained in:
@@ -25,13 +25,10 @@ function makeModule(option) {
|
||||
var config = moduleConfig.hasOwnProperty(name) ?
|
||||
moduleConfig[name] : moduleConfig.custom;
|
||||
|
||||
return {
|
||||
name: name,
|
||||
displayName: displayName,
|
||||
compareKey: config.compareKey,
|
||||
nameKey: config.nameKey,
|
||||
displayType: config.displayType
|
||||
};
|
||||
config.name = name;
|
||||
config.displayName = displayName;
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
function factory(hostId, rest, getBasePath, _) {
|
||||
|
||||
@@ -3,9 +3,13 @@
|
||||
.FactModuleFilter {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
margin-bottom: 2.8rem;
|
||||
&-module {
|
||||
flex: 1;
|
||||
flex: 1 1 20%;
|
||||
@media screen and (max-width: 750px) {
|
||||
flex-basis: 50%;
|
||||
}
|
||||
&--isActive {
|
||||
// copied from bootstrap's .btn:focus
|
||||
background-color: #ebebeb;
|
||||
|
||||
Reference in New Issue
Block a user