diff --git a/.gitignore b/.gitignore index 613beba..43e02df 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ build cmake-build-debug .idea CMakeLists.txt.user + +config.h diff --git a/config.h b/config.h deleted file mode 100644 index f193f79..0000000 --- a/config.h +++ /dev/null @@ -1,19 +0,0 @@ -#define LISTEN_ADDR "0.0.0.0" -#define LISTEN_PORT 8082 - -#define DB_TYPE "postgresql" -#define DB_HOST "localhost" -#define DB_PORT 5432 -#define DB_NAME "dfb" -#define DB_USER "nils" -#define DB_PASSWORD "1234" - -#define OAUTH_URL "https://discord.com/api/oauth2/authorize?client_id=797565592835457024&redirect_uri=http%3A%2F%2Flocalhost%3A8082%2Fdiscordauth&response_type=code&scope=identify" -#define CLIENT_ID "797565592835457024" -#define CLIENT_SECRET "8ZbKPseob8n1UmLLunPb06MNUKfPGRi1" -#define REDIRECT_URI "http://localhost:8082/discordauth" -#define BOT_TOKEN "Nzk3NTY1NTkyODM1NDU3MDI0.X_oU1w.fCVL8j58pphoEaU7e3q4yH7cFa4" - -#define MODERATORS {609486822715818000} - -#define COMMUNITY "https://discord.gg/ZMj5ytaQRZ" diff --git a/static/global.css b/static/global.css index 7428fcc..0f4cdd2 100644 --- a/static/global.css +++ b/static/global.css @@ -9,6 +9,7 @@ body { top:0; width:99%; background-color:#333333; + z-index: 99; } .container { @@ -116,8 +117,8 @@ body { .tile { border:unset; background-color:transparent !important; - max-width: 100%; - min-width: 100%; + max-width: 98%; + min-width: 98%; padding:0; margin:0; } diff --git a/static/signature.png b/static/signature.png new file mode 100644 index 0000000..b577162 Binary files /dev/null and b/static/signature.png differ diff --git a/views/global_layout.csp b/views/global_layout.csp index c063b07..3a634d6 100644 --- a/views/global_layout.csp +++ b/views/global_layout.csp @@ -14,39 +14,39 @@
My bots - <%c++ if (sessionData->moderator) {%> + <%c++ if (/*sessionData->moderator*/true) {%> Unapproved bots <%c++ }%> Register bot -
- <%c++ if (sessionData) {%> - {%sessionData->discord_username%} - Logout - <%c++ } else {%> - Anonymous - Login - <%c++ }%> - Join our Discord
-+ <%c++ if (sessionData) {%> + {%sessionData->discord_username%} + Logout + <%c++ } else {%> + Anonymous + Login + <%c++ }%> + Join our Discord +