added in several workflow QOL features and updated flake
This commit is contained in:
parent
153276f49c
commit
bc27ffab4e
14 changed files with 3764 additions and 312 deletions
11
templates/base.html
Normal file
11
templates/base.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>SK TCG Trader</title>
|
||||
<link rel="stylesheet" href="/assets/main.css" />
|
||||
<script src="/assets/htmx.min.js"></script>
|
||||
</head>
|
||||
<body class="bg-slate-700 m-auto">
|
||||
{% block body %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
0
templates/head.html
Normal file
0
templates/head.html
Normal file
|
|
@ -1,20 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>SK TCG Trader</title>
|
||||
<link rel="stylesheet" href="/assets/main.css">
|
||||
<script src="/assets/htmx.min.js"></script>
|
||||
</head>
|
||||
<body class="bg-slate-700">
|
||||
<div class="flex flex-col items-center">
|
||||
<h1 class="text-2xl text-white">SK TCG Trader</h1>
|
||||
<h2 class="text-xl text-white" id="help-text">Click the button below to get the metrics</h2>
|
||||
<br />
|
||||
<p class="font-bold text-white"id="data"></p>
|
||||
<br />
|
||||
<button class="bg-purple-500 p-4 rounded-lg text-white font-bold" id="submit" hx-get="/metrics" hx-target='#data' hx-swap="innerHTML">Get Data</button>
|
||||
</div>
|
||||
</body>
|
||||
<style>
|
||||
</style>
|
||||
</html>
|
||||
{% extends "base.html" %} {% block body %}
|
||||
<div class="flex flex-col items-center">
|
||||
<h1 class="text-2xl text-white">{{ name }}'s SK TCG Trader</h1>
|
||||
<br />
|
||||
<h2 class="my-4 text-xl text-white" id="help-text">
|
||||
Click the button below to get the metrics
|
||||
</h2>
|
||||
<br />
|
||||
<p class="font-bold text-white" id="data"></p>
|
||||
<button
|
||||
class="bg-purple-500 p-4 rounded-lg text-white font-bold"
|
||||
id="submit"
|
||||
hx-get="/metrics"
|
||||
hx-target="#data"
|
||||
hx-swap="innerHTML"
|
||||
>
|
||||
Get Data
|
||||
</button>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue