mirror of
https://github.com/Adam-Ant/ClockworkAprilFools2017
synced 2024-12-20 11:04:35 +00:00
Fix routes to use /plus as the default route
This commit is contained in:
parent
fc8493a557
commit
6ccd659022
@ -25,9 +25,10 @@ Clockwork Gaming Plus is a brand new premium service that allows you to get more
|
|||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<a class="btn btn-success btn-lg" href="/activate">Click Here to purchase Clockwork Plus! </a>
|
<a class="btn btn-success btn-lg" href="./buy">Click Here to purchase Clockwork Plus! </a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="media-right"><img src="https://i.imgur.com/1vLD5FK.png" class="media-object"></div>
|
<div class="media-right"><img src="https://i.imgur.com/1vLD5FK.png" class="media-object"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
<a href="/" class="navbar-brand"><span class="glyphicon glyphicon-cog"></span> Clockwork <b>PLUS!</b></a>
|
<a href="/plus" class="navbar-brand"><span class="glyphicon glyphicon-cog"></span> Clockwork <b>PLUS!</b></a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="mainNavbar">
|
<div class="collapse navbar-collapse" id="mainNavbar">
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<button type="button" class="btn btn-info disabled"><h2><span class="glyphicon glyphicon-credit-card"></span><br>Card</h2></button>
|
<button type="button" class="btn btn-info disabled"><h2><span class="glyphicon glyphicon-credit-card"></span><br>Card</h2></button>
|
||||||
<button type="button" class="btn btn-info disabled"><h2><span class="glyphicon glyphicon-btc"></span><br>Bitcoin</h2></button>
|
<button type="button" class="btn btn-info disabled"><h2><span class="glyphicon glyphicon-btc"></span><br>Bitcoin</h2></button>
|
||||||
<button type="button" class="btn btn-info disabled"><h2><span class="glyphicon glyphicon-grain"></span><br>Magic Beans</h2></button>
|
<button type="button" class="btn btn-info disabled"><h2><span class="glyphicon glyphicon-grain"></span><br>Magic Beans</h2></button>
|
||||||
<a href="/collectsunlight"><button type="button" class="btn btn-info" ><h2><span class="glyphicon glyphicon-tree-deciduous"></span><br>Sunlight</h2></button></a>
|
<a href="./collectsunlight"><button type="button" class="btn btn-info" ><h2><span class="glyphicon glyphicon-tree-deciduous"></span><br>Sunlight</h2></button></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
<meta http-equiv="refresh" content="29; url=/activate">
|
<meta http-equiv="refresh" content="29; url=./activate">
|
||||||
<script src="/static/progressbar.js"></script>
|
<script src="/static/progressbar.js"></script>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Raleway:400,300,600,800,900" rel="stylesheet" type="text/css">
|
<link href="https://fonts.googleapis.com/css?family=Raleway:400,300,600,800,900" rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
|
@ -9,6 +9,10 @@ app = Flask(__name__)
|
|||||||
app.secret_key = rand(24)
|
app.secret_key = rand(24)
|
||||||
|
|
||||||
|
|
||||||
|
@app.route("/")
|
||||||
|
def baseroute():
|
||||||
|
return redirect("/plus")
|
||||||
|
|
||||||
def teamspeakClientAdd(clientName):
|
def teamspeakClientAdd(clientName):
|
||||||
with ts3.query.TS3Connection('magic.adam-ant.co.uk', '10011') as ts3conn:
|
with ts3.query.TS3Connection('magic.adam-ant.co.uk', '10011') as ts3conn:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user