New Last 10 Callers
This commit is contained in:
BIN
dist/ansis/bulletin1.ans
vendored
BIN
dist/ansis/bulletin1.ans
vendored
Binary file not shown.
2
dist/magicka.strings
vendored
2
dist/magicka.strings
vendored
@@ -2,7 +2,7 @@
|
||||
\r\n\r\nTimeout waiting for input..\r\n
|
||||
\r\n\e[1;37mLast 10 callers:\r\n
|
||||
\e[1;30m-------------------------------------------------------------------------------\r\n
|
||||
\e[1;37m%-16s \e[1;36m%-32s \e[1;32m%02d:%02d %02d-%02d-%02d\e[0m\r\n
|
||||
\e[1;37m%-16s \e[1;36m%-32s \e[1;32m%02d:%02d %02d-%02d-%02d \e[1;33m%c\e[0m\r\n
|
||||
\e[1;30m-------------------------------------------------------------------------------\e[0m\r\n
|
||||
\e[1;37mPress any key to continue...\e[0m\r\n
|
||||
\r\n\r\n\e[1;37mSystem Information\r\n
|
||||
|
8
dist/scripts/login_stanza.lua
vendored
8
dist/scripts/login_stanza.lua
vendored
@@ -60,9 +60,13 @@ bbs_write_string("\r\n\r\n\027[1;37mLast 10 callers:\r\n");
|
||||
bbs_write_string("\027[1;30m-------------------------------------------------------------------------------\r\n");
|
||||
|
||||
while (i < 10) do
|
||||
user, location, ltime = bbs_read_last10(i);
|
||||
user, location, ltime, calls = bbs_read_last10(i);
|
||||
if (user ~= nil) then
|
||||
bbs_write_string(string.format("\027[1;37m%-16s \027[1;36m%-32s \027[1;32m%s\r\n", user, location, os.date("%H:%M %d-%m-%y" ,ltime)));
|
||||
if calls == 1 then
|
||||
bbs_write_string(string.format("\027[1;37m%-16s \027[1;36m%-32s \027[1;32m%s \027[1;33mN\r\n", user, location, os.date("%H:%M %d-%m-%y" ,ltime)));
|
||||
else
|
||||
bbs_write_string(string.format("\027[1;37m%-16s \027[1;36m%-32s \027[1;32m%s\r\n", user, location, os.date("%H:%M %d-%m-%y" ,ltime)));
|
||||
end
|
||||
end
|
||||
|
||||
i = i + 1;
|
||||
|
BIN
dist/www-bootstrap/static/newuser.png
vendored
Normal file
BIN
dist/www-bootstrap/static/newuser.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
13
dist/www-bootstrap/static/style-mobile.css
vendored
13
dist/www-bootstrap/static/style-mobile.css
vendored
@@ -341,6 +341,19 @@
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.last10-new {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 1px;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: 100%;
|
||||
flex: 0 0 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#msgbody {
|
||||
background-color: black;
|
||||
color: gray;
|
||||
|
19
dist/www-bootstrap/static/style.css
vendored
19
dist/www-bootstrap/static/style.css
vendored
@@ -331,9 +331,22 @@
|
||||
padding-left: 15px;
|
||||
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: 0 0 33.333333%;
|
||||
flex: 0 0 33.333333%;
|
||||
max-width: 33.333333%;
|
||||
-ms-flex: 0 0 23.333333%;
|
||||
flex: 0 0 23.333333%;
|
||||
max-width: 23.333333%;
|
||||
}
|
||||
|
||||
.last10-new {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 1px;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: 0 0 10%;
|
||||
flex: 0 0 10%;
|
||||
max-width: 10%;
|
||||
}
|
||||
|
||||
#msgbody {
|
||||
|
Reference in New Issue
Block a user