Creating basic prototype
This commit is contained in:
parent
bf27b67200
commit
6aaf44af43
3 changed files with 65 additions and 1 deletions
|
@ -14,4 +14,21 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with scoreboard-benchmark . If not, see <http://www.gnu.org/licenses/>.
|
along with scoreboard-benchmark . If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
from flask import Flask
|
||||||
|
import flask
|
||||||
|
import requests
|
||||||
|
|
||||||
|
|
||||||
|
app = flask.Flask(__name__)
|
||||||
|
|
||||||
|
@app.route("/upload")
|
||||||
|
def upload():
|
||||||
|
return "Upload"
|
||||||
|
|
||||||
|
@app.route("/")
|
||||||
|
def index():
|
||||||
|
return flask.render_template("index.html")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app.run("")
|
25
src/static/style.css
Normal file
25
src/static/style.css
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
/*
|
||||||
|
Author: Denis Nutiu <denis.nutiu@gmail.com>
|
||||||
|
This file is part of scoreboard-benchmark.
|
||||||
|
|
||||||
|
scoreboard-benchmark is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
scoreboard-benchmark is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with scoreboard-benchmark . If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
header {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center;
|
||||||
|
}
|
22
src/templates/index.html
Normal file
22
src/templates/index.html
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="author" content="Metonymy">
|
||||||
|
<meta name="description" content="The scoreboard for the benchmarks!">
|
||||||
|
<meta name="keywords" content="flask python metonymyqt benchmark scoreboard">
|
||||||
|
<link rel="stylesheet" href="../static/style.css">
|
||||||
|
<title>Scoreboard!</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<h1>The Scoreboard!</h1>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
Copyright 2017 Fellowship of the Bits
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue