mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 13:27:40 -02: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) ?
|
var config = moduleConfig.hasOwnProperty(name) ?
|
||||||
moduleConfig[name] : moduleConfig.custom;
|
moduleConfig[name] : moduleConfig.custom;
|
||||||
|
|
||||||
return {
|
config.name = name;
|
||||||
name: name,
|
config.displayName = displayName;
|
||||||
displayName: displayName,
|
|
||||||
compareKey: config.compareKey,
|
return config;
|
||||||
nameKey: config.nameKey,
|
|
||||||
displayType: config.displayType
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function factory(hostId, rest, getBasePath, _) {
|
function factory(hostId, rest, getBasePath, _) {
|
||||||
|
|||||||
@@ -3,9 +3,13 @@
|
|||||||
.FactModuleFilter {
|
.FactModuleFilter {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-flow: row wrap;
|
||||||
margin-bottom: 2.8rem;
|
margin-bottom: 2.8rem;
|
||||||
&-module {
|
&-module {
|
||||||
flex: 1;
|
flex: 1 1 20%;
|
||||||
|
@media screen and (max-width: 750px) {
|
||||||
|
flex-basis: 50%;
|
||||||
|
}
|
||||||
&--isActive {
|
&--isActive {
|
||||||
// copied from bootstrap's .btn:focus
|
// copied from bootstrap's .btn:focus
|
||||||
background-color: #ebebeb;
|
background-color: #ebebeb;
|
||||||
|
|||||||
Reference in New Issue
Block a user