master
Aevann1 2021-09-20 22:35:32 +02:00
parent fdafa80bac
commit 143de8a1bf
5 changed files with 4 additions and 8 deletions

View File

@ -11,8 +11,6 @@ services:
- MASTER_KEY=${MASTER_KEY:-KTVciAUQFpFh2WdJ/oiHJlxl6FvzRZp8kYzAAv3l2OA=}
- DOMAIN=localhost
- SITE_NAME=Drama
- CLOUDFLARE_ZONE=3435tdfsdudebussylmaoxxt43
- CLOUDFLARE_KEY=3435tdfsdudebussylmaoxxt43
- GIPHY_KEY=3435tdfsdudebussylmaoxxt43
- MAILGUN_KEY=3435tdfsdudebussylmaoxxt43
- MAILGUN_DOMAIN=rdrama.net
@ -43,6 +41,7 @@ services:
- GUMROAD_LINK=https://marsey1.gumroad.com/l/tfcvri
- CARD_VIEW=1
- DISABLE_DOWNVOTES=0
- DUES=0
links:
- "redis"
- "postgres"

3
env
View File

@ -2,8 +2,6 @@ export DATABASE_URL="postgresql://postgres@postgres:5432/postgres"
export MASTER_KEY="-KTVciAUQFpFh2WdJ/oiHJlxl6FvzRZp8kYzAAv3l2OA="
export DOMAIN="localhost"
export SITE_NAME="Drama"
export CLOUDFLARE_ZONE="3435tdfsdudebussylmaoxxt43"
export CLOUDFLARE_KEY="3435tdfsdudebussylmaoxxt43"
export GIPHY_KEY="3435tdfsdudebussylmaoxxt43"
export MAILGUN_KEY="3435tdfsdudebussylmaoxxt43"
export MAILGUN_DOMAIN="rdrama.net"
@ -31,5 +29,6 @@ export GUMROAD_TOKEN="3435tdfsdudebussylmaoxxt43"
export GUMROAD_LINK="https://marsey1.gumroad.com/l/tfcvri"
export CARD_VIEW="1"
export DISABLE_DOWNVOTES="0"
export DUES="0"
export DEFAULT_THEME="dark"
export DEFAULT_COLOR="ff66ac" # YOU HAVE TO PICK ONE OF THOSE COLORS OR SHIT WILL BREAK: ff66ac, 805ad5, 62ca56, 38a169, 80ffff, 2a96f3, eb4963, ff0000, f39731, 30409f, 3e98a7, e4432d, 7b9ae4, ec72de, 7f8fa6, f8db58

View File

@ -7,8 +7,6 @@ from flask import g
from werkzeug.utils import secure_filename
from webptools import gifwebp
CF_KEY = environ.get("CLOUDFLARE_KEY", "").strip()
CF_ZONE = environ.get("CLOUDFLARE_ZONE", "").strip()
IMGUR_KEY = environ.get("IMGUR_KEY", "").strip()
IBB_KEY = environ.get("IBB_KEY", "").strip()

View File

@ -119,7 +119,7 @@
{% endif %}
{% endif %}
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" href="/votes?link={{p.fullname}}"><i class="fas fa-arrows-v text-center text-muted mr-3"></i>Votes</button>
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted"><a href="/votes?link={{p.fullname}}"><i class="fas fa-arrows-v text-center text-muted mr-3"></i>Votes</a></button>
{% if v and v.id!=p.author_id %}
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-toggle="modal" data-dismiss="modal" data-target="#awardModal" onclick="awardModal('/post/{{p.id}}/awards')"><i class="fas fa-gift text-center text-muted mr-3"></i>Give Award</button>

View File

@ -311,7 +311,7 @@
{% endif %}
{% endif %}
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" href="/votes?link={{p.fullname}}"><i class="fas fa-arrows-v text-center text-muted mr-3"></i>Votes</button>
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted"><a href="/votes?link={{p.fullname}}"><i class="fas fa-arrows-v text-center text-muted mr-3"></i>Votes</a></button>
{% if v and v.id!=p.author_id %}
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-toggle="modal" data-dismiss="modal" data-target="#awardModal" onclick="awardModal('/post/{{p.id}}/awards')"><i class="fas fa-gift text-center text-muted mr-3"></i>Give Award</button>