add web
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
{% extends '__layout__.html' %}
|
||||
{% block title %}Membership{% endblock %}
|
||||
{% block head %}
|
||||
<style>
|
||||
.text-secondary {
|
||||
color: rgb(199, 199, 199) !important;
|
||||
}
|
||||
.text-robux {
|
||||
color: rgb(32, 219, 104) !important;
|
||||
}
|
||||
.border-0 {
|
||||
border: none !important;
|
||||
}
|
||||
.border-0 td {
|
||||
border: none !important;
|
||||
}
|
||||
.border-0 th {
|
||||
border: none !important;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="container" style="margin-top:120px;min-height: 100vh;">
|
||||
<table class="table text-white text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"><h4>Free</h4><img class="mb-2" src="/static/img/NBC.png"></th>
|
||||
<th scope="col"><h3>Classic</h3><img class="mb-2" src="/static/img/BC.png"></th>
|
||||
<th scope="col"><h2>Turbo</h2><img class="mb-2" src="/static/img/TBC.png"></th>
|
||||
<th scope="col"><h1>OBC</h1><img class="mb-2" src="/static/img/OBC.png"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="align-items-center">
|
||||
<th scope="row"><h5>Daily Robux</h5></th>
|
||||
<td><h4 class="text-secondary">None</h4></td>
|
||||
<td><h4 class="text-robux">R$ 10</h4></td>
|
||||
<td><h4 class="text-robux">R$ 45</h4></td>
|
||||
<td><h4 class="text-robux">R$ 80</h4></td>
|
||||
</tr>
|
||||
<tr class="align-items-center">
|
||||
<th scope="row"><h5>Active Places</h5></th>
|
||||
<td><h4 class="text-secondary">2</h4></td>
|
||||
<td><h4 class="text-robux">6</h4></td>
|
||||
<td><h4 class="text-robux">12</h4></td>
|
||||
<td><h4 class="text-robux">32</h4></td>
|
||||
</tr>
|
||||
<tr class="align-items-center">
|
||||
<th scope="row"><h5>Groups Limit</h5></th>
|
||||
<td><h4 class="text-secondary">5</h4></td>
|
||||
<td><h4 class="text-robux">10</h4></td>
|
||||
<td><h4 class="text-robux">20</h4></td>
|
||||
<td><h4 class="text-robux">100</h4></td>
|
||||
</tr>
|
||||
<tr class="align-items-center">
|
||||
<th scope="row"><h5>Sell Items</h5></th>
|
||||
<td><h4 class="text-danger">No</h4></td>
|
||||
<td><h4 class="text-robux">Yes</h4></td>
|
||||
<td><h4 class="text-robux">Yes</h4></td>
|
||||
<td><h4 class="text-robux">Yes</h4></td>
|
||||
</tr>
|
||||
<tr class="align-items-center">
|
||||
<th scope="row"><h5>Trade Items</h5></th>
|
||||
<td><h4 class="text-danger">No</h4></td>
|
||||
<td><h4 class="text-robux">Yes</h4></td>
|
||||
<td><h4 class="text-robux">Yes</h4></td>
|
||||
<td><h4 class="text-robux">Yes</h4></td>
|
||||
</tr>
|
||||
<tr class="align-items-center border-0">
|
||||
<th scope="row"></th>
|
||||
<td><h4 class="text-danger"></td>
|
||||
<td><a class="btn btn-md btn-primary fw-bold text-decoration-none" href="/settings">Link Discord</a></td>
|
||||
<td><a class="btn btn-md btn-warning fw-bold text-decoration-none" href="https://discord.gg/spUbRdSa5J">Boost Discord</a></td>
|
||||
<td><a class="btn btn-md btn-danger fw-bold text-decoration-none" href="/membership/payment_methods">Donate $5</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,19 @@
|
||||
from flask import Blueprint, render_template, request, redirect, url_for, session, flash, redirect, make_response
|
||||
|
||||
from app.extensions import db, redis_controller
|
||||
from app.models.user import User
|
||||
from app.util import auth
|
||||
|
||||
MembershipPages = Blueprint("membership", __name__, template_folder="pages")
|
||||
|
||||
@MembershipPages.route("/membership", methods=["GET"])
|
||||
@auth.authenticated_required
|
||||
def membership_page():
|
||||
return render_template("membership/index.html")
|
||||
# I know one day this source will get leaked.
|
||||
# Jesus loves you brother. - kuromi <3
|
||||
# kuromi.cat
|
||||
@MembershipPages.route("/membership/payment_methods", methods=["GET"])
|
||||
@auth.authenticated_required
|
||||
def payment_methods_page():
|
||||
return render_template("membership/payment_methods.html")
|
||||
@@ -0,0 +1,153 @@
|
||||
{% extends '__layout__.html' %}
|
||||
{% block title %}Cryptomus Dashboard{% endblock %}
|
||||
{% block head %}
|
||||
<style>
|
||||
img.kofiimg {
|
||||
display: initial !important;
|
||||
vertical-align: middle;
|
||||
height: 13px !important;
|
||||
width: 20px !important;
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
border: none;
|
||||
margin-top: 0;
|
||||
margin-right: 5px !important;
|
||||
margin-left: 0 !important;
|
||||
margin-bottom: 3px !important;
|
||||
content: url('https://storage.ko-fi.com/cdn/cup-border.png')
|
||||
}
|
||||
|
||||
.kofiimg:after {
|
||||
vertical-align: middle;
|
||||
height: 25px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
border: none;
|
||||
margin-top: 0;
|
||||
margin-right: 6px;
|
||||
margin-left: 0;
|
||||
margin-bottom: 4px !important;
|
||||
content: url('https://storage.ko-fi.com/cdn/whitelogo.svg')
|
||||
}
|
||||
|
||||
span.kofitext {
|
||||
color: #fff !important;
|
||||
letter-spacing: -0.15px !important;
|
||||
text-wrap: none;
|
||||
vertical-align: middle;
|
||||
line-height: 33px !important;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
text-decoration: none !important;
|
||||
text-shadow: 0 1px 1px rgba(34, 34, 34, 0.05);
|
||||
}
|
||||
|
||||
.kofitext a {
|
||||
color: #fff !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.kofitext a:hover {
|
||||
color: #fff !important;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
a.kofi-button {
|
||||
box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
|
||||
line-height: 36px !important;
|
||||
min-width: 150px;
|
||||
display: inline-block !important;
|
||||
background-color: #29abe0;
|
||||
text-align: center !important;
|
||||
border-radius: 7px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
overflow-wrap: break-word;
|
||||
vertical-align: middle;
|
||||
border: 0 none #fff !important;
|
||||
font-family: 'Quicksand', Helvetica, Century Gothic, sans-serif !important;
|
||||
text-decoration: none;
|
||||
text-shadow: none;
|
||||
font-weight: 700 !important;
|
||||
font-size: 17px !important
|
||||
}
|
||||
|
||||
a.kofi-button:visited {
|
||||
color: #fff !important;
|
||||
text-decoration: none !important
|
||||
}
|
||||
|
||||
a.kofi-button:hover {
|
||||
opacity: .85;
|
||||
color: #f5f5f5 !important;
|
||||
text-decoration: none !important
|
||||
}
|
||||
|
||||
a.kofi-button:active {
|
||||
color: #f5f5f5 !important;
|
||||
text-decoration: none !important
|
||||
}
|
||||
|
||||
.kofitext img.kofiimg {
|
||||
height: 15px !important;
|
||||
width: 22px !important;
|
||||
display: initial;
|
||||
animation: kofi-wiggle 3s infinite;
|
||||
}
|
||||
|
||||
@keyframes kofi-wiggle {
|
||||
0% {
|
||||
transform: rotate(0) scale(1)
|
||||
}
|
||||
|
||||
60% {
|
||||
transform: rotate(0) scale(1)
|
||||
}
|
||||
|
||||
75% {
|
||||
transform: rotate(0) scale(1.12)
|
||||
}
|
||||
|
||||
80% {
|
||||
transform: rotate(0) scale(1.1)
|
||||
}
|
||||
|
||||
84% {
|
||||
transform: rotate(-10deg) scale(1.1)
|
||||
}
|
||||
|
||||
88% {
|
||||
transform: rotate(10deg) scale(1.1)
|
||||
}
|
||||
|
||||
92% {
|
||||
transform: rotate(-10deg) scale(1.1)
|
||||
}
|
||||
|
||||
96% {
|
||||
transform: rotate(10deg) scale(1.1)
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(0) scale(1)
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div style="min-height: 100vh;width: 100%;padding: 20px;width: 100%;"
|
||||
class="d-flex align-items-center justify-content-center">
|
||||
<div class="p-2 d-flex align-items-center"
|
||||
style="background-color: rgb(15,15,15);border: 1px solid rgb(60,60,60);border-radius: 4px;min-width: 200px;">
|
||||
<div class="w-100">
|
||||
<h4 class="m-0 text-center w-100 mb-2">Donation methods</h4>
|
||||
<a href="https://ko-fi.com/vortexi" class="btn btn-lg w-100 kofi-button" style="background-color: #29abe0;">
|
||||
<span class="kofitext">
|
||||
<img src="https://storage.ko-fi.com/cdn/cup-border.png" alt="Ko-fi donations"class="kofiimg">
|
||||
Ko-fi
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user