Display custom fact plugins in module options

This commit is contained in:
Joe Fiorini 2015-05-28 12:20:43 -04:00
parent caf7c30de7
commit 579ee6d721
2 changed files with 9 additions and 8 deletions

View File

@ -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, _) {

View File

@ -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;