1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

bnhkmji9olijkm8n7brrdgtc678i87jm drgex

This commit is contained in:
Steffo 2017-11-15 10:29:01 +01:00
parent dae3ee2649
commit c5d8f50603
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: C27544372FBB445D
3 changed files with 216 additions and 203 deletions

View file

@ -10,6 +10,8 @@ from discord import Status as DiscordStatus
# Init the config reader
import configparser
= u.idle()
config = configparser.ConfigParser()
config.read("config.ini")
@ -127,4 +129,3 @@ def process(arg_discord_connection):
u.dispatcher.add_handler(CommandHandler("discord", cmd_discord))
u.dispatcher.add_handler(CommandHandler("cast", cmd_cast))
u.start_polling()
u.idle()

View file

@ -11,9 +11,13 @@
<body>
<div class="container">
<h1>
Dota 2
Royal Games Leaderboards
</h1>
<table id="dota" class="table table-hover sortable dota">
<div id="dota">
<h2>
Dota 2
</h2>
<table class="table table-hover sortable dota">
<thead>
<tr>
<th>Royal</th>
@ -35,10 +39,12 @@
{% endfor %}
</tbody>
</table>
<h1>
</div>
<div id="rl">
<h2>
Rocket League
</h1>
<table id="rl" class="table table-hover sortable rl">
</h2>
<table class="table table-hover sortable rl">
<thead>
<tr>
<th>Royal</th>
@ -118,10 +124,12 @@
{% endfor %}
</tbody>
</table>
<h1>
</div>
<div id="overwatch">
<h2>
Overwatch
</h1>
<table id="overwatch" class="table table-hover sortable">
</h2>
<table class="table table-hover sortable">
<thead>
<tr>
<th>Royal</th>
@ -153,10 +161,12 @@
{% endfor %}
</tbody>
</table>
<h1>
</div>
<div id="osu">
<h2>
Osu!
</h1>
<table id="osu" class="table table-hover sortable">
</h2>
<table class="table table-hover sortable">
<thead>
<tr>
<th>Royal</th>
@ -180,9 +190,11 @@
{% endfor %}
</tbody>
</table>
<h1>
</div>
<div id="league">
<h2>
League of Legends
</h1>
</h2>
<table class="table table-hover sortable">
<thead>
<tr>
@ -220,5 +232,6 @@
</tbody>
</table>
</div>
</div>
</body>
</html>

View file

@ -1,7 +1,6 @@
from flask import Flask, render_template
from db import Session, Royal, Steam, RocketLeague, Dota, Osu, Overwatch, LeagueOfLegends
from sqlalchemy.orm import joinedload
from sqlalchemy import func
app = Flask(__name__)