notherbase-fs 4.2.9 → 4.3.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/controllers/creation.js +8 -8
- package/notherbase-fs.js +0 -2
- package/package.json +1 -1
- package/{test2/pages → test/the-front}/test-page/index.ejs +3 -34
- package/test/the-front/void/index.ejs +7 -0
- package/{test/pages → test2/the-front}/test-page/index.ejs +3 -34
- package/test2/the-front/void/index.ejs +7 -0
- package/test/pages/void/index.ejs +0 -36
- package/test2/pages/void/index.ejs +0 -36
- /package/test/{pages → the-front}/test-page/emailTime.js +0 -0
- /package/test/{pages → the-front}/void/void.css +0 -0
- /package/test2/{pages → the-front}/test-page/emailTime.js +0 -0
- /package/test2/{pages → the-front}/void/void.css +0 -0
package/controllers/creation.js
CHANGED
|
@@ -17,7 +17,7 @@ export default class Creation {
|
|
|
17
17
|
this.router.get(`/the-front/:frontDetail`, this.frontDetail, this.explore);
|
|
18
18
|
|
|
19
19
|
//pages
|
|
20
|
-
this.router.get(`/:page`, this.page, this.explore);
|
|
20
|
+
// this.router.get(`/:page`, this.page, this.explore);
|
|
21
21
|
|
|
22
22
|
//the-front optional shortcuts
|
|
23
23
|
this.router.get(`/:frontDetail`, this.frontDetail, this.explore);
|
|
@@ -171,11 +171,11 @@ export default class Creation {
|
|
|
171
171
|
* @param {Object} res An Express.js response.
|
|
172
172
|
* @param {Function} next next()
|
|
173
173
|
*/
|
|
174
|
-
page = async (req, res, next) => {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}
|
|
174
|
+
// page = async (req, res, next) => {
|
|
175
|
+
// req.main = `${req.contentPath}/pages/${req.params.page}/index`;
|
|
176
|
+
// req.preprocess = `${req.contentPath}/pages/${req.params.page}/_preprocess`;
|
|
177
|
+
// req.siteTitle = `${req.params.page}`;
|
|
178
|
+
// req.toRender = req.main;
|
|
179
|
+
// next();
|
|
180
|
+
// }
|
|
181
181
|
}
|
package/notherbase-fs.js
CHANGED
package/package.json
CHANGED
|
@@ -1,37 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<title>Test</title>
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
-
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<!-- font-family: 'Roboto' or 'Roboto Condensed', sans-serif; -->
|
|
11
|
-
<link href="https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Condensed:wght@700&display=swap" rel="stylesheet">
|
|
12
|
-
<!-- 'Redacted Script', cursive; -->
|
|
13
|
-
<link href="https://fonts.googleapis.com/css2?family=Redacted+Script:wght@300&display=swap" rel="stylesheet">
|
|
14
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
|
|
15
|
-
<link rel="stylesheet" href="/styles/main.css">
|
|
16
|
-
<link rel="stylesheet" href="/styles/menu.css">
|
|
17
|
-
<link rel="stylesheet" href="/styles/inventory.css">
|
|
18
|
-
<link rel="stylesheet" href="/styles/player.css">
|
|
19
|
-
<link rel="stylesheet" href="/styles/account.css">
|
|
20
|
-
<link rel="stylesheet" href="/styles/more.css">
|
|
21
|
-
<link rel="stylesheet" href="/styles/chat.css">
|
|
22
|
-
<script src="/js/base.js"></script>
|
|
23
|
-
</head>
|
|
24
|
-
<script>
|
|
25
|
-
const currentRoute = "<%- route %>";
|
|
26
|
-
</script>
|
|
27
|
-
|
|
28
|
-
<body>
|
|
29
|
-
<main>
|
|
30
|
-
<div class="chatter" id="adam"></div>
|
|
31
|
-
<input type="text" id="adam">
|
|
32
|
-
<button id="adam">Chat</button>
|
|
33
|
-
</main>
|
|
34
|
-
</body>
|
|
1
|
+
<div class="chatter" id="adam"></div>
|
|
2
|
+
<input type="text" id="adam">
|
|
3
|
+
<button id="adam">Chat</button>
|
|
35
4
|
|
|
36
5
|
<script>
|
|
37
6
|
class Spirit {
|
|
@@ -1,37 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<title>Test</title>
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
-
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<!-- font-family: 'Roboto' or 'Roboto Condensed', sans-serif; -->
|
|
11
|
-
<link href="https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Condensed:wght@700&display=swap" rel="stylesheet">
|
|
12
|
-
<!-- 'Redacted Script', cursive; -->
|
|
13
|
-
<link href="https://fonts.googleapis.com/css2?family=Redacted+Script:wght@300&display=swap" rel="stylesheet">
|
|
14
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
|
|
15
|
-
<link rel="stylesheet" href="/styles/main.css">
|
|
16
|
-
<link rel="stylesheet" href="/styles/menu.css">
|
|
17
|
-
<link rel="stylesheet" href="/styles/inventory.css">
|
|
18
|
-
<link rel="stylesheet" href="/styles/player.css">
|
|
19
|
-
<link rel="stylesheet" href="/styles/account.css">
|
|
20
|
-
<link rel="stylesheet" href="/styles/more.css">
|
|
21
|
-
<link rel="stylesheet" href="/styles/chat.css">
|
|
22
|
-
<script src="/js/base.js"></script>
|
|
23
|
-
</head>
|
|
24
|
-
<script>
|
|
25
|
-
const currentRoute = "<%- route %>";
|
|
26
|
-
</script>
|
|
27
|
-
|
|
28
|
-
<body>
|
|
29
|
-
<main>
|
|
30
|
-
<div class="chatter" id="adam"></div>
|
|
31
|
-
<input type="text" id="adam">
|
|
32
|
-
<button id="adam">Chat</button>
|
|
33
|
-
</main>
|
|
34
|
-
</body>
|
|
1
|
+
<div class="chatter" id="adam"></div>
|
|
2
|
+
<input type="text" id="adam">
|
|
3
|
+
<button id="adam">Chat</button>
|
|
35
4
|
|
|
36
5
|
<script>
|
|
37
6
|
class Spirit {
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<title>Test</title>
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
-
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<!-- font-family: 'Roboto' or 'Roboto Condensed', sans-serif; -->
|
|
11
|
-
<link href="https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Condensed:wght@700&display=swap" rel="stylesheet">
|
|
12
|
-
<!-- 'Redacted Script', cursive; -->
|
|
13
|
-
<link href="https://fonts.googleapis.com/css2?family=Redacted+Script:wght@300&display=swap" rel="stylesheet">
|
|
14
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
|
|
15
|
-
<link rel="stylesheet" href="/styles/main.css">
|
|
16
|
-
<link rel="stylesheet" href="/styles/menu.css">
|
|
17
|
-
<link rel="stylesheet" href="/styles/inventory.css">
|
|
18
|
-
<link rel="stylesheet" href="/styles/player.css">
|
|
19
|
-
<link rel="stylesheet" href="/styles/account.css">
|
|
20
|
-
<link rel="stylesheet" href="/styles/more.css">
|
|
21
|
-
<link rel="stylesheet" href="/styles/chat.css">
|
|
22
|
-
<script src="/js/base.js"></script>
|
|
23
|
-
</head>
|
|
24
|
-
<script>
|
|
25
|
-
const currentRoute = "<%- route %>";
|
|
26
|
-
</script>
|
|
27
|
-
<style>
|
|
28
|
-
<%- include("./void.css"); %>
|
|
29
|
-
</style>
|
|
30
|
-
|
|
31
|
-
<body>
|
|
32
|
-
<main>
|
|
33
|
-
<a href="/">Leave the Void</a>
|
|
34
|
-
</main>
|
|
35
|
-
</body>
|
|
36
|
-
</html>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<title>Test</title>
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
-
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<!-- font-family: 'Roboto' or 'Roboto Condensed', sans-serif; -->
|
|
11
|
-
<link href="https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Condensed:wght@700&display=swap" rel="stylesheet">
|
|
12
|
-
<!-- 'Redacted Script', cursive; -->
|
|
13
|
-
<link href="https://fonts.googleapis.com/css2?family=Redacted+Script:wght@300&display=swap" rel="stylesheet">
|
|
14
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
|
|
15
|
-
<link rel="stylesheet" href="/styles/main.css">
|
|
16
|
-
<link rel="stylesheet" href="/styles/menu.css">
|
|
17
|
-
<link rel="stylesheet" href="/styles/inventory.css">
|
|
18
|
-
<link rel="stylesheet" href="/styles/player.css">
|
|
19
|
-
<link rel="stylesheet" href="/styles/account.css">
|
|
20
|
-
<link rel="stylesheet" href="/styles/more.css">
|
|
21
|
-
<link rel="stylesheet" href="/styles/chat.css">
|
|
22
|
-
<script src="/js/base.js"></script>
|
|
23
|
-
</head>
|
|
24
|
-
<script>
|
|
25
|
-
const currentRoute = "<%- route %>";
|
|
26
|
-
</script>
|
|
27
|
-
<style>
|
|
28
|
-
<%- include("./void.css"); %>
|
|
29
|
-
</style>
|
|
30
|
-
|
|
31
|
-
<body>
|
|
32
|
-
<main>
|
|
33
|
-
<a href="/">Leave the Void</a>
|
|
34
|
-
</main>
|
|
35
|
-
</body>
|
|
36
|
-
</html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|