2019-05-13 18:28:16 +01:00
< div class = " container notes " >
2011-06-17 13:52:00 +01:00
2019-05-13 18:28:16 +01:00
< div class = " card " >
2019-10-05 21:57:44 +01:00
< div class = " card-header " >
2024-06-06 20:23:19 +02:00
< h2 class = " card-title " >< ? = __ ( " Notes " ); ?> </h2>
2019-10-05 21:57:44 +01:00
< ul class = " nav nav-tabs card-header-tabs " >
< li class = " nav-item " >
2024-06-06 20:23:19 +02:00
< a class = " nav-link active " href = " <?php echo site_url('notes'); ?> " >< ? = __ ( " Notes " ); ?> </a>
2019-10-05 21:57:44 +01:00
</ li >
< li class = " nav-item " >
2024-06-06 20:23:19 +02:00
< a class = " nav-link " href = " <?php echo site_url('notes/add'); ?> " >< ? = __ ( " Create Note " ); ?> </a>
2019-10-05 21:57:44 +01:00
</ li >
</ ul >
</ div >
2019-05-13 18:28:16 +01:00
< div class = " card-body " >
2011-06-17 13:52:00 +01:00
2019-05-13 18:28:16 +01:00
< ? php
2011-06-17 13:52:00 +01:00
2019-05-13 18:28:16 +01:00
if ( $notes -> num_rows () > 0 )
2011-11-06 23:09:51 +00:00
{
2024-06-06 15:41:03 +02:00
echo " <h3> " . __ ( " Your Notes " ) . " </h3> " ;
2019-05-13 18:28:16 +01:00
echo " <ul class= \" list-group \" > " ;
foreach ( $notes -> result () as $row )
{
echo " <li class= \" list-group-item \" > " ;
echo " <a href= \" " . site_url () . " /notes/view/ " . $row -> id . " \" > " . $row -> title . " </a> " ;
echo " </li> " ;
}
echo " </ul> " ;
} else {
2024-06-06 15:41:03 +02:00
echo " <p> " . __ ( " You don't currently have any notes, these are a fantastic way of storing data like ATU settings, beacons and general station notes and its better than paper as you can't lose them! " ) . " </p> " ;
2011-11-06 23:09:51 +00:00
}
2019-05-13 18:28:16 +01:00
?>
2011-11-06 23:09:51 +00:00
</ div >
</ div >
2018-12-18 00:05:29 +01:00
</ div >