Add static/transactions.html with the filterable list
This commit is contained in:
1 parent
8eb63ac194
commit
527c980f18
1 file changed
+82
@@ -0,0 +1,82 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="nn">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Skuld — Transaksjonar</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
</head>
|
||||
<body data-page="transactions">
|
||||
<header class="topbar">
|
||||
<nav class="nav">
|
||||
<a href="/">Hovudark</a>
|
||||
<a href="/transaksjonar" aria-current="page">Transaksjonar</a>
|
||||
<a href="/marknader">Marknader og kontoar</a>
|
||||
<a href="/rapport">Skattegrunnlag</a>
|
||||
<a href="/innstillingar">Innstillingar</a>
|
||||
<span class="spacer"></span>
|
||||
<a href="#" data-logout>Logg ut</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="page">
|
||||
<h1 class="page-title">Transaksjonar</h1>
|
||||
|
||||
<div class="toolbar">
|
||||
<div class="filters">
|
||||
<div class="field" data-field="year">
|
||||
<label for="filter-year">År</label>
|
||||
<input id="filter-year" name="year" type="number" min="2009" max="2100"
|
||||
step="1" placeholder="Alle">
|
||||
</div>
|
||||
<div class="field" data-field="market_id">
|
||||
<label for="filter-market">Konto</label>
|
||||
<select id="filter-market" name="market_id">
|
||||
<option value="">Alle</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="field" data-field="type">
|
||||
<label for="filter-type">Type</label>
|
||||
<select id="filter-type" name="type">
|
||||
<option value="">Alle</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<span class="spacer"></span>
|
||||
<a class="button" href="/transaksjon">Ny transaksjon</a>
|
||||
</div>
|
||||
|
||||
<div class="message" data-message hidden></div>
|
||||
|
||||
<div class="empty" data-empty hidden>Ingen transaksjonar i dette utvalet.</div>
|
||||
|
||||
<section class="card" data-list hidden>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Dato</th>
|
||||
<th>Type</th>
|
||||
<th>Konto</th>
|
||||
<th>Til konto</th>
|
||||
<th class="numeric">Inn</th>
|
||||
<th class="numeric">Ut</th>
|
||||
<th class="numeric">Avgift</th>
|
||||
<th class="numeric">Inngangsverdi</th>
|
||||
<th>Skattepliktig</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody data-rows></tbody>
|
||||
</table>
|
||||
<p class="legend">
|
||||
Overføring inn vert laga automatisk av ei overføring ut, og kan berre
|
||||
sjåast og slettast saman med henne.
|
||||
</p>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<script src="/session.js"></script>
|
||||
<script src="/app.js"></script>
|
||||
<script src="/transactions.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user