2011-11-07 07:09:51 +08:00
< div id = " container " >
2011-06-17 20:52:00 +08:00
2011-11-07 07:09:51 +08:00
< h2 > Note </ h2 >
2011-06-17 20:52:00 +08:00
2011-11-07 07:09:51 +08:00
< div class = " row show-grid " >
< div class = " span13 " >
< ? php
2011-06-17 20:52:00 +08:00
2011-11-07 07:09:51 +08:00
if ( $notes -> num_rows () > 0 )
{
echo " <ul class= \" notes_list \" > " ;
foreach ( $notes -> result () as $row )
{
echo " <li> " ;
echo " <a href= \" " . site_url () . " /notes/view/ " . $row -> id . " \" > " . $row -> title . " </a> " ;
echo " </li> " ;
}
echo " </ul> " ;
} else {
2018-12-18 07:05:29 +08: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-07 07:09:51 +08:00
}
?>
</ div >
< div class = " span2 offset1 " >
< a class = " btn primary " href = " <?php echo site_url('notes/add'); ?> " > Create Note </ a >
</ div >
</ div >
2011-06-17 20:52:00 +08:00
2018-12-18 07:05:29 +08:00
</ div >