nodebb-plugin-audio-embed 1.2.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/controllers.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const Controllers = module.exports;
|
|
4
4
|
|
|
5
5
|
Controllers.renderAdminPage = function (req, res, next) {
|
|
6
|
-
res.render('admin/plugins/audio-embed', {
|
|
6
|
+
res.render('admin/plugins/audio-embed', {
|
|
7
|
+
title: 'Audio Embed',
|
|
8
|
+
});
|
|
7
9
|
};
|
|
8
10
|
|
|
9
11
|
Controllers.upload = function(req, res, next) {
|
|
@@ -21,5 +23,3 @@ Controllers.upload = function(req, res, next) {
|
|
|
21
23
|
}
|
|
22
24
|
});
|
|
23
25
|
};
|
|
24
|
-
|
|
25
|
-
module.exports = Controllers;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-plugin-audio-embed",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "library.js",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"readmeFilename": "README.md",
|
|
23
23
|
"nbbpm": {
|
|
24
|
-
"compatibility": "^
|
|
24
|
+
"compatibility": "^3.2.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"async": "^3.2.2",
|
package/plugin.json
CHANGED
|
@@ -9,12 +9,6 @@
|
|
|
9
9
|
{ "hook": "filter:parse.post", "method": "parsePost" },
|
|
10
10
|
{ "hook": "filter:parse.raw", "method": "parseRaw" }
|
|
11
11
|
],
|
|
12
|
-
"staticDirs": {
|
|
13
|
-
"static": "./static"
|
|
14
|
-
},
|
|
15
|
-
"less": [
|
|
16
|
-
"static/style.less"
|
|
17
|
-
],
|
|
18
12
|
"scripts": [
|
|
19
13
|
"static/lib/main.js"
|
|
20
14
|
],
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
<div class="acp-page-container">
|
|
2
|
+
<!-- IMPORT admin/partials/settings/header.tpl -->
|
|
3
|
+
|
|
4
|
+
<div class="row m-0">
|
|
5
|
+
<div id="spy-container" class="col-12 px-0 mb-4" tabindex="0">
|
|
6
|
+
<form role="form" class="quickstart-settings">
|
|
7
|
+
<h5 class="">Uploaded Media</h5>
|
|
8
|
+
<div class="">
|
|
9
|
+
<p class="lead">
|
|
10
|
+
In a later version of this plugin, a listing of all uploaded media will be shown here.
|
|
11
|
+
</p>
|
|
12
|
+
</div>
|
|
13
|
+
</form>
|
|
8
14
|
</div>
|
|
9
15
|
</div>
|
|
10
|
-
</
|
|
16
|
+
</div>
|
package/static/style.less
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/* Place any LESS in here */
|