notherbase-fs 3.3.0 → 3.3.1
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 +11 -8
- package/controllers/spirit-world.js +5 -2
- package/controllers/user.js +31 -0
- package/models/index.js +2 -0
- package/models/spirit.js +18 -5
- package/models/user.js +0 -93
- package/notherbase-fs.js +10 -3
- package/package.json +1 -1
- package/public/js/base.js +28 -233
- package/public/js/chat-box.js +13 -0
- package/public/styles/main.css +288 -143
- package/test/coast/tall-beach/nono-cove/index.ejs +1 -0
- package/test/pages/check/index-old.ejs +105 -0
- package/test/pages/void/index.ejs +32 -1
- package/test/the-front/check/emailTime.js +0 -2
- package/test/the-front/check/index.ejs +1 -1
- package/test/the-front/index.ejs +1 -1
- package/views/explorer.ejs +6 -8
- package/views/footer.ejs +1 -1
- package/views/head.ejs +0 -6
- package/public/styles/account.css +0 -45
- package/public/styles/inventory.css +0 -76
- package/public/styles/menu.css +0 -135
- package/public/styles/more.css +0 -17
- package/public/styles/player.css +0 -36
- package/test/the-front/add-gold.js +0 -23
- package/test/the-front/check/add-more-gold.js +0 -3
- package/test/the-front/check/subtract-gold.js +0 -3
- package/test/the-front/checks.js +0 -11
- package/test/the-front/incTranslation.js +0 -9
- package/views/basic-footer.ejs +0 -2
- package/views/menu/account.ejs +0 -39
- package/views/menu/inventory.ejs +0 -8
- package/views/menu/more.ejs +0 -2
- package/views/menu/player.ejs +0 -3
- package/views/menu.ejs +0 -43
package/views/menu.ejs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<div class="fade invisible" onclick="base.closeMenu()">
|
|
2
|
-
|
|
3
|
-
</div>
|
|
4
|
-
|
|
5
|
-
<div class="menu invisible">
|
|
6
|
-
<div class="tabs">
|
|
7
|
-
<button id="inventory" onclick="base.switchTab('inventory')">
|
|
8
|
-
Inventory
|
|
9
|
-
</button>
|
|
10
|
-
<button id="player" onclick="base.switchTab('player')">
|
|
11
|
-
Player
|
|
12
|
-
</button>
|
|
13
|
-
<button id="account" onclick="base.switchTab('account')">
|
|
14
|
-
Account
|
|
15
|
-
</button>
|
|
16
|
-
<button id="more" onclick="base.switchTab('more')">
|
|
17
|
-
More
|
|
18
|
-
</button>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<button id="close" onclick="base.closeMenu()">
|
|
22
|
-
X
|
|
23
|
-
</button>
|
|
24
|
-
|
|
25
|
-
<div id="content-window">
|
|
26
|
-
<%- include("./menu/inventory.ejs"); %>
|
|
27
|
-
<%- include("./menu/player.ejs"); %>
|
|
28
|
-
<%- include("./menu/account.ejs", { user: user }); %>
|
|
29
|
-
<%- include("./menu/more.ejs"); %>
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<button id="logout" onclick="logoutViaMenu()">Logout</button>
|
|
33
|
-
|
|
34
|
-
<script>
|
|
35
|
-
const logoutViaMenu = async () => {
|
|
36
|
-
let response = await base.logout();
|
|
37
|
-
console.log(response);
|
|
38
|
-
location.reload();
|
|
39
|
-
}
|
|
40
|
-
</script>
|
|
41
|
-
</div>
|
|
42
|
-
|
|
43
|
-
<button id="menu" onclick="base.openMenu()"><i class="fas fa-cog"></i></button>
|