Skip to content

Instantly share code, notes, and snippets.

@harsha547
Created February 4, 2018 11:28
Show Gist options
  • Select an option

  • Save harsha547/20d1062e3318a195a9b4bfeb9d958133 to your computer and use it in GitHub Desktop.

Select an option

Save harsha547/20d1062e3318a195a9b4bfeb9d958133 to your computer and use it in GitHub Desktop.

Revisions

  1. harsha547 created this gist Feb 4, 2018.
    30 changes: 30 additions & 0 deletions Layout.jade
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    doctype html
    html(lang='en')
    head
    title Welcome
    link(rel='stylesheet', href='/stylesheets/bootstrap.css')
    link(rel='stylesheet', href='/stylesheets/style.css')
    body
    .navbar.navbar-default(role='navigation')
    .container
    .navbar-header
    button.navbar-toggle(type='button',data-toggle='collapse',data-target='.navbar-collapse')
    span.sr-only Toggle navigation
    span.icon-bar
    span.icon-bar
    a.navbar-brand(href='#') Brad Login Page
    .navbar-collapse.collapse
    ul.nav.navbar-nav
    li(class=(title=='Members' ? 'active' : ''))
    a(href='/') Members
    li(class=(title=='Register' ? 'active' : ''))
    a(href='/users/register') Register
    li(class=(title=='Login' ? 'active' : ''))
    a(href='/users/login') Login
    ul.nav.navbar-nav.navbar-right
    li
    a(href='/users/logout') Logout
    .container
    block content
    script(src='https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js')
    script(src='/javascripts/bootstrap.js')