mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
Display custom fact plugins in module options
This commit is contained in:
parent
caf7c30de7
commit
579ee6d721
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user