diff options
author | raylu <raylu@mixpanel.com> | 2011-07-16 21:27:12 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-07-16 21:27:12 -0700 |
commit | 3404aebda95c78a98e477c120354f20891f55c7b (patch) | |
tree | c00b0f0ff1c47f9134bc6987a7e3bcfea53a7aca /views/search/index.html.php | |
parent | 30bd3dc2c8e1dea9fb394115138f4f5ef9aedc33 (diff) | |
download | otakuhub-3404aebda95c78a98e477c120354f20891f55c7b.tar.xz |
search page styling
Diffstat (limited to 'views/search/index.html.php')
-rw-r--r-- | views/search/index.html.php | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/views/search/index.html.php b/views/search/index.html.php index a05f269..f8889e2 100644 --- a/views/search/index.html.php +++ b/views/search/index.html.php @@ -1,15 +1,31 @@ <?php $this->styles($this->html->style('table')); +$this->styles($this->html->style('search')); ?> -<h3>Anime</h3> +<?= $this->_render('element', 'search') ?> + +<h2 class="ribbon">Anime</h2> +<div class="triangle-ribbon"></div> <?= $this->_render('element', 'animetable', compact('anime')) ?> -<?= $this->html->link("More", array('controller' => 'search', - 'action' => 'anime')); ?> -<h3>Manga</h3> -<?= $this->html->link("More", array('controller' => 'search', - 'action' => 'anime')); ?> - -<h3>K Drama</h3> -<?= $this->html->link("More", array('controller' => 'search', - 'action' => 'anime')); ?> +<p class="more"> +<a href="/search/anime/<?= $q ?>">More</a> +</p> + +<h2 class="ribbon">Manga</h2> +<div class="triangle-ribbon"></div> +<p>results</p> +<?php if(count($manga) > 0): ?> +<p class="more"> +<a href="/search/manga/<?= $q ?>">More</a> +</p> +<?php endif ?> + +<h2 class="ribbon">K-Drama</h2> +<div class="triangle-ribbon"></div> +<p>results</p> +<?php if(count($kdrama) > 0): ?> +<p class="more"> +<a href="/search/kdrama/<?= $q ?>">More</a> +</p> +<?php endif ?> |