1
0

Main final design touches

This commit is contained in:
Christiaan Goossens 2017-03-31 18:22:04 +02:00
parent 7f0e94d67a
commit ffaa72dda0
3 changed files with 35 additions and 25 deletions

View File

@ -45,10 +45,22 @@ ul.nv {
/** Index **/ /** Index **/
.clickable { .clickable {
cursor: pointer; cursor: pointer;
color: #333;
} }
.clickable:hover { .clickable:hover {
background: #0094ff; text-decoration: none;
color: #333;
}
.clickable:hover > div {
background: #eaeaea;
}
.big {
font-size: 24px;
color: #0094ff;
font-weight: 600;
} }
/** Footer **/ /** Footer **/

View File

@ -1,25 +1,19 @@
<?php include '__header.phtml'; ?> <?php include '__header.phtml'; ?>
<table class="table"> <h2 class="page-header">Mijn rekeningen<a class="btn btn-default pull-right" href="overboeking" role="button">Nieuwe overboeking</a></h2>
<tr>
<th>IBAN</th>
<th>Saldo</th>
<th>Rekeningtype</th>
<th>Rente</th>
</tr>
<?php <?php
foreach ($rekeningen as $rekening) { foreach ($rekeningen as $rekening) {
?> ?>
<tr class="clickable" onclick="document.location.href = 'rekeningen/<?php echo $rekening['nr'] ?>'"> <a class="clickable" onclick="document.location.href = 'rekeningen/<?php echo $rekening['nr'] ?>'"><div class="panel panel-default">
<td><?php echo $rekening['iban']; ?></td> <div class="panel-body">
<td><?php echo "&euro;" . $rekening['saldo']; ?></td> <h4><?php echo $rekening['naam']; ?><span class="pull-right big"><?php echo money_format('%(#1n', $rekening['saldo']); ?></span></h4>
<td><?php echo $rekening['naam']; ?></td> <p><?php echo $rekening['iban']; ?></p>
<td><?php echo $rekening['rente']; ?></td> </div>
</tr> </div></a>
<?php <?php
} }
?> ?>
</table>
<?php include '__footer.phtml'; ?> <?php include '__footer.phtml'; ?>

View File

@ -14,12 +14,16 @@ if (!$rekening) {
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-8">
IBAN/rekeningnummer<br/> IBAN/rekeningnummer<br/>
<h4><?php echo $rekening['iban']?></h4> <h4><?php echo $rekening['iban']?></h4>
</div> </div>
<div class="col-md-6">Saldo<br/>
<h4><?php echo money_format('%(#1n', $rekening['saldo']); ?></h4> <div class="col-md-2">Rentetarief<br/>
<h4><?php echo $rekening['rente']; ?>%</h4>
</div>
<div class="col-md-2">Saldo<br/>
<h4><b><?php echo money_format('%(#1n', $rekening['saldo']); ?></b></h4>
</div> </div>
</div> </div>