summaryrefslogtreecommitdiffstats
path: root/views/elements/authnav.html.php
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-07-03 04:30:08 -0700
committerraylu <raylu@mixpanel.com>2011-07-03 04:30:08 -0700
commitb9aa2a0396aa5f7db439bc362952f7710c7c24e9 (patch)
tree8c66dcdb86b7be5234333b97f1aec704f2d37912 /views/elements/authnav.html.php
parentb24488ae40a5b503c1c9662af887d39d5868456c (diff)
downloadotakuhub-b9aa2a0396aa5f7db439bc362952f7710c7c24e9.tar.xz
rearrange the header and get rid of wrapper
Diffstat (limited to 'views/elements/authnav.html.php')
-rw-r--r--views/elements/authnav.html.php50
1 files changed, 17 insertions, 33 deletions
diff --git a/views/elements/authnav.html.php b/views/elements/authnav.html.php
index e2f3d99..9b0af38 100644
--- a/views/elements/authnav.html.php
+++ b/views/elements/authnav.html.php
@@ -1,39 +1,23 @@
<nav>
<ul id="nav">
<li class="current"><a href="/users/feed">Home</a></li>
- <li><a href="about.html">Anime</a>
- <ul>
- <li><a href="about.html">Top Anime</a>
- <li><a href="#">Recomendations</a></li>
- <li><a href="/animelist/view/<?= $user['username'] ?>">My Animelist</a></li>
- </ul>
- </li>
- <li><a href="#">Manga</a>
- <ul>
- <li><a href="#">Top Manga</a></li>
- <li><a href="#">Recomendations</a></li>
- </ul>
- </li>
- <li><a href="#">Friends</a>
- <ul>
- <li><a href="">Add Friend</a></li>
- </ul>
- </li>
- <li><a href="/users/settings"> Settings </a></li>
- <li><a href="/logout">Logout</a></li>
- <li>
- <?= $this->form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'style' => 'height:20px', 'method' => 'get')); ?>
- <?= $this->form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'class' => 'sidebar-search', 'style' => 'width:200px')); ?>
- <button class="search" type="submit">Go</button>
- <br class="cl"/>
- <?= $this->form->end(); ?>
- </li>
+ <li><a href="about.html">Anime</a></li>
+ <li><a href="/animelist/view/<?= $user['username'] ?>">My List</a></li>
+ <li><a href="#">Manga</a></li>
+ <li><a href="#">Friends</a></li>
+ <li><a href="/users/settings">Settings</a></li>
+ <li><a href="/logout">Logout</a></li>
</ul>
-<br class="cl" />
</nav>
+
+<?= $this->form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'method' => 'get')); ?>
+<?= $this->form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'style' => 'width: 200px')); ?>
+<button class="search" type="submit">Go</button>
+<?= $this->form->end(); ?>
+
<div id="friend" style="display:none">
- <?= $this->form->create(); ?>
- <?= $this->form->field('username', array('type' => 'textbox')); ?>
- <?= $this->form->submit('Add'); ?>
- <?= $this->form->end(); ?>
-</div> \ No newline at end of file
+ <?= $this->form->create(); ?>
+ <?= $this->form->field('username', array('type' => 'textbox')); ?>
+ <?= $this->form->submit('Add'); ?>
+ <?= $this->form->end(); ?>
+</div>