diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-15 13:14:13 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-15 13:14:13 +0200 |
commit | b838996e110246a84673a4d457c78b01006f92ca (patch) | |
tree | 435ec337c3b3e9feca249ce5d759c2e486806193 /views/navbar.ejs | |
parent | added black favicon (diff) | |
download | Divid-b838996e110246a84673a4d457c78b01006f92ca.tar.gz |
modularized the test template
Diffstat (limited to '')
-rw-r--r-- | views/navbar.ejs | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/views/navbar.ejs b/views/navbar.ejs new file mode 100644 index 0000000..c339acc --- /dev/null +++ b/views/navbar.ejs @@ -0,0 +1,60 @@ + <!-- Navbar + ================================================== --> + <div class="navbar navbar-inverse navbar-fixed-top"> + <div class="navbar-inner" id="top-navbar"> + <div class="container"> + <% if (!loggedin) { %> + <div class="row-fluid collapse login-collapse"> + <div class="span7"> + <!--<img src="/img/logo_white.png">--> + </div> + <div class="span5"> + <form action="/login" method="post" id="login-form" class="form-horizontal"> + <div class="control-group"> + <div class="input-prepend"> + <span class="add-on"><i class="icon-envelope icon-white"></i></span> + <input type="email" name="user" id="user-tf" placeholder="E-post" required> + </div> + </div> + <div class="control-group"> + <div class="input-prepend"> + <span class="add-on"><i class="icon-lock icon-white"></i></span> + <input type="password" id="pass-tf" placeholder="Passord" required> + </div> + </div> + <div class="row-fluid"> + <div class="span7"> + <label class="checkbox"> + <input type="checkbox"> Remember me + </label> + </div> + <div class="span5"> + <button type="submit" class="btn btn-inverse btn-small">Logg inn</button> + </div> + </div> + </form> + </div> + </div> + <% } %> + <div class="row"> + <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target="nav-collapse"> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="brand" href="#">Divid</a> + <div class="nav-collapse collapse"> + <ul class="nav"> + <li><a href="#signup">signup</a></li> + <li><a href="#dashboard">Dashboard</a></li> + </ul> + </div> + <% if(!loggedin) { %><a class="brand login" data-toggle="collapse" data-target=".login-collapse" href="#login">Logg inn</a> + <% } else { %><a class="brand login">Logg ut</a> + <% } %> + </div> + </div> + </div> + </div> + + |