instbyte 1.7.0 → 1.9.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/README.md +12 -3
- package/client/css/app.css +943 -443
- package/client/index.html +11 -4
- package/client/js/app.js +569 -168
- package/package.json +1 -1
- package/server/cleanup.js +3 -4
- package/server/config.js +1 -0
- package/server/db.js +3 -0
- package/server/server.js +120 -5
package/client/index.html
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css">
|
|
11
11
|
<link rel="stylesheet" href="/css/app.css">
|
|
12
|
+
|
|
13
|
+
<script src="https://unpkg.com/lucide@0.513.0/dist/umd/lucide.min.js"></script>
|
|
12
14
|
</head>
|
|
13
15
|
|
|
14
16
|
<body>
|
|
@@ -25,10 +27,11 @@
|
|
|
25
27
|
</div>
|
|
26
28
|
</div>
|
|
27
29
|
<div class="header-right">
|
|
28
|
-
<span id="who"></span>
|
|
29
|
-
<
|
|
30
|
-
<button id="themeToggle" onclick="cycleTheme()">🌙</button>
|
|
31
|
-
<button id="logoutBtn" onclick="logout()" class="
|
|
30
|
+
<span id="who" class="username-display" onclick="changeName()" title="Click to change name"></span>
|
|
31
|
+
<span id="onlineCount" class="online-count"></span>
|
|
32
|
+
<button id="themeToggle" onclick="cycleTheme()" class="link-btn theme-toggle" title="Toggle theme">🌙</button>
|
|
33
|
+
<button id="logoutBtn" onclick="logout()" class="logout-btn">logout</button>
|
|
34
|
+
</div>
|
|
32
35
|
</div>
|
|
33
36
|
</header>
|
|
34
37
|
|
|
@@ -54,6 +57,9 @@
|
|
|
54
57
|
</div>
|
|
55
58
|
</div>
|
|
56
59
|
<div id="items"></div>
|
|
60
|
+
<div id="loadMoreWrapper" style="display:none; text-align:center; margin:16px 0;">
|
|
61
|
+
<button id="loadMoreBtn" onclick="loadMore()" class="load-more-btn">Load more</button>
|
|
62
|
+
</div>
|
|
57
63
|
</div>
|
|
58
64
|
|
|
59
65
|
<div id="dragOverlay"
|
|
@@ -83,6 +89,7 @@
|
|
|
83
89
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
|
84
90
|
<script src="/js/app.js"></script>
|
|
85
91
|
|
|
92
|
+
|
|
86
93
|
</body>
|
|
87
94
|
|
|
88
95
|
</html>
|