diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-04-09 20:30:15 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-04-09 20:48:28 +0200 |
commit | 42375b9229757bbf55d6c3611e3aaacfff0a4bf6 (patch) | |
tree | 0a9f029bcef866d95d827a54a4d5533489cead3f /application/views/file | |
parent | ca64b0e4616bbbfa97fbb8465dce75aa79c04360 (diff) |
header: hide login box until hover
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file')
-rw-r--r-- | application/views/file/header.php | 15 |
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> |