|
|
|
@ -37,8 +37,8 @@
|
|
|
|
|
<input id="currency" name="currency" type="text" maxlength="5" value="$" required>
|
|
|
|
|
<label for="description">Description</label>
|
|
|
|
|
<input id="description" name="description" type="text" maxlength="100">
|
|
|
|
|
<label for="balance">Current balance</label>
|
|
|
|
|
<input id="balance" name="balance" type="number" value="0">
|
|
|
|
|
<label for="current-balance">Current balance</label>
|
|
|
|
|
<input id="current-balance" name="balance" type="number" value="0">
|
|
|
|
|
<div id="registerError" class="error" role="alert"></div>
|
|
|
|
|
<button>Register</button>
|
|
|
|
|
</form>
|
|
|
|
@ -52,17 +52,17 @@
|
|
|
|
|
<section class="dashboard-page">
|
|
|
|
|
<header class="dashboard-header">
|
|
|
|
|
<img class="dashboard-logo" src="logo.svg" alt="Squirrel Banking Logo">
|
|
|
|
|
<h1 class="dashboard-title hide-xs">Squirrel Banking</span>
|
|
|
|
|
<h1 class="dashboard-title hide-xs">Squirrel Banking</h1>
|
|
|
|
|
<button onclick="logout()">Logout</button>
|
|
|
|
|
</header>
|
|
|
|
|
<div class="balance">
|
|
|
|
|
<div>Balance</div>
|
|
|
|
|
<span id="balance"></span>
|
|
|
|
|
<span id="currency"></span>
|
|
|
|
|
<span id="balance-currency"></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dashboard-content">
|
|
|
|
|
<div class="transactions-title">
|
|
|
|
|
<h2 id="description"></h2>
|
|
|
|
|
<h2 id="transactions-description"></h2>
|
|
|
|
|
<button onclick="addTransaction()">Add transaction</button>
|
|
|
|
|
</div>
|
|
|
|
|
<table class="transactions-table" aria-label="Transactions">
|
|
|
|
|