diff --git a/pluginHandler.js b/pluginHandler.js index 3fb25741..9334aa0b 100644 --- a/pluginHandler.js +++ b/pluginHandler.js @@ -199,22 +199,6 @@ module.exports.pluginHandler = function (parent) { return isValid; }; - obj.getPlugins = function(func) { - var plugins = parent.db.getPlugins(); - if (typeof plugins == 'undefined' || plugins.length == 0) { - return null; - } - - plugins.forEach(function(p, x){ - // check semantic version - console.log('FOREACH PLUGIN', p, x); - // callbacks to new versions - - }); - - return plugins; - } - obj.getPluginConfig = function(configUrl) { return new Promise(function(resolve, reject) { var https = require('https'); diff --git a/public/styles/style.css b/public/styles/style.css index 6bbb2ca1..44ac5716 100644 --- a/public/styles/style.css +++ b/public/styles/style.css @@ -233,7 +233,7 @@ body { } /* #UserDummyMenuSpan, */ -#MainSubMenuSpan, #MeshSubMenuSpan, #UserSubMenuSpan, #ServerSubMenuSpan, #MainMenuSpan, #MainSubMenu, #MeshSubMenu, #UserSubMenu, #ServerSubMenu, #UserDummyMenu { +#MainSubMenuSpan, #MeshSubMenuSpan, #UserSubMenuSpan, #ServerSubMenuSpan, #MainMenuSpan, #MainSubMenu, #MeshSubMenu, #UserSubMenu, #ServerSubMenu, #UserDummyMenu, #PluginSubMenu { width: 100%; height: 24px; color: white; @@ -244,6 +244,10 @@ body { display: none; } +.menu_stack #PluginSubMenu { + display: none; +} + #MainMenuSpan { display: table; } @@ -2629,50 +2633,7 @@ a { margin: 50px auto; } -.pluginOverlayBg { - width: 95%; /* Full width (cover the whole page) */ - height: 95%; /* Full height (cover the whole page) */ - margin: 10px; - background-color: rgba(0,0,0,0.8); /* Black background with opacity */ - z-index: 2; /* Specify a stack order in case you're using a different order for other elements */ - position: absolute; - cursor: pointer; /* Add a pointer on hover */ - filter:blur(4px); - -o-filter:blur(4px); - -ms-filter:blur(4px); - -moz-filter:blur(4px); - -webkit-filter:blur(4px); +.pluginContent { + width: 100%; + height: 100%; } - -.pluginOverlay { - width: 95%; /* Full width (cover the whole page) */ - height: 95%; /* Full height (cover the whole page) */ - margin: 10px; - background-color: #FFFFFF; /* Black background with opacity */ - z-index: 2; /* Specify a stack order in case you're using a different order for other elements */ - position: absolute; - cursor: pointer; /* Add a pointer on hover */ -} -.pluginOverlayContent { - width: 100%; /* Full width (cover the whole page) */ - height: 100%; /* Full height (cover the whole page) */ - background-color: #FFFFFF; /* Black background with opacity */ - z-index: 2; /* Specify a stack order in case you're using a different order for other elements */ - position: relative; -} - -.pluginTitleBar { - padding: 4px; - height: 25px; - border-bottom: double; - font-size: 20px; -} - -.pluginCloseBtn { - border: none; - outline: none; - cursor: pointer; - float: right; - position: relative; - padding: 0; -} \ No newline at end of file diff --git a/views/default.handlebars b/views/default.handlebars index 542c01bf..fddf77e3 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -57,6 +57,9 @@
Home |