added in several workflow QOL features and updated flake

This commit is contained in:
specCon18 2023-08-07 18:04:19 -04:00
parent 153276f49c
commit bc27ffab4e
14 changed files with 3764 additions and 312 deletions

View 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 %}