forked from rDrama/rDrama
sdf
parent
c0461f4554
commit
45da8f0f35
|
@ -26,6 +26,9 @@ defaulttheme = environ.get("DEFAULT_THEME", "midnight").strip()
|
|||
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "all").strip()
|
||||
cardview = bool(int(environ.get("CARD_VIEW", 1)))
|
||||
|
||||
if SITE_NAME in ('Cringetopia', 'WPD'): patron_default = 7
|
||||
else: patron_default = 0
|
||||
|
||||
class User(Base):
|
||||
__tablename__ = "users"
|
||||
|
||||
|
@ -48,7 +51,7 @@ class User(Base):
|
|||
profileurl = Column(String)
|
||||
bannerurl = Column(String)
|
||||
house = Column(String)
|
||||
patron = Column(Integer, default=0)
|
||||
patron = Column(Integer, default=patron_default)
|
||||
patron_utc = Column(Integer, default=0)
|
||||
verified = Column(String)
|
||||
verifiedcolor = Column(String)
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<input autocomplete="off" id="giveaward" class="awardbtn btn btn-primary mt-3" style="float:right" type="submit" value="Give Award" disabled>
|
||||
{% if SITE_NAME not in ('Cringetopia', 'WPD') %}
|
||||
<button id="buy1" class="awardbtn btn btn-primary mt-3 mx-3" type="button" disabled style="float:right" onclick="buy(true)">Buy with marseybux</button>
|
||||
{% end if %}
|
||||
{% endif %}
|
||||
<button id="buy2" class="awardbtn btn btn-primary mt-3" type="button" disabled style="float:right" onclick="buy()">Buy</button>
|
||||
<pre>
|
||||
</pre>
|
||||
|
|
Loading…
Reference in New Issue