diff --git a/package.json b/package.json index 460a6631fb..c711558e10 100644 --- a/package.json +++ b/package.json @@ -177,6 +177,7 @@ "nightwatch_local_importFromGist": "nightwatch ./test-browser/tests/importFromGist.js --config nightwatch.js --env chrome ", "nightwatch_local_workspace": "nightwatch ./test-browser/tests/workspace.js --config nightwatch.js --env chrome ", "nightwatch_local_defaultLayout": "nightwatch ./test-browser/tests/defaultLayout.js --config nightwatch.js --env chrome ", + "nightwatch_local_pluginManager": "nightwatch ./test-browser/tests/pluginManager.js --config nightwatch.js --env chrome ", "nightwatch_local_publishContract": "nightwatch ./test-browser/tests/publishContract.js --config nightwatch.js --env chrome ", "onchange": "onchange build/app.js -- npm-run-all lint", "prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build", diff --git a/src/app/components/local-plugin.js b/src/app/components/local-plugin.js index 8e37d0ffc6..bcd2929236 100644 --- a/src/app/components/local-plugin.js +++ b/src/app/components/local-plugin.js @@ -76,11 +76,11 @@ module.exports = class LocalPlugin { const radioSelection = (key, label, message) => { return this.profile[key] === label ? yo`
- +
` : yo`
- +
` } @@ -89,15 +89,15 @@ module.exports = class LocalPlugin {
- +
- +
- +
Type of connection (required)
diff --git a/src/app/components/plugin-manager-component.js b/src/app/components/plugin-manager-component.js index 5400c40d19..2c7f06615d 100644 --- a/src/app/components/plugin-manager-component.js +++ b/src/app/components/plugin-manager-component.js @@ -106,11 +106,11 @@ class PluginManagerComponent extends ViewPlugin { const activationButton = isActive ? yo` - ` : yo` - ` @@ -179,34 +179,34 @@ class PluginManagerComponent extends ViewPlugin { ? yo` ` : '' const inactiveTile = inactives.length !== 0 ? yo` ` : '' const settings = new PluginManagerSettings().render() const rootView = yo` -
-
- -
-
+
${activeTile} -
+
${actives.map(name => this.renderItem(name))}
${inactiveTile} -
+
${inactives.map(name => this.renderItem(name))}
diff --git a/src/app/components/plugin-manager-settings.js b/src/app/components/plugin-manager-settings.js index f11f0f60f8..f8cb38cd2b 100644 --- a/src/app/components/plugin-manager-settings.js +++ b/src/app/components/plugin-manager-settings.js @@ -89,9 +89,9 @@ export class PluginManagerSettings {
${checkbox} - +
- +
` } @@ -103,7 +103,7 @@ export class PluginManagerSettings {
${key} :
- +
${byModule}
` @@ -117,7 +117,7 @@ export class PluginManagerSettings { ? yo`

No Permission requested yet.

` : yo`

Current Permission settings

` - return yo` + return yo` ${title}
${permissions} @@ -127,7 +127,7 @@ export class PluginManagerSettings { render () { return yo`
- +
` } diff --git a/src/app/ui/modaldialog.js b/src/app/ui/modaldialog.js index 0c42bc6355..ddf734318b 100644 --- a/src/app/ui/modaldialog.js +++ b/src/app/ui/modaldialog.js @@ -130,7 +130,7 @@ module.exports = (title, content, ok, cancel, focusSelector, opts) => { function html (opts) { return yo` -