Skip to content

Commit d6d0342

Browse files
committed
Bug Fix 645
1 parent f15c755 commit d6d0342

File tree

30 files changed

+465
-35
lines changed

30 files changed

+465
-35
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ Example: localhost:2052
4040

4141
## Tutorial
4242
(version in video slightly outdated)<br>
43-
[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/LJ_IEe7nZnw/0.jpg)](https://www.youtube.com/watch?v=LJ_IEe7nZnw)
43+
[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/LJ_IEe7nZnw/0.jpg)](https://www.youtube.com/watch?v=LJ_IEe7nZnw)

check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
sleep 4
55
if ! screen -list | grep -q "dcts"; then
66
echo "is not running"
7-
sh /home/example/start.sh
7+
sh /home/dcts/start.sh
88
fi

clear.bat

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@echo off
2+
3+
rmdir chats /S /Q
4+
rmdir logs /S /Q
5+
rmdir config_backups /S /Q
6+
rmdir node_modules /S /Q
7+
8+
del config.json
9+
copy config.example.json config.json

dcts-shipping.rar

21.9 MB
Binary file not shown.

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/chat.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/index.html

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010
src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/3.1.1/socket.io.js"
1111
crossorigin="anonymous"
1212
></script>
13-
<script defer src="chat.js?v=4"></script>
14-
<script src="notify.js?v=3"></script>
13+
14+
<script src="notify.js?v=5"></script>
15+
<script src="prompt.js?v=5"></script>
16+
<script defer src="chat.js?v=6"></script>
1517

1618
<link href="/settings/account/page/profile/profile.css" rel="stylesheet">
19+
<link href="prompt.css" rel="stylesheet">
1720
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
1821

1922
<title>Document</title>
@@ -84,7 +87,7 @@
8487
}
8588

8689
#serverbanner-container {
87-
height: calc(20% - 40px);
90+
height: calc(200px - 40px);
8891
width: calc(100%);
8992
background-color: transparent;
9093
margin: 0 0 20px 0;
@@ -475,6 +478,7 @@
475478

476479
.message-profile-content-message-appended, .message-profile-content-message{
477480
padding: 4px 8px 4px 8px;
481+
text-align: left;
478482
}
479483

480484
.message-profile-content-message-appended:hover{
@@ -812,6 +816,17 @@
812816
display: block;
813817
}
814818

819+
.emoji-entry img.emoji:hover{
820+
cursor: pointer;
821+
border-radius: 10%;
822+
transition: all 200ms;
823+
}
824+
825+
.emoji-entry img.emoji:not(:hover){
826+
border-radius: 0;
827+
transition: all 200ms;
828+
}
829+
815830
#emoji-box-container .emoji-entry .emoji-img img{
816831
float: left;
817832
width: 35px;
@@ -851,8 +866,11 @@
851866
height: 12%;
852867

853868
padding: 4px;
854-
padding-bottom: -2px;
855-
padding-top: 12px;
869+
padding-left: 8px;
870+
padding-bottom: -4px;
871+
padding-top: 16px;
872+
873+
overflow: hidden;
856874
}
857875

858876
#emoji-entry-container {
@@ -897,7 +915,7 @@
897915
color: skyblue;
898916

899917
padding: 2px 4px 2px 4px !important;
900-
margin: 0px 2px 0px 2px;
918+
margin: 0px 2px 0px 0px;
901919

902920
border-radius: 4px;
903921
/*width: calc(100% - 16px) !important;*/

public/notify.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/prompt.css

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
#prompt-container {
2+
background-color: #36393F;
3+
color: white;
4+
padding: 16px;
5+
border-radius: 10px;
6+
border: 1px solid #677073;
7+
max-width: 50%;
8+
9+
display: block;
10+
justify-content: center;
11+
12+
position: fixed;
13+
14+
-webkit-box-shadow: 29px 41px 29px -1px rgba(0,0,0,0.75);
15+
-moz-box-shadow: 29px 41px 29px -1px rgba(0,0,0,0.75);
16+
box-shadow: 29px 41px 29px -1px rgba(0,0,0,0.75);
17+
18+
z-index: 99999;
19+
20+
position: absolute;
21+
top: 50%;
22+
left: 50%;
23+
margin-right: -50%;
24+
transform: translate(-50%, -50%);
25+
26+
animation: fadein 0.5s;
27+
}
28+
29+
#prompt-content-container {
30+
display: flex;
31+
}
32+
33+
#prompt-img-container {
34+
float: left;
35+
background-color: transparent;
36+
margin: auto;
37+
margin-right: 8px;
38+
display: block;
39+
width: 50px;
40+
}
41+
42+
#prompt-text-container {
43+
float: right;
44+
background-color: transparent;
45+
/* width: calc(100% - 50px - 16px); */
46+
padding: 0 8px 0 8px;
47+
48+
}
49+
50+
#prompt-container #prompt-icon {
51+
width: 50px;
52+
height: 50px;
53+
border-radius: 50%;
54+
}
55+
56+
#prompt-container #prompt-title {
57+
background-color: transparent;
58+
display: inline-block;
59+
font-weight: bold;
60+
margin-top: 0px;
61+
}
62+
63+
#prompt-container #prompt-text {
64+
background-color: transparent;
65+
display: block;
66+
display: inline-block;
67+
margin-bottom: 0;
68+
word-break: break-all;
69+
}
70+
71+
#prompt-input-container input {
72+
outline: none;
73+
padding: 2px 4px 2px 4px;
74+
margin: 4px;
75+
background-color: #36393F;
76+
color: white;
77+
border: 1px solid white;
78+
border-radius: 4px;
79+
}
80+
81+
#prompt-input-container {
82+
background-color: transparent;
83+
float: left;
84+
margin-top: 8px;
85+
}
86+
87+
#prompt-input-container button {
88+
margin-top: 16px;
89+
margin-right: 4px;
90+
float: left;
91+
}

0 commit comments

Comments
 (0)