summaryrefslogtreecommitdiffstats
path: root/application/views/file/header.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-09 20:30:15 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-09 20:48:28 +0200
commit42375b9229757bbf55d6c3611e3aaacfff0a4bf6 (patch)
tree0a9f029bcef866d95d827a54a4d5533489cead3f /application/views/file/header.php
parentca64b0e4616bbbfa97fbb8465dce75aa79c04360 (diff)
header: hide login box until hover
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file/header.php')
-rw-r--r--application/views/file/header.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/application/views/file/header.php b/application/views/file/header.php
index 215584cc5..896b9c894 100644
--- a/application/views/file/header.php
+++ b/application/views/file/header.php
@@ -18,11 +18,16 @@
<?php if(isset($username) && $username) { ?>
<?=anchor("user/logout", "Logout"); ?>
<?php } else { ?>
- <?=form_open("user/login"); ?>
- <input type="text" name="username" />
- <input type="password" name="password" />
- <input type="submit" value="Login" name="process" />
- </form>
+ <a>
+ Login
+ <div id="login-form">
+ <?=form_open("user/login"); ?>
+ <input type="text" name="username" />
+ <input type="password" name="password" />
+ <input type="submit" value="Login" name="process" />
+ </form>
+ </div>
+ </a>
<?php } ?>
</div>
</div>