Add a system blog

This commit is contained in:
Andrew Pamment
2018-02-27 18:26:32 +10:00
parent 371aa84ea0
commit 396f5c2bb9
29 changed files with 488 additions and 15 deletions

Binary file not shown.

View File

@@ -278,3 +278,9 @@ File exists!\r\n
\e[1;32mConference: \e[1;37m%d. %s\e[0m\r\n
\e[1;32m Area: \e[1;37m%d. %s \e[1;33m(%d New Messages)\e[0m\r\n\r\n
Read Now ? (Y / N):
\e[1;33mSystem Blog\e[0m\r\n
\e[1;30m-------------------------------------------------------------------------------\e[0m\r\n
\e[0mNo Entries...\r\n
\e[1;37m%s (by \e[1;36m%s\e[1;37m)\r\n
\e[1;35m%d:%02d%s %s, %s %d %d\r\n
\r\n\r\n\e[1;37mEnter a title:\e[0m

View File

@@ -30,6 +30,9 @@ while(true) do
i = i + 1;
end
-- Display Blog
bbs_display_blog();
-- Display Info
local bbsname;
local sysopname;

View File

@@ -65,6 +65,9 @@
<li class="nav-item">
<a class="nav-link" href="@@WWW_URL@@">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="@@WWW_URL@@blog/">News</a>
</li>
<li class="nav-item">
<a class="nav-link" href="@@WWW_URL@@last10/">Last 10 Callers</a>
</li>

View File

@@ -354,6 +354,24 @@
max-width: 100%;
}
.blog-header {
border: 1px solid #666666;
background-color: #eee;
padding: 5px;
}
.blog-date {
font-size: small;
}
.blog-author {
font-size: small;
}
.blog-entry {
padding: 25px;
}
#msgbody {
background-color: black;
color: gray;

View File

@@ -288,6 +288,25 @@
background-color: #111111;
}
.blog-header {
border: 1px solid #666666;
background-color: #eee;
padding: 5px;
}
.blog-date {
float: right;
font-size: small;
}
.blog-author {
font-size: small;
}
.blog-entry {
padding: 25px;
}
.last10-row {
background-color: #eee;
display: -webkit-box;