--
 DROP TABLE IF EXISTS `#REPLACE_ME#_combined`;
 
-CREATE VIEW `#REPLACE_ME#_combined`  AS  select `#REPLACE_ME#_link`.`id` AS `id`,`#REPLACE_ME#_link`.`link` AS `link`,`#REPLACE_ME#_link`.`created` AS `created`,`#REPLACE_ME#_link`.`status` AS `status`,`#REPLACE_ME#_link`.`description` AS `description`,`#REPLACE_ME#_link`.`title` AS `title`,`#REPLACE_ME#_link`.`image` AS `image`,`#REPLACE_ME#_link`.`hash` AS `hash`,`#REPLACE_ME#_tag`.`name` AS `tag`,`#REPLACE_ME#_tag`.`id` AS `tagId`,`#REPLACE_ME#_category`.`name` AS `category`,`#REPLACE_ME#_category`.`id` AS `categoryId` from ((((`#REPLACE_ME#_link` left join `#REPLACE_ME#_tagrelation` on((`#REPLACE_ME#_tagrelation`.`linkid` = `#REPLACE_ME#_link`.`id`))) left join `#REPLACE_ME#_tag` on((`#REPLACE_ME#_tag`.`id` = `#REPLACE_ME#_tagrelation`.`tagid`))) left join `#REPLACE_ME#_categoryrelation` on((`#REPLACE_ME#_categoryrelation`.`linkid` = `#REPLACE_ME#_link`.`id`))) left join `#REPLACE_ME#_category` on((`#REPLACE_ME#_category`.`id` = `#REPLACE_ME#_categoryrelation`.`categoryid`))) ;
+CREATE VIEW `#REPLACE_ME#_combined` AS
+select `#REPLACE_ME#_link`.`id` AS `id`,
+`#REPLACE_ME#_link`.`link` AS `link`,
+`#REPLACE_ME#_link`.`created` AS `created`,
+`#REPLACE_ME#_link`.`status` AS `status`,
+`#REPLACE_ME#_link`.`description` AS `description`,
+`#REPLACE_ME#_link`.`title` AS `title`,
+`#REPLACE_ME#_link`.`image` AS `image`,
+`#REPLACE_ME#_link`.`hash` AS `hash`,
+`#REPLACE_ME#_tag`.`name` AS `tag`,
+`#REPLACE_ME#_tag`.`id` AS `tagId`,
+`#REPLACE_ME#_category`.`name` AS `category`,
+`#REPLACE_ME#_category`.`id` AS `categoryId`
+from ((((`#REPLACE_ME#_link`
+left join `#REPLACE_ME#_tagrelation` on((`#REPLACE_ME#_tagrelation`.`linkid` = `#REPLACE_ME#_link`.`id`)))
+left join `#REPLACE_ME#_tag` on((`#REPLACE_ME#_tag`.`id` = `#REPLACE_ME#_tagrelation`.`tagid`)))
+left join `#REPLACE_ME#_categoryrelation` on((`#REPLACE_ME#_categoryrelation`.`linkid` = `#REPLACE_ME#_link`.`id`)))
+left join `#REPLACE_ME#_category` on((`#REPLACE_ME#_category`.`id` = `#REPLACE_ME#_categoryrelation`.`categoryid`))) ;
 
 --
 -- Indexes for dumped tables
 
                                <div class="field has-addons">
                                        <div class="control is-expanded">
                                                <div class="control has-icons-left">
-                                                       <input class="input" type="text" name="data[searchfield]" placeholder="Search your bookmarks">
+                                                       <input class="input" type="text" name="data[searchfield]" placeholder="Search your bookmarks or add a new one">
                                                        <span class="icon is-small is-left">
                                                                <i class="ion-link"></i>
                                                        </span>
                        <div class="content">
                                <h4><a href="index.php?p=overview&m=all">Last added</a></h4>
 <?php if(!empty($latestLinks)) { ?>
-                               <div class="tags">
+                               <div class="field is-grouped is-grouped-multiline">
 <?php foreach ($latestLinks as $ll) { ?>
-                                       <a class="" href="<?php echo $ll['link']; ?>" target="_blank"><?php echo $ll['title']; ?></a>
+                                       <div class="control">
+                                               <div class="tags has-addons">
+                                               <a class="tag is-link" href="<?php echo $ll['link']; ?>" target="_blank"><?php echo $ll['title']; ?></a>
+                                               <a class="tag is-info">x</a>
+                                               </div>
+                                       </div>
 <?php } ?>
                                </div>
 <?php } ?>
                <div class="column is-one-quarter">
                        <div class="content">
                                <h4><a href="?p=overview&m=category&id=<?php echo urlencode($v['id']); ?>"><?php echo $v['name']; ?></a></h4>
-                               <div class="tags">
+                               <ul>
 <?php foreach ($links as $link) { ?>
-                                       <a class="" href="<?php echo $link['link']; ?>" target="_blank"><?php echo $link['title']; ?></a>
+                                       <li><a class="" href="<?php echo $link['link']; ?>" target="_blank"><?php echo $link['title']; ?></a></li>
 <?php } ?>
-                               </div>
+                               </ul>
                        </div>
                </div>
 <?php