7 changed files with 70 additions and 0 deletions
@ -0,0 +1,8 @@
|
||||
__pycache__/ |
||||
*.pyc |
||||
.env |
||||
venv/ |
||||
.venv/ |
||||
instance/ |
||||
*.sqlite |
||||
*.log |
||||
@ -0,0 +1,18 @@
|
||||
from flask import Flask, render_template |
||||
|
||||
app = Flask( |
||||
__name__, |
||||
template_folder="../templates", |
||||
static_folder="../static", |
||||
) |
||||
|
||||
@app.route("/") |
||||
def index(): |
||||
return render_template( |
||||
"base.html", |
||||
page_title="OTB Billing", |
||||
content="OTB Billing v0.0.1 is alive." |
||||
) |
||||
|
||||
if __name__ == "__main__": |
||||
app.run(host="127.0.0.1", port=5050) |
||||
@ -0,0 +1,12 @@
|
||||
OTB Billing Design |
||||
|
||||
Purpose: |
||||
Track invoices and payments for OutsideTheBox services. |
||||
|
||||
Payment types: |
||||
- Square |
||||
- Interac e-transfer |
||||
- crypto |
||||
|
||||
Integration: |
||||
Will communicate with outsidethedb for service status. |
||||
@ -0,0 +1,10 @@
|
||||
body { |
||||
font-family: Arial; |
||||
background: #0f172a; |
||||
color: #e5e7eb; |
||||
} |
||||
|
||||
header { |
||||
padding: 20px; |
||||
background: #111827; |
||||
} |
||||
@ -0,0 +1,20 @@
|
||||
<!doctype html> |
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<title>{{ page_title }}</title> |
||||
<link rel="stylesheet" href="/static/css/style.css"> |
||||
</head> |
||||
|
||||
<body> |
||||
|
||||
<header> |
||||
<h1>OTB Billing</h1> |
||||
</header> |
||||
|
||||
<main> |
||||
<p>{{ content }}</p> |
||||
</main> |
||||
|
||||
</body> |
||||
</html> |
||||
Loading…
Reference in new issue