forked from root/threadr.lostcave.ddnss.de
Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
BodgeMaster | 98596e5695 | |
BodgeMaster | 4052787790 | |
BodgeMaster | e1cac20414 | |
BodgeMaster | aec8caa11a | |
BodgeMaster | 2f6b6d09de | |
BodgeMaster | be97370acb |
|
@ -7,6 +7,7 @@ Macros that insert templates
|
|||
- `%BANNER_COOKIES%` the cookie banner (requires PHP)
|
||||
### [pass1_misc.json](./pass1_misc.json)
|
||||
Miscellaneous macros
|
||||
- `%FAVICON%` links the tab icon (HTML <head> section)
|
||||
- `%STYLESHEET%` links stylesheet (HTML <head> section)
|
||||
- `%PLEAZE_NO_CACHE%` tell the browser not to cache this page (PHP, before any data is sent to the client)
|
||||
- `%COLOR_BEIGE%`, `%COLOR_ORANGE%`, `%COLOR_BLUE%`, `%COLOR_PINK%`, `%COLOR_CYAN%` color codes, format: #XXXXXX
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"FAVICON":"<link rel=\"icon\" type=\"image\/png\" href=\"%CONTENT_DIR%\/img\/favicon-32x32.png\" sizes=\"32x32\" />",
|
||||
"STYLESHEET":"<link rel=\"stylesheet\" type=\"text\/css\" href=\"%CONTENT_DIR%\/style.css\">",
|
||||
"PLEAZE_NO_CACHE":"header('Cache-Control: no-cache, no-store, must-revalidate');header('Pragma: no-cache');header('Expires: 0');",
|
||||
"COLOR_BEIGE":"#fef6e4", "COLOR_ORANGE":"#f3d2c1", "COLOR_BLUE":"#001858", "COLOR_PINK":"#f582ae", "COLOR_CYAN":"#8bd3dd"
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
"DB_USERNAME":["exec","echo -n \"$(sed --quiet \"/db_username=/s/.*=//p\" config/instance.conf)\""],
|
||||
"DB_NAME" :["exec","echo -n \"$(sed --quiet \"/db_database=/s/.*=//p\" config/instance.conf)\""],
|
||||
"DB_SERVER" :["exec","echo -n \"$(sed --quiet \"/db_svr_host=/s/.*=//p\" config/instance.conf)\""],
|
||||
"ABOUT_PAGE":["file","config/about.template"]
|
||||
"ABOUT_PAGE" :["file","config/about.template"]
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ $navbar="about";
|
|||
ThreadR - About Us
|
||||
</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -11,7 +11,7 @@ $id=$_GET['id'];
|
|||
<head>
|
||||
<title>ThreadR - Boards</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<?php
|
||||
if(isset($_GET['action'])) {
|
||||
if ($_GET['action']=='submit') {
|
||||
|
|
|
@ -10,14 +10,16 @@ $navbar="boards";
|
|||
<head>
|
||||
<title>ThreadR - Boards</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
%NAVBAR%
|
||||
<div class="container">
|
||||
<div class="item-1">
|
||||
<h1><center>ThreadR Boards</center></h1>
|
||||
<h1>
|
||||
<center>ThreadR Boards</center>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="item-2">
|
||||
<ul class="list">
|
||||
|
|
|
@ -1,7 +1,25 @@
|
|||
# Short documentation of all files
|
||||
### [index.html](./index.html)
|
||||
This is my usual nope.html to prevent kiddies from poking at my files. It just redirects. There is no real security benefit to it though as it does not even prevent `wget -r`.
|
||||
### *.{svg,png,jpg}
|
||||
images that are used on the page
|
||||
### [favicon-32x32.png](./favicon-32x32.png)
|
||||
- Tab icon
|
||||
- format: PNG
|
||||
- resolution: 32x32
|
||||
### [threadR.png](./threadR.png)
|
||||
- unused
|
||||
- format: PNG
|
||||
- resolution: 48x48
|
||||
### [ThreadR.png](./ThreadR.png)
|
||||
- unused, render of the main logo svg
|
||||
- format: PNG
|
||||
- resolution: 1856x674
|
||||
### [ThreadR.svg](./ThreadR.svg)
|
||||
- main logo, front center on the home page
|
||||
- format: SVG + macros
|
||||
- will not render properly without macro processing
|
||||
### [ThreadR_Home.svg](./ThreadR_Home.svg)
|
||||
- more square version of the logo, used on the "home" link on the navbar
|
||||
- format: SVG + macros
|
||||
- will not render properly without macro processing
|
||||
### [README.md](./README.md)
|
||||
this file
|
||||
|
|
|
@ -11,7 +11,7 @@ $navbar="home";
|
|||
<head>
|
||||
<title>ThreadR - Home</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -11,7 +11,7 @@ if (isset($_SESSION['user_id'])){
|
|||
<head>
|
||||
<title>ThreadR - Log In</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -8,7 +8,7 @@ $navbar = "logout";
|
|||
<head>
|
||||
<title>ThreadR - Home</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -26,4 +26,4 @@ $navbar = "logout";
|
|||
</div>
|
||||
%BANNER_COOKIES%
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -10,7 +10,7 @@ $navbar = "news";
|
|||
<head>
|
||||
<title>ThreadR - News</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -26,7 +26,7 @@ $navbar = "profile";
|
|||
<head>
|
||||
<title>ThreadR - Profile</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -9,7 +9,7 @@ $navbar = "signup";
|
|||
<head>
|
||||
<title>ThreadR - Sign Up</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -34,7 +34,7 @@ $navbar = "verify-email";
|
|||
<head>
|
||||
<title>ThreadR - Verification</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -25,7 +25,7 @@ $navbar = "home";
|
|||
<head>
|
||||
<title>ThreadR</title>
|
||||
%STYLESHEET%
|
||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||
%FAVICON%
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue