From 3db0e5f1a3d76665a64b519c51bc3f14ac54a747 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Mon, 25 Nov 2019 18:06:41 -0800 Subject: [PATCH] Plugin support improvements. --- package.json | 2 +- pluginHandler.js | 7 ++ views/default-min.handlebars | 77 ++----------------- views/default.handlebars | 80 +++----------------- views/translations/default-min_fr.handlebars | 77 ++----------------- views/translations/default_fr.handlebars | 80 +++----------------- 6 files changed, 48 insertions(+), 275 deletions(-) diff --git a/package.json b/package.json index 11778895..f1ed2617 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.4.4-v", + "version": "0.4.4-w", "keywords": [ "Remote Management", "Intel AMT", diff --git a/pluginHandler.js b/pluginHandler.js index d88cd980..4b50010f 100644 --- a/pluginHandler.js +++ b/pluginHandler.js @@ -15,6 +15,13 @@ "use strict"; require('promise'); +/* +Existing plugins: +https://raw.githubusercontent.com/ryanblenis/MeshCentral-Sample/master/config.json +https://raw.githubusercontent.com/ryanblenis/MeshCentral-DevTools/master/config.json +*/ + + module.exports.pluginHandler = function (parent) { var obj = {}; diff --git a/views/default-min.handlebars b/views/default-min.handlebars index 32da1a27..dfd14abe 100644 --- a/views/default-min.handlebars +++ b/views/default-min.handlebars @@ -1,4 +1,4 @@ -{{{title}}}
{{{title}}}
{{{title2}}}

{{{logoutControl}}}

 

{{{title}}}
{{{title}}}
{{{title2}}}

{{{logoutControl}}}

 

{{{title}}}
{{{title}}}
{{{title2}}}

{{{logoutControl}}}

 

{{{title}}}
{{{title}}}
{{{title2}}}

{{{logoutControl}}}