Added extension info to Admin -> Extensions -> Popup

This commit is contained in:
the-djmaze 2024-09-24 16:53:46 +02:00
parent 85ac404722
commit 3931c11255
32 changed files with 150 additions and 101 deletions

View file

@ -34,4 +34,9 @@
display: block;
}
.tab-content {
grid-column-end: 3;
border: 1px solid var(--border-color, #ddd);
padding: 10px;
}
}

View file

@ -18,7 +18,11 @@ export class PluginPopupView extends AbstractViewPopup {
saveError: '',
id: '',
name: '',
readme: ''
readme: '',
author: '',
url: '',
version: '',
released: ''
});
this.config = ko.observableArray();
@ -73,12 +77,20 @@ export class PluginPopupView extends AbstractViewPopup {
this.id('');
this.name('');
this.readme('');
this.author('');
this.url('');
this.version('');
this.released('');
this.config([]);
if (oPlugin) {
this.id(oPlugin.id);
this.name(oPlugin.name);
this.readme(oPlugin.readme);
this.author(oPlugin.author);
this.url(oPlugin.url);
this.version(oPlugin.version);
this.released(oPlugin.released);
const config = oPlugin.config;
if (arrayLength(config)) {