This commit is contained in:
Magnus Walbeck 2024-08-10 14:48:26 +02:00
parent b69713830b
commit 617736d73e
Signed by: mwalbeck
SSH key fingerprint: SHA256:LW2enW+zg6O/tGp+u4fVcpo+4Bn9y1qGj9SxUIBdK3s
5 changed files with 1 additions and 40 deletions

View file

@ -12,7 +12,6 @@ import octoprint.plugin
class FactotumPlugin(
octoprint.plugin.StartupPlugin,
octoprint.plugin.SettingsPlugin,
octoprint.plugin.AssetPlugin,
octoprint.plugin.TemplatePlugin,
octoprint.plugin.EventHandlerPlugin,
):
@ -35,13 +34,6 @@ class FactotumPlugin(
"basicAuthPassword": "",
}
def get_assets(self):
return {
"js": ["js/Factotum.js"],
"css": ["css/Factotum.css"],
"less": ["less/Factotum.less"],
}
def get_update_information(self):
return {
"Factotum": {

View file

@ -1 +0,0 @@
/* TODO: Have your plugin's CSS files generated to here. */

View file

@ -1,29 +0,0 @@
/*
* View model for OctoPrint-Qrcodespoolswitcher
*
* Author: Magnus Walbeck
* License: AGPLv3
*/
$(function() {
function QrcodespoolswitcherViewModel(parameters) {
var self = this;
// assign the injected parameters, e.g.:
// self.loginStateViewModel = parameters[0];
// self.settingsViewModel = parameters[1];
// TODO: Implement your plugin's view model here.
}
/* view model class, parameters for constructor, container to bind to
* Please see http://docs.octoprint.org/en/master/plugins/viewmodels.html#registering-custom-viewmodels for more details
* and a full list of the available options.
*/
OCTOPRINT_VIEWMODELS.push({
construct: QrcodespoolswitcherViewModel,
// ViewModels your plugin depends on, e.g. loginStateViewModel, settingsViewModel, ...
dependencies: [ /* "loginStateViewModel", "settingsViewModel" */ ],
// Elements to bind to, e.g. #settings_plugin_QRCodeSpoolSwitcher, #tab_plugin_QRCodeSpoolSwitcher, ...
elements: [ /* ... */ ]
});
});

View file

@ -1 +0,0 @@
// TODO: Put your plugin's LESS here, have it generated to ../css.

View file

@ -14,7 +14,7 @@ plugin_package = "octoprint_Factotum"
plugin_name = "OctoPrint-Factotum"
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "0.1.0"
plugin_version = "0.1.1"
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module