mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 15:15:10 +00:00
[MOD/FIX] Set history limit, change logo, CI
This commit is contained in:
parent
42f02010d4
commit
696def187c
5 changed files with 25 additions and 10 deletions
|
|
@ -84,11 +84,14 @@ RouteHead(RouteRoot, arr, argp)
|
|||
P("color: #eee;");
|
||||
P("font-family: sans-serif;");
|
||||
P("}");
|
||||
P("#cols {");
|
||||
P("column-count: 3;");
|
||||
P("min-width: 100%;");
|
||||
P("max-width: 100%;");
|
||||
P("width: 100%;");
|
||||
P("#ascii {");
|
||||
P("text-align: center;");
|
||||
P("color: #be1337;");
|
||||
P("font-size: 4vw;");
|
||||
P("}");
|
||||
P("#ascii pre {");
|
||||
P("display: inline-block;");
|
||||
P("text-align: left;");
|
||||
P("}");
|
||||
P("img {");
|
||||
P("image-rendering: pixelated;");
|
||||
|
|
@ -115,6 +118,7 @@ RouteHead(RouteRoot, arr, argp)
|
|||
|
||||
P("<body>");
|
||||
{
|
||||
size_t i;
|
||||
P("<center>");
|
||||
P("<h1>Your %s is running, all with that %s!</h1>", NAME, CODE);
|
||||
P("</center>");
|
||||
|
|
@ -124,6 +128,15 @@ RouteHead(RouteRoot, arr, argp)
|
|||
P("%s", GetRandomQuote());
|
||||
}
|
||||
P("</i></blockquote>");
|
||||
P("<pre id='ascii'><code>");
|
||||
for (i = 0; i < PARSEE_ASCII_LINES; i++)
|
||||
{
|
||||
XMLElement *e = XMLCreateText(parsee_ascii[i]);
|
||||
XMLEncode(args->stream, e);
|
||||
XMLFreeElement(e);
|
||||
P("<br/>");
|
||||
}
|
||||
P("</code></pre>");
|
||||
|
||||
P("<p>");
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue