Compare commits
1 Commits
7517bcb78f
...
cfceee1ede
Author | SHA1 | Date | |
---|---|---|---|
cfceee1ede |
@ -5,6 +5,14 @@
|
||||
|
||||
<section class="dashboard">
|
||||
<h1>Welcome, <?= htmlspecialchars($_SESSION['user']['username']) ?>!</h1>
|
||||
<?php if(!isset($data['default_car'])) { ?>
|
||||
|
||||
<div id="intro">
|
||||
<a href="/vehicles/create">Create your first vehicle</a>
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<div id="actions">
|
||||
<a href="/refuel/create" class="btn-green">Add new refuel record!</a>
|
||||
<a href="/vehicles" class="btn-primary">List all vehicles</a>
|
||||
@ -55,6 +63,7 @@
|
||||
<b id="avg-fl-cnsmp"></b>
|
||||
</section>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</section>
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
<script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user