Switch from bottle to flask
This commit is contained in:
parent
dc3c2b309c
commit
eeea40b125
10 changed files with 250 additions and 141 deletions
40
templates/base.html
Normal file
40
templates/base.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="d">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Schmeckels</title>
|
||||
<link href="https://unpkg.com/tailwindcss/dist/tailwind.min.css" rel="stylesheet">
|
||||
<link href="https://unpkg.com/@tailwindcss/custom-forms/dist/custom-forms.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="bg-grey-100 font-sans leading-normal tracking-normal">
|
||||
<div class="bg-gray-300">
|
||||
<ul class="flex pb-3 pt-3">
|
||||
<li class="ml-12 mr-12">
|
||||
<a class="text-blue-500 hover:text-blue-800" href="/">SCHMECKELS</a>
|
||||
</li>
|
||||
<li class="mr-2">
|
||||
<a class="text-blue-500 hover:text-blue-800" href="/transactions">Transactions</a>
|
||||
</li>
|
||||
<li class="mr-2">
|
||||
<a class="text-blue-500 hover:text-blue-800" href="/transactions?unsorted=1">Unsorted Transactions</a>
|
||||
</li>
|
||||
<li class="mr-2">
|
||||
<a class="text-blue-500 hover:text-blue-800" href="/categories">Categories</a>
|
||||
</li>
|
||||
<li class="mr-2">
|
||||
<a class="text-blue-500 hover:text-blue-800" href="/graph">Monthly Graph</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pt-2 container mx-auto">
|
||||
|
||||
{% block main %} {% endblock %}
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue