extends ../layout

block content
  .col-sm-8.col-sm-offset-2
    form(method='POST')
      legend Sign In
      .form-group
        .btn-group.btn-group-justified
          a.btn.btn-facebook(href='/auth/facebook')
            i.fa.fa-facebook
            | Facebook
          a.btn.btn-twitter(href='/auth/twitter')
            i.fa.fa-twitter
            | Twitter
          a.btn.btn-github(href='/auth/github')
            i.fa.fa-github
            | GitHub
          a.btn.btn-google-plus(href='/auth/google')
            i.fa.fa-google-plus
            | Google
      .form-group
        label.control-label(for='email') Email
        input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
      .form-group
        label.control-label(for='username') Password
        input.form-control(type='password', name='password', id='password', placeholder='Password')
      .form-group
        button.btn.btn-primary(type='submit')
          i.fa.fa-unlock-alt
          | Login

Add help-block with "Forgot your password"

extends ../layout

block content
  .col-sm-8.col-sm-offset-2
    form(method='POST')
      legend Sign In
      .form-group
        .btn-group.btn-group-justified
          a.btn.btn-facebook(href='/auth/facebook')
            i.fa.fa-facebook
            | Facebook
          a.btn.btn-twitter(href='/auth/twitter')
            i.fa.fa-twitter
            | Twitter
          a.btn.btn-github(href='/auth/github')
            i.fa.fa-github
            | GitHub
          a.btn.btn-google-plus(href='/auth/google')
            i.fa.fa-google-plus
            | Google
      .form-group
        label.control-label(for='email') Email
        input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
      .form-group
        label.control-label(for='username') Password
        input.form-control(type='password', name='password', id='password', placeholder='Password')
        .help-block
          a(href='/login/forgot') Forgot Your Password?
      .form-group
        button.btn.btn-primary(type='submit')
          i.fa.fa-unlock-alt
          | Login


.widget.widget-balances
  h4(l10n) Balances

  ul.fa-ul
    li.currency-xrp
      i.fa-li
      h5 XRP
      div(ng-show="account.Balance") {{ account.Balance | rpamount:{precision: 2, min_precision: 2, max_sig_digits: 5} }}
      div(ng-hide="account.Balance") 0.00
    li(ng-repeat="entry in balances", ng-class="'currency-' + (entry.total | rpcurrency | lowercase)")
      i.fa-li.fa-money(ng-class="'fa-' + (entry.total | rpcurrency | lowercase)")
      h5 {{ entry.total | rpcurrency }}
      div {{ entry.total | rpamount:{precision: 2, min_precision: 2, max_sig_digits: 4} }}
      dl(ng-repeat="(issuer, component) in entry.components")
        dt(ng-show="component.gateway.app") {{rp-currency}}.{{component.gateway.app.name}}
        dt(ng-hide="component.gateway.app", rp-pretty-identity="issuer", rp-pretty-issuer-contacts="userBlob.data.contacts")
        dd {{ component | rpamount:{precision: 2, min_precision: 2, max_sig_digits: 4} }}

Add precision to balance widget

.widget.widget-balances
  h4(l10n) Balances

  ul.fa-ul
    li.currency-xrp
      i.fa-li
      h5 XRP
      div(ng-show="account.Balance") {{ account.Balance | rpamount }}
      div(ng-hide="account.Balance") 0.00
    li(ng-repeat="entry in balances", ng-class="'currency-' + (entry.total | rpcurrency | lowercase)")
      i.fa-li.fa-money(ng-class="'fa-' + (entry.total | rpcurrency | lowercase)")
      h5 {{ entry.total | rpcurrency }}
      div {{ entry.total | rpamount }}
      dl(ng-repeat="(issuer, component) in entry.components")
        dt(ng-show="component.gateway.app") {{rp-currency}}.{{component.gateway.app.name}}
        dt(ng-hide="component.gateway.app", rp-pretty-identity="issuer", rp-pretty-issuer-contacts="userBlob.data.contacts")
        dd {{ component | rpamount }}


extends ../layout/partial

block billboard
  | {{ subject.collection | capitalize }} Patient {{ subject.number }}

block content
  .col-md-6.qi-modeling-profile
    h4.row.col-md-offset-1
      | Imaging Profile
      button.btn.btn-med.qi-profile-btn(
        ng-show='subject.multiSession'
        ng-click='toggleModelingFormat()'
      )
        .glyphicon.glyphicon-list(ng-show="modelingFormat == 'Chart'")
        .glyphicon.glyphicon-picture(ng-show="modelingFormat == 'Table'")
    .qi-profile-sheet
      div(ng-show="modelingFormat == 'Chart'")
        include include/modeling-charts
      div(ng-show="modelingFormat == 'Table'")
        p
          | Lorem ipsum dolor sit amet, consectetur adipisicing elit,
          | sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
          | Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
          | nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
          | reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
          | pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
          | culpa qui officia deserunt mollit anim id est laborum.

  .col-md-6.qi-clinical-profile
    include include/clinical_profile

block help-text
  .qi-help-text(ng-include="'/partials/help/subject-detail.html'")

Change Table format to List.

extends ../layout/partial

block billboard
  | {{ subject.collection | capitalize }} Patient {{ subject.number }}

block content
  .col-md-6.qi-modeling-profile
    h4.row.col-md-offset-1
      | Imaging Profile
      button.btn.btn-med.qi-profile-btn(
        ng-show='subject.multiSession'
        ng-click='toggleModelingFormat()'
      )
        .glyphicon.glyphicon-list(ng-show="modelingFormat == 'Chart'")
        .glyphicon.glyphicon-picture(ng-show="modelingFormat == 'List'")
    .qi-profile-sheet
      #qi-modeling-chart(ng-show="modelingFormat == 'Chart'")
        include include/modeling-charts
      #qi-modeling-list(ng-show="modelingFormat == 'List'")
        p
          | Lorem ipsum dolor sit amet, consectetur adipisicing elit,
          | sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
          | Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
          | nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
          | reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
          | pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
          | culpa qui officia deserunt mollit anim id est laborum.

  .col-md-6.qi-clinical-profile
    include include/clinical_profile

block help-text
  .qi-help-text(ng-include="'/partials/help/subject-detail.html'")


doctype html
html(lang='en-us')
  head
    meta(http-equiv='Content-Type', content='text/html; charset=utf-8')
    meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
    meta(name='viewport', content='width=device-width, initial-scale=1.0')
    title Drink Machine | Try your luck for a morning beverage!
    link(rel='stylesheet', href='css/app.css')
    script(src='js/app.min.js', type='text/javascript')
  body
    h1 Try your luck for a morning beverage!
    div
      ul.Reels
        li.Reel.Reel_method
        li.Reel.Reel_equipment
        li.Reel.Reel_flavoring
    p.Appology.js-appology.u-displayNone Sorry, Please try again
    div.Kudos.js-kudos.u-displayNone
      p.Kudos Fantastic! You've won!
    button.js-play Press to Play

Tweak markup and pull in google fonts

doctype html
html(lang='en-us')
  head
    meta(http-equiv='Content-Type', content='text/html; charset=utf-8')
    meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
    meta(name='viewport', content='width=device-width, initial-scale=1.0')
    title Drink Machine | Try your luck for a morning beverage!
    link(href='http://fonts.googleapis.com/css?family=Lobster|Oswald:400,700,300', rel='stylesheet', type='text/css')
    link(rel='stylesheet', href='css/app.css')
    script(src='js/app.min.js', type='text/javascript')
  body
    .Banner
      h1.Banner-title Drink Machine
    h2 Try your luck for a morning beverage!
    div
      ul.Reels
        li.Reel.Reel_method
        li.Reel.Reel_equipment
        li.Reel.Reel_flavoring
    p.Appology.js-appology.u-displayNone Sorry, Please try again
    div.Kudos.js-kudos.u-displayNone
      p.Kudos Fantastic! You've won!
    button.js-play Press to Play


extends ../subject

block subject-details
    div.column-two-thirds
        each val,index in data.details
            div.grid-row.list-row
                div.column-full
                    div.left-border
                        span.quiet.block= val.type
                        div= val.name
                        div= val.addressLine1
                        div= val.addressLine2
                        div= val.addressLine4

        if (!data.details)
            span= data.noResultsText

Add ids for address elements

extends ../subject

block subject-details
    div.column-two-thirds
        each val,index in data.details
            div(id="address#{index}").grid-row.list-row.address
                div.column-full
                    div.left-border
                        span(id="address#{index}-type").quiet.block= val.type
                        div(id="address#{index}-name")= val.name
                        div(id="address#{index}-line1")= val.addressLine1
                        div(id="address#{index}-line2")= val.addressLine2
                        div(id="address#{index}-line4")= val.addressLine4

        if (!data.details)
            span= data.noResultsText


h1= self.t('admin.users.title')

Move breadcrumbs stub from layout to current pages(ACP)

ul.breadcrumbs
  li: a(href='#') Breadcrumbs
  li: a(href='#') Should
  li: a(href='#') Be
  li: a(href='#') Here

h1= self.t('admin.users.title')


mixin chickenLittle
	.jumbotron.dark.center.fixed-background(style="background-image: url(/images/wallpaper.jpg); padding-top: 70px; padding-bottom: 10px;")
		.container
			| The sky is falling, but you can help!  Post a pic to help us track Near-Earth Objects and save the chickens from destruction.
			a.btn.clear(href="/upload") Upload

mixin feed()
	.container.feed
		each val in results
			.feed-item
				img(src=val.get("src"), alt='')
				.text
					h4=val.get("name")
					p=val.get("description")

Remove upload button if logged out

mixin chickenLittle
	.jumbotron.dark.center.fixed-background(style="background-image: url(/images/wallpaper.jpg); padding-top: 70px; padding-bottom: 10px;")
		.container
			| The sky is falling, but you can help!  Post a pic to help us track Near-Earth Objects and save the chickens from destruction.
			if authed
				a.btn.clear(href="/upload") Upload
			else
				a.btn.clear(href="/signin") Sign In
				|   or
				a.btn.clear(href="/signup") Sign Up

mixin feed()
	.container.feed
		each val in results
			.feed-item
				img(src=val.get("src"), alt='')
				.text
					h4=val.get("name")
					p=val.get("description")


header.wrapper.jumbo
  .center
    h1.title Buckle 1.0.0
    h6.subtitle Stick'em with the pointy end.

article.wrapper
  .center
    p Reserved classnames that require a qualifying element.
    ul
      li blockquote.reverse
      li ol.right
      li ul.unstyled
      li hr.bold

Add reserved qualified class names

header.wrapper.jumbo
  .center
    h1.title Buckle 1.0.0
    h6.subtitle Stick'em with the pointy end.

article.wrapper
  .center
    p Reserved classnames that require a qualifying element.
    ul
      li blockquote.reverse
      li ol.right
      li ul.unstyled
      li hr.bold
      li img.left
      li img.right


include ../../../components/bordered_pulldown/mixin
include ../../../components/util/activator

nav.shows-page-cities-nav.horizontal-list-nav
  .hln-cell.is-dominant
    a.hln-link.shows-location(
      href='/shows'
      class= activeClass('/shows')
    ) All
    for city in featuredCities
      a.hln-link.shows-location(
        href="/shows/#{city.slug}"
        class= activeClass("/shows/#{city.slug}")
      )= city.name
  .hln-cell
    +bordered-scrollable-pulldown('All Cities', null)
      a( href='/shows' ) All Cities
      for city in cities
        a( href="/shows/#{city.slug}" )
          = city.name

Convert to a select jump menu

include ../../../components/bordered_pulldown/mixin
include ../../../components/util/activator

nav.shows-page-cities-nav.horizontal-list-nav
  .hln-cell.is-dominant
    a.hln-link.shows-location(
      href='/shows'
      class= activeClass('/shows')
    ) All
    for city in featuredCities
      a.hln-link.shows-location(
        href="/shows/#{city.slug}"
        class= activeClass("/shows/#{city.slug}")
      )= city.name
  .hln-cell
    label.bordered-select
      select( onChange='window.location.href=this.value' )
        option( value='/shows' ) All Cities
        for city in cities
          option( value='/shows/#{city.slug}' )
            = city.name


.settingPage
  a(href="#/security", ng-class="{active: $route.current.tabName == 'security'}", l10n) Security
  a(href="#/settingstrade", ng-class="{active: $route.current.tabName == 'settingstrade'}", l10n) Trade
  a(href="#/advanced", ng-class="{active: $route.current.tabName == 'advanced'}", l10n) Advanced
  a(href="#/settingsgateway", ng-class="{active: $route.current.tabName == 'settingsgateway'}", l10n) Gateways
  a(href="#/notifications", ng-class="{active: $route.current.tabName == 'notifications'}", l10n) Notifications

Rename some settings tabs (RT-3381)

.settingPage
  a(href="#/security", ng-class="{active: $route.current.tabName == 'security'}", l10n) Security
  a(href="#/settingstrade", ng-class="{active: $route.current.tabName == 'settingstrade'}", l10n) Trade
  a(href="#/advanced", ng-class="{active: $route.current.tabName == 'advanced'}", l10n) Network and servers
  a(href="#/settingsgateway", ng-class="{active: $route.current.tabName == 'settingsgateway'}", l10n) Gateways and trust lines
  //- a(href="#/notifications", ng-class="{active: $route.current.tabName == 'notifications'}", l10n) Notifications


template(name='home')
	.jumbotron
		.container
			h1 {{_ "applicationName"}}
			p Créez et gérez votre mangathèque !
	.container
		h2 Qu'est-ce que Mangatek
		p Mangatek vous permet de créer, d'organiser votre mangathèque virtuelle.
		p Vous n'oublierez plus quel tome vous manque sur chaque série de mangas.
		p Trouvez tous les mangas réalisez par votre mangaka préféré
		p Pas d'idée de cadeau ? Envoyez par mail à vos amis la liste des mangas qu'il vous manque !
		h2 Mangas présents sur Mangatek

Add cover for each mangas on the app

template(name='home')
	.jumbotron
		.container
			h1 {{_ "applicationName"}}
			p Créez et gérez votre mangathèque !
	.container
		h2 Qu'est-ce que Mangatek
		p Mangatek vous permet de créer, d'organiser votre mangathèque virtuelle.
		p Vous n'oublierez plus quel tome vous manque sur chaque série de mangas.
		p Trouvez tous les mangas réalisez par votre mangaka préféré
		p Pas d'idée de cadeau ? Envoyez par mail à vos amis la liste des mangas qu'il vous manque !
		h2 Mangas présents sur Mangatek
		.col-xs-12.col-sm-12.col-md-12.col-lg-12
			#coverList.grid
				each covers
					+cover


extends layout

block content
  h1= title
  p.
    A simple tool for experimenting with JS libraries in your web console.
  p.
    Development versions of jQuery and Underscore are included in this page,
    with no other JavaScript files. To use your web console with these
    libraries, simply open it up on this page and hack away.

  footer
    © 2013
    a(href='http://thenickperson.com/') Nicolas McCurdy

  h2 Current library
  if scriptUrl
    a(href=scriptUrl)= scriptUrl
  else
    p none

  h2 All libraries
  ul
    each package in libraryUrls
      li
        a(href=package.url)= package.name

  script(src=scriptUrl)

Make package links lead to jsbox with the appropriate library included

extends layout

block content
  h1= title
  p.
    A simple tool for experimenting with JS libraries in your web console.
  p.
    Development versions of jQuery and Underscore are included in this page,
    with no other JavaScript files. To use your web console with these
    libraries, simply open it up on this page and hack away.

  footer
    © 2013
    a(href='http://thenickperson.com/') Nicolas McCurdy

  h2 Current library
  if scriptUrl
    a(href=scriptUrl)= scriptUrl
  else
    p none

  h2 All libraries
  ul
    each package in libraryUrls
      li
        a(href='?scriptUrl='+encodeURIComponent(package.url))= package.name

  script(src=scriptUrl)


extends layout

block styles
	link(href="/css/style.css", rel="stylesheet")

block content
	canvas
	#viewport
	#listener
		embed(width="0" height="0" src="/server/server.nmf" type="application/x-pnacl")
	img#layer1(src="/img/layer1.png", alt="layer1")
	img#layer2(src="/img/layer2.png", alt="layer2")
	img#layer3(src="/img/layer3.png", alt="layer3")

block scripts
	script(src="/two/two.min.js")
	script(src="/js/arkanoid.min.js")

Update du lien vers le css suite a la modification de la tache de compilation stylus

extends layout

block styles
	link(href="/css/client.css", rel="stylesheet")

block content
	canvas
	#viewport
	#listener
		embed(width="0" height="0" src="/server/server.nmf" type="application/x-pnacl")
	img#layer1(src="/img/layer1.png", alt="layer1")
	img#layer2(src="/img/layer2.png", alt="layer2")
	img#layer3(src="/img/layer3.png", alt="layer3")

block scripts
	script(src="/two/two.min.js")
	script(src="/js/arkanoid.min.js")


header.scontact-header
  h1.scontact-headline
    | Send message to #{partner.displayType().toLowerCase()}

  hr

  p.scontact-description
    | To: #{partner.get('name')}
    span.js-contact-location
      //- Rendered separately?

hr

include forms/inquiry

Work of the partner attached on the artwork rather than having to pass it in

header.scontact-header
  h1.scontact-headline
    | Send message to #{artwork.related().partner.displayType().toLowerCase()}

  hr

  p.scontact-description
    | To: #{artwork.related().partner.get('name')}
    span.js-contact-location
      //- Rendered separately?

hr

include forms/inquiry


block content
    div.navbar navbar-fixed-top, (role='navigation')
        div.container-fluid
            div.navbar-header
                button.navbar-toggle (data-target=".navbar-collapse' data-toggle="collapse" type="button")
                    span.sr-only
                        Toggle navigation
                    span.icon-bar
                    span.icon-bar
                    span.icon-bar

                a.navbar-brand (href="#")
                    AXB-Cagnote
            div.navbar-collapse collapse
                ul.nav navbar-nav navbar-right
                    li
                        a (href="#")
                            Sign In
                    li
                        a(href="#")
                            Log In
    div.top
        form.form-horizontal(method="post", id="loginForm")
            label Username
            input.span3(id="username", type="text", name="User", placeholder="Enter your username")
            label Password
            input.span3(id="passord" type="password", name="Password")
            input.btn(type="submit", value="Log in")
    div.container

    div.footer

Fix jade template main page

block content
    div(class='navbar navbar-fixed-top', role='navigation')
        div.container-fluid
            div.navbar-header
                button.navbar-toggle(data-target=".navbar-collapse", data-toggle="collapse", type="button")
                    span.sr-only Toggle navigation
                    span.icon-bar
                    span.icon-bar
                    span.icon-bar

                a.navbar-brand(href="#") AXB-Cagnote
            div(class='navbar-collapse collapse')
                ul(class='nav navbar-nav navbar-right')
                    li
                        a(href="#") Sign In
                    li
                        a(href="#") Log In
    div.top
        form.form-horizontal(method="post", id="loginForm")
            label Username
            input.span3(id="username", type="text", name="User", placeholder="Enter your username")
            label Password
            input.span3(id="passord" type="password", name="Password")
            input.btn(type="submit", value="Log in")
    div.container

    div.footer


extends layout

block content

  style body{background: transparent url("http://punnitimages.s3-website-us-east-1.amazonaws.com/LAA.jpg") no-repeat scroll left top / cover !important;}

  div#introDiv

    h1 Multi-variable To-do List

    p A todo list with bivariate priority ranking: generates a priority for your tasks using both the weight of the assignment in the course, and the time left until the deadline:

    img(src="images/eq.svg",style="width:20em;padding:1em 2em;")

    p Higher-weighted, sooner-due tasks receive higher priority. Tasks due within seven days are highlighted red, tasks due within fourteen days are highlighted yellow. The background image is configurable in the preferences.

    p Source code is #[a(href="https://github.com/davidschlachter/multivariable-todo") on Github].

    img(src="images/tasks.png",style="width:100%;")

    p#pLogin #[a(href="auth/facebook")#aLogin #[img(src="images/facebook.svg",style="height:2em;width:2em;vertical-align:middle;")] Login with Facebook]

Change login background to something with web caching enabled

extends layout

block content

  style body{background: transparent url("https://farm8.staticflickr.com/7072/7340248160_f368a8a3df_k_d.jpg") no-repeat scroll left top / cover !important;}

  div#introDiv

    h1 Multi-variable To-do List

    p A todo list with bivariate priority ranking: generates a priority for your tasks using both the weight of the assignment in the course, and the time left until the deadline:

    img(src="images/eq.svg",style="width:20em;padding:1em 2em;")

    p Higher-weighted, sooner-due tasks receive higher priority. Tasks due within seven days are highlighted red, tasks due within fourteen days are highlighted yellow. The background image is configurable in the preferences.

    p Source code is #[a(href="https://github.com/davidschlachter/multivariable-todo") on Github].

    img(src="images/tasks.png",style="width:100%;")

    p#pLogin #[a(href="auth/facebook")#aLogin #[img(src="images/facebook.svg",style="height:2em;width:2em;vertical-align:middle;")] Login with Facebook]


include ./mixins/sectionLink.jade
include ./mixins/diffGeneratedNotice.jade
extends layout

mixin toc(sections)
  ol
    each section in sections
      li
        if section.sections.length === 0
          +sectionLink(section)
        else
          | #{section.headingText}
          +toc(section.sections)

block content
  h1 Diff of HTMLs
  p Unofficial diff viewer for WHATWG HTML Standard and W3C HTML. The Diff of HTMLs provides side-by-side diff view of each section between the specifications.

  h2 Table of contents (TOCs) of the HTML specifications

  +sectionLegends()

  p.note Note: This site modifies TOCs to reduce unnecessary diffs. The following TOCs are not equal to the specifications. More info.

  +diffGeneratedNotice(time)

  div.toc
    +toc(index)

Handle case where section.sections is undefined

include ./mixins/sectionLink.jade
include ./mixins/diffGeneratedNotice.jade
extends layout

mixin toc(sections)
  ol
    each section in sections
      li
        - var childSections = section.sections || [];
        if childSections.length === 0
          +sectionLink(section)
        else
          | #{section.headingText}
          +toc(childSections)

block content
  h1 Diff of HTMLs
  p Unofficial diff viewer for WHATWG HTML Standard and W3C HTML. The Diff of HTMLs provides side-by-side diff view of each section between the specifications.

  h2 Table of contents (TOCs) of the HTML specifications

  +sectionLegends()

  p.note Note: This site modifies TOCs to reduce unnecessary diffs. The following TOCs are not equal to the specifications. More info.

  +diffGeneratedNotice(time)

  div.toc
    +toc(index)


extends ../../../components/layout/index--info

block vars
  - extraClasses = 'no-messages body--static'

block body
  .gs
    h1 Are.na / Getting Started
    .gs__body
      include ./slides/1-channels.jade
      include ./slides/2-blocks.jade
      include ./slides/3-connections.jade
      include ./slides/4-users.jade
      include ./slides/5-feed.jade
    .gs__profile
      if user
        a.btn(href="/#{user.get('slug')}") Go to your profile
      else
        a.btn(href="/#{user.get('slug')}") Sign up

Add sign up button for the CTA freak

extends ../../../components/layout/index--info

block vars
  - extraClasses = 'no-messages body--static'

block body
  .gs
    h1 Are.na / Getting Started
    .gs__body
      include ./slides/1-channels.jade
      include ./slides/2-blocks.jade
      include ./slides/3-connections.jade
      include ./slides/4-users.jade
      include ./slides/5-feed.jade
    .gs__profile
      if user
        a.btn(href="/#{user.get('slug')}") Go to your profile
      else
        a.btn(href="/sign_up") Sign up


extends ../subject2

block subject-details
    div.column-two-thirds
        if (subject.movements && subject.movements.length !== 0)
            each val,index in subject.movements
                div.grid-row.list-row.listItem
                    div.column-full(class="movement-type-#{val.type}")
                        div.left-border
                            span.quiet #{moment(val.date).format('DD/MM/YYYY')}
                        div.left-border
                            span.type.bold-small #{val.type == 'D' ? 'OUT' : 'IN'} -
                            span #{setCase.capital(val.movement)}

                        div.left-border
                            span #{setCase.capital(val.establishment)}

        else
            span= noResultsText

Use sentence case on movement description

extends ../subject2

block subject-details
    div.column-two-thirds
        if (subject.movements && subject.movements.length !== 0)
            each val,index in subject.movements
                div.grid-row.list-row.listItem
                    div.column-full(class="movement-type-#{val.type}")
                        div.left-border
                            span.quiet #{moment(val.date).format('DD/MM/YYYY')}
                        div.left-border
                            span.type.bold-small #{val.type == 'D' ? 'OUT' : 'IN'} -
                            span #{setCase.sentence(val.movement)}

                        div.left-border
                            span #{setCase.capital(val.establishment)}

        else
            span= noResultsText


extends layouts/default

block main
  .jumbotron
    .container
      h1.intro-title
        i.glyphicon.glyphicon-share
        |  Share your toys!
      p.vspace-one
        | A website for all the lovely mothers and children -
        | Share your toys.  Borrow interesting ones.  Make new friends.
        | And best of all...
        span.red.slant
          strong Free to use!
      p
        a.btn.btn-primary(href="/toys/share") Share your toys

Add tracking code for landing page

extends layouts/default

block main
  .jumbotron
    .container
      h1.intro-title
        i.glyphicon.glyphicon-share
        |  Share your toys!
      p.vspace-one
        | A website for all the lovely mothers and children -
        | Share your toys.  Borrow interesting ones.  Make new friends.
        | And best of all...
        span.red.slant
          strong Free to use!
      p
        a.btn.btn-primary(href="/toys/share") Share your toys

block extra_js
  script.
      mixpanel.track('Landing page')


div(class='isso-postbox')
    div(class='form-wrapper')
        div(class='textarea-wrapper')
            div(class='textarea placeholder' contenteditable='true')
                = i18n('postbox-text')
        section(class='auth-section')
            p(class='input-wrapper')
                input(type='text' name='author' placeholder=i18n('postbox-author')
                      value=author !== null ? '#{author}' : '')
            p(class='input-wrapper')
                input(type='email' name='email' placeholder=i18n('postbox-email')
                      value=email != null ? '#{email}' : '')
            p(class='input-wrapper')
                input(type='text' name='website' placeholder=i18n('postbox-website')
                      value=website != null ? '#{website}' : '')
            p(class='post-action')
                input(type='submit' value=i18n('postbox-submit'))

Use <label>s rather than placeholders

div(class='isso-postbox')
    div(class='form-wrapper')
        div(class='textarea-wrapper')
            div(class='textarea placeholder' contenteditable='true')
                = i18n('postbox-text')
        section(class='auth-section')
            p(class='input-wrapper')
                label(for='isso-postbox__author')
                    = i18n('postbox-author')
                input(type='text' id='isso-postbox__author' name='author'
                      value=author !== null ? '#{author}' : '')
            p(class='input-wrapper')
                label(for='isso-postbox__email')
                    = i18n('postbox-email')
                input(type='email' id='isso-postbox__email' name='email'
                      value=email != null ? '#{email}' : '')
            p(class='input-wrapper')
                label(for='isso-postbox__website')
                    = i18n('postbox-website')
                input(type='text' id='isso-postbox__website' name='website'
                      value=website != null ? '#{website}' : '')
            p(class='post-action')
                input(type='submit' value=i18n('postbox-submit'))


html(lang="en")
    head
        title= title
        link(rel='stylesheet', type='text/css', href='style/normalize.css')
        link(rel='stylesheet', type='text/css', href='style/font-awesome.css')
        link(rel='stylesheet', type='text/css', href='style/style.css')
    body
        header
            each val in navs
                li= val
        #container
            != contents
        footer

Update link to documented source code

html(lang="en")
    head
        title= title
        link(rel='stylesheet', type='text/css', href='style/normalize.css')
        link(rel='stylesheet', type='text/css', href='style/font-awesome.css')
        link(rel='stylesheet', type='text/css', href='style/style.css')
    body
        header
            a(href='doc/index.html')
                Documented source code
            each val in navs
                li= val
        #container
            != contents
        footer


extends layout

mixin displayFeature(feature)
  .panel.panel-default
    .panel-heading: h3.panel-title= feature.name
    ul.list-group: each key in Object.keys(feature.examples)
      +displayExample(key, feature.examples[key])

mixin displayExample(technology, code)
  li.list-group-item.active
    .list-group-item-heading= technology
    p.list-group-item-text
      if typeof code === 'string'
        code= code
      else
        each str in code
          div: code= str

block content
  // results
  h2 Results
  if features.length > 0
    ol: each feature in features
      li: +displayFeature(feature)
  else
    h3.text-muted No results

Use inline lists to clean up the display of examples with multiple commands

extends layout

mixin displayFeature(feature)
  .panel.panel-default
    .panel-heading: h3.panel-title= feature.name
    ul.list-group: each key in Object.keys(feature.examples)
      +displayExample(key, feature.examples[key])

mixin displayExample(technology, code)
  li.list-group-item.active
    .list-group-item-heading= technology
    p.list-group-item-text
      ul.list-inline
        if typeof code === 'string'
          li: code= code
        else
          each str in code
            li: code= str

block content
  // results
  h2 Results
  if features.length > 0
    ol: each feature in features
      li: +displayFeature(feature)
  else
    h3.text-muted No results


doctype html
html
  head
    title ochat
    link(rel='stylesheet', href='/stylesheets/style.css')
    link(rel='stylesheet', href='//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css')
  body
    .container
      nav.navbar.navbar-default(role='navigation')
        .navbar-brand ochat
        form.navbar-form
          input#name-field.form-control(type='text', placeholder='Guest')

      block content

    script(src='http://code.jquery.com/jquery-2.1.0.min.js')
    script(src='//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js')
    script(src='/socket.io/socket.io.js')
    script(src='/javascripts/client.js')

Use the "navbar-static-top" class for the navbar

doctype html
html
  head
    title ochat
    link(rel='stylesheet', href='/stylesheets/style.css')
    link(rel='stylesheet', href='//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css')
  body
    nav.navbar.navbar-default.navbar-static-top(role='navigation')
      .navbar-brand ochat
      form.navbar-form
        input#name-field.form-control(type='text', placeholder='Guest')

    .container: block content

    script(src='http://code.jquery.com/jquery-2.1.0.min.js')
    script(src='//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js')
    script(src='/socket.io/socket.io.js')
    script(src='/javascripts/client.js')


.media#profile-block(data-profile-id="#{profile.id}")
  span.pull-left
    if profile.image && profile.image.url
      img.img-rounded.media-object(src="#{profile.image.url}", width="128", height="128")
    else
      img.img-rounded.media-object(src="/images/default.png", width="128", height="128")
  .media-body
  .pull-right
    - var person = profile
    include ./profile-responses.jade
  h1.media-header!= profile.displayName
    |
    small
      if profile.id && profile.id.substr(0, 5) === 'acct:'
        = profile.id.substr(5)
      else
        = profile.preferredUsername

if profile.location
  p.location!= profile.location.displayName
if profile.summary
  p.summary!= profile.summary
// TODO: HOME PAGE HERE

Fix profile page header layout


.responses

  //- Like/unlike button

  if obj.liked
    a.unfavorite(href="#") Unlike
      i.icon-thumbs-down
  else
    a.favorite(href="#") Like
      i.icon-thumbs-up

  //- Comment button

  a.comment(href="#") Comment
    i.icon-comment

  //- Share/unshare button

  if obj.shared
    a.unshare(href="#") Unshare
      i.icon-remove
  else
    a.share(href="#") Share
      i.icon-share-alt

Fix "Unshare" button not appearing when it should

.responses

  //- Like/unlike button

  if obj.liked
    a.unfavorite(href="#") Unlike
      i.icon-thumbs-down
  else
    a.favorite(href="#") Like
      i.icon-thumbs-up

  //- Comment button

  a.comment(href="#") Comment
    i.icon-comment

  //- Share/unshare button

  if obj.shares
    a.unshare(href="#") Unshare
      i.icon-remove
  else
    a.share(href="#") Share
      i.icon-share-alt


- load static from staticfiles
- load i18n
- load sboard

header.ui.grid.scrooled
  .computer.tablet.only.row
    .row
      .ui.pointing.menu.fixed
        a(href="/"): img(src="{% static 'img/logo.png' %}").logo

        .item.parliamentarian
          .name {{profile.full_name}}
          .fraction-name {{profile.fraction_name}}

        .right.menu
          .item: a(href="#bio") Biografija
          .item: a(href="#decisions") Sprendimai
          .item: a(href="#stenogram_section") Stenogramos

  .mobile.only.row
    .ui.pointing.small.menu.fixed
      a(href="/"): img(src="{% static 'img/logo.png' %}").logo-small
      .right.menu
        .ui.dropdown.item
          i.content.icon
          .menu
            a.item(href="{% url 'social:begin' 'google-oauth2' %}") Google
            if FACEBOOK_APP_ID
              a.item(href="{% url 'social:begin' 'facebook-oauth2' %}") Facebook
            a.item(href="{% url 'login' %}") OpenID

Add projects into scrolled header.

- load static from staticfiles
- load i18n
- load sboard

header.ui.grid.scrooled
  .computer.tablet.only.row
    .row
      .ui.pointing.menu.fixed
        a(href="/"): img(src="{% static 'img/logo.png' %}").logo

        .item.parliamentarian
          .name {{profile.full_name}}
          .fraction-name {{profile.fraction_name}}

        .right.menu
          .item: a(href="#bio") Biografija
          .item: a(href="#decisions") Sprendimai
          .item: a(href="#stenogram_section") Stenogramos
          .item: a(href="#law-projects") Projektai

  .mobile.only.row
    .ui.pointing.small.menu.fixed
      a(href="/"): img(src="{% static 'img/logo.png' %}").logo-small
      .right.menu
        .ui.dropdown.item
          i.content.icon
          .menu
            a.item(href="{% url 'social:begin' 'google-oauth2' %}") Google
            if FACEBOOK_APP_ID
              a.item(href="{% url 'social:begin' 'facebook-oauth2' %}") Facebook
            a.item(href="{% url 'login' %}") OpenID


extends layout

block content
  p
    :markdown
      Ship It is a utility for submitting new projects to the
      [hackEDU gallery](https://shipped.hackedu.us).
  .auth
    a(href='/auth/github' class='github-login')
      | Login with GitHub

Clarify what github permissions are for

extends layout

block content
  p
    :markdown
      Ship It is a utility that submits projects to the [hackEDU Project
      Gallery](https://shipped.hackedu.us).

      It forks the [hackedu/shipped](https://github.com/hackedu/shipped)
      repository and submits a pull request to add a new project for you.
  .auth
    a(href='/auth/github' class='github-login')
      | Login with GitHub


mixin FeedPosts()
  -var posts = getPages({type:"post"})
  -posts.sort(function(prev, next){return prev.date > next.date ? -1 : 1})
  -posts = posts.slice(0, 20)
  each post in posts
    item
      title #{post.title}
      description
        | <![CDATA[[
        | !{getFeedDescription(post.slug)}
        | ]]>
      pubDate #{(new Date(post.date)).toUTCString()}
      <link>#{lang.baseURL}/#{uri(post.slug + '.html')}</link>
      guid(isPermaLink="true") #{lang.baseURL}/#{uri(post.slug + '.html')}

Remove extra bracket in the RSS feed template

mixin FeedPosts()
  -var posts = getPages({type:"post"})
  -posts.sort(function(prev, next){return prev.date > next.date ? -1 : 1})
  -posts = posts.slice(0, 20)
  each post in posts
    item
      title #{post.title}
      description
        | <![CDATA[
        | !{getFeedDescription(post.slug)}
        | ]]>
      pubDate #{(new Date(post.date)).toUTCString()}
      <link>#{lang.baseURL}/#{uri(post.slug + '.html')}</link>
      guid(isPermaLink="true") #{lang.baseURL}/#{uri(post.slug + '.html')}


doctype 5
html
  head
    title Groonga CloudSearch
    script(src="/javascripts/jquery-1.7.2.min.js", type="text/javascript")
    script(src="/javascripts/jade.min.js", type="text/javascript")
    script(src="/javascripts/gcs.js", type="text/javascript")
    link(href="/stylesheets/bootstrap.min.css", rel="stylesheet")
    link(href="/stylesheets/gcs.css", rel="stylesheet")
    script#request-information-template(type="text/html")
      |p
      |  span view raw:
      |  a(href=urlForRawRequest, target='_blank')= urlForRawRequest
    script#results-template(type="text/html")
      |table.table.table-bordered
      |  if hits.hit.length > 0
      |    each record, index in hits.hit
      |      tr.id-row
      |        td= index + 1
      |        td.id-cell(colspan="2")= record.id
      |      each value, columnName in record.data
      |        tr
      |          td
      |          td= columnName
      |          td= value
      |  else
      |    tr
      |      td No record matched for the query.

  body
    .navbar.navbar-fixed-top
      .navbar-inner
        .container
          a.brand(href="/") Groonga CloudSearch
          form.navbar-form.pull-right#domain
            input(type="text", value="companies", name="domain-name")
          p.navbar-text.pull-right Domain:
    .container
      .row
        .span12
          != body

Set default domain to 'example'

doctype 5
html
  head
    title Groonga CloudSearch
    script(src="/javascripts/jquery-1.7.2.min.js", type="text/javascript")
    script(src="/javascripts/jade.min.js", type="text/javascript")
    script(src="/javascripts/gcs.js", type="text/javascript")
    link(href="/stylesheets/bootstrap.min.css", rel="stylesheet")
    link(href="/stylesheets/gcs.css", rel="stylesheet")
    script#request-information-template(type="text/html")
      |p
      |  span view raw:
      |  a(href=urlForRawRequest, target='_blank')= urlForRawRequest
    script#results-template(type="text/html")
      |table.table.table-bordered
      |  if hits.hit.length > 0
      |    each record, index in hits.hit
      |      tr.id-row
      |        td= index + 1
      |        td.id-cell(colspan="2")= record.id
      |      each value, columnName in record.data
      |        tr
      |          td
      |          td= columnName
      |          td= value
      |  else
      |    tr
      |      td No record matched for the query.

  body
    .navbar.navbar-fixed-top
      .navbar-inner
        .container
          a.brand(href="/") Groonga CloudSearch
          form.navbar-form.pull-right#domain
            input(type="text", value="example", name="domain-name")
          p.navbar-text.pull-right Domain:
    .container
      .row
        .span12
          != body


.contain-to-grid
  nav.top-bar(data-topbar)
    ul.title-area
      li.name
        h1
          a(href="/")
            img(src="/assets/img/regard-logo-and-text.png" height="54px" width="172px")

      li.toggle-topbar.menu-icon
        a(href="#")
    section.top-bar-section
      ul.right
        li
          a(href="http://with-regard.github.io") Blog
        li(class=(menu === 'contact' ? 'active' : ''))
          a(href="contact") Contact us

Remove links until pages are done


doctype 5
html(lang="en")
  head
    title= Chat
    meta(name="viewport",content="width=device-width, initial-scale=1.0")
    link(rel="stylesheet",href="/css/application.css")
  body
    #chatWindow
      #messageTarget
      #sendWindowBuffer
    #sendWindow
      form#sendForm
        span#sendButtonWrapper
          button#sendButton.btn Send
        span#sendInputWrapper
          input(name="message",autocomplete="off")#sendInput
    script(type="text/javascript",src="/js/jquery-2.0.3.min.js")
    script(type="text/javascript",src="/socket.io/socket.io.js")
    script(type="text/javascript",src="/js/application.js")
    script(type="text/javascript",src="/js/focus.js")

Update for new version of jade

doctype html
html(lang="en")
  head
    title= Chat
    meta(name="viewport",content="width=device-width, initial-scale=1.0")
    link(rel="stylesheet",href="/css/application.css")
  body
    #chatWindow
      #messageTarget
      #sendWindowBuffer
    #sendWindow
      form#sendForm
        span#sendButtonWrapper
          button#sendButton.btn Send
        span#sendInputWrapper
          input(name="message",autocomplete="off")#sendInput
    script(type="text/javascript",src="/js/jquery-2.0.3.min.js")
    script(type="text/javascript",src="/socket.io/socket.io.js")
    script(type="text/javascript",src="/js/application.js")
    script(type="text/javascript",src="/js/focus.js")


#header-container
  a(href='#', id='toggleButton')
    span.bar-icon
    span.bar-icon
    span.bar-icon

  h1#logo
    a(href=config['home link'] || '/')
      img(src=config['logo']).logo
      span.logo-link= t('common.app-name')

  .user-nav.btn-group
    .user
    a(href='/signin').login.pull-right.anonymous-citizen
      i.icon-signin
      span= t('header.signin')
    a(href='/signup').login.pull-right.anonymous-citizen
      i.icon-user
      span= t('header.signup')
    a.login.pull-left(href=config['organization url'], target='_blank')
      span= config['organization name']
    //- a.login.pull-left(href='#', id='feedback')
    //-   span= t('header.feedback')

Make '_target' attr conditional to 'home link' setting on header org link

#header-container
  a(href='#', id='toggleButton')
    span.bar-icon
    span.bar-icon
    span.bar-icon

  h1#logo
    a(href=config['home link'] || '/')
      img(src=config['logo']).logo
      span.logo-link= t('common.app-name')

  .user-nav.btn-group
    .user
    a(href='/signin').login.pull-right.anonymous-citizen
      i.icon-signin
      span= t('header.signin')
    a(href='/signup').login.pull-right.anonymous-citizen
      i.icon-user
      span= t('header.signup')
    - var target = config['home link'] ? {} : { 'target': '_blank'};
    a.login.pull-left(href=config['organization url'])&attributes(target)
      span= config['organization name']
    //- a.login.pull-left(href='#', id='feedback')
    //-   span= t('header.feedback')


.isic-listing-header
  .isic-listing-title
    h2
      block title
        = title
    h4
      if loaded
        if models.length === 0
          | (no items)
        else if models.length === 1
          | 1 item
        else
          = models.length + ' items'
      else
        .isic-listing-loading-animation-container

.isic-listing-container
  each model, index in models
    .isic-listing-panel-group.panel-group(id="#{'panel-group-' + model.cid}")
      .isic-listing-panel.panel.panel-default
        .isic-listing-panel-heading.panel-heading(
          data-toggle="collapse",
          data-parent="#{'#panel-group-' + model.cid}",
          data-target="#{'#panel-' + model.cid}"
          )
          a.collapsed
            | #{model.get('name')}
            span.isic-listing-panel-heading-indicator.pull-right
              i.icon-right-open
        .isic-listing-panel-collapse.panel-collapse.collapse(
          id="#{'panel-' + model.cid}"
          data-model-index="#{index}"
          )
          .isic-listing-panel-body.panel-body

Allow templates to customize listing page heading

.isic-listing-header
  .isic-listing-title
    h2
      block title
        = title
    h4
      if loaded
        if models.length === 0
          | (no items)
        else if models.length === 1
          | 1 item
        else
          = models.length + ' items'
      else
        .isic-listing-loading-animation-container

.isic-listing-container
  each model, index in models
    .isic-listing-panel-group.panel-group(id="#{'panel-group-' + model.cid}")
      .isic-listing-panel.panel.panel-default
        .isic-listing-panel-heading.panel-heading(
          data-toggle="collapse",
          data-parent="#{'#panel-group-' + model.cid}",
          data-target="#{'#panel-' + model.cid}"
          )
          a.collapsed
            block heading
              = model.get('name')
            span.isic-listing-panel-heading-indicator.pull-right
              i.icon-right-open
        .isic-listing-panel-collapse.panel-collapse.collapse(
          id="#{'panel-' + model.cid}"
          data-model-index="#{index}"
          )
          .isic-listing-panel-body.panel-body


.user-avatar(ng-class!="{ 'is-iocaine': isIocaine }")
    img(
      style="background-color: {{ bg }}"
      src="{{ avatar.url }}"
      alt="{{ fullName }}"
    )
    .iocaine-symbol(
        ng-if="isIocaine"
        title="{{ 'TASK.TITLE_ACTION_IOCAINE' | translate }}"
    )
       tg-svg(svg-icon="icon-iocaine")

.assigned-to
    .assigned-to-actions
        span(ng-if="fullNameVisible")
            a.user-assigned.assigned-name(
                ng-if="isEditable"
                title="{{ 'COMMON.ASSIGNED_TO.TITLE_ACTION_EDIT_ASSIGNMENT' | translate }}"
                ng-class="{ 'editable': isEditable }"
                ng-click="assign()"
            ) {{ fullName }}
            span.assigned-name(
                ng-if="!isEditable"
            ) {{ fullName }}
        span(ng-if="isUnassigned")
            span(ng-if="fullNameVisible")
                |
                span(translate="COMMON.OR")
                |
            a.self-assign(href="#", ng-click="selfAssign()") {{ "COMMON.ASSIGNED_TO.SELF" | translate }}

    tg-svg.remove-user(
        ng-click="unassign()"
        ng-if="isEditable && !isUnassigned"
        svg-icon="icon-close",
        title="{{ 'COMMON.ASSIGNED_TO.DELETE_ASSIGNMENT' | translate }}"
    )

Fix readonly not assigned labels

.user-avatar(ng-class!="{ 'is-iocaine': isIocaine }")
    img(
      style="background-color: {{ bg }}"
      src="{{ avatar.url }}"
      alt="{{ fullName }}"
    )
    .iocaine-symbol(
        ng-if="isIocaine"
        title="{{ 'TASK.TITLE_ACTION_IOCAINE' | translate }}"
    )
       tg-svg(svg-icon="icon-iocaine")

.assigned-to
    .assigned-to-actions
        span(ng-if="fullNameVisible")
            a.user-assigned.assigned-name(
                ng-if="isEditable"
                title="{{ 'COMMON.ASSIGNED_TO.TITLE_ACTION_EDIT_ASSIGNMENT' | translate }}"
                ng-class="{ 'editable': isEditable }"
                ng-click="assign()"
            ) {{ fullName }}
            span.assigned-name(
                ng-if="!isEditable && !isUnassigned"
            ) {{ fullName }}
        span(ng-if="isEditable && isUnassigned")
            span(ng-if="fullNameVisible")
                |
                span(translate="COMMON.OR")
                |
            a.self-assign(href="#", ng-click="selfAssign()") {{ "COMMON.ASSIGNED_TO.SELF" | translate }}
    .assigned-title(ng-if="!isEditable && isUnassigned") {{ "COMMON.ASSIGNED_TO.NOT_ASSIGNED" | translate }}
    tg-svg.remove-user(
        ng-click="unassign()"
        ng-if="isEditable && !isUnassigned"
        svg-icon="icon-close",
        title="{{ 'COMMON.ASSIGNED_TO.DELETE_ASSIGNMENT' | translate }}"
    )


nav(role="navigation").navbar.navbar-inverse.navbar-fixed-top
  div.container
    div.navbar-header
      a(href="/").navbar-brand Mariachi
    div.collapse.navbar-collapse.navbar-ex1-collapse
      ul.nav.navbar-nav
        li
          a(href="servers") Servers
        li
          a(href="users") Users
        li
          a(href="recepies") Recepies
        li
          a(href="templates") Templates
        li
          a(href="sites") Sites
        li
          a(href="tasks") Tasks
        li
          a(href="monitor") Monitor
        li
          a(href="logs") Logs
      ul.nav.navbar-nav.pull-right
        li.dropdown
          a(href="#", data-toggle="dropdown").dropdown-toggle Luis Elizondo
            b.caret
          ul.dropdown-menu
            li
              a(href="#") Configure account
              a(href="logout") Logout

Remove Monitor and Logs links

nav(role="navigation").navbar.navbar-inverse.navbar-fixed-top
  div.container
    div.navbar-header
      a(href="/").navbar-brand Mariachi
    div.collapse.navbar-collapse.navbar-ex1-collapse
      ul.nav.navbar-nav
        li
          a(href="servers") Servers
        li
          a(href="users") Users
        li
          a(href="recepies") Recepies
        li
          a(href="templates") Templates
        li
          a(href="sites") Sites
        li
          a(href="tasks") Tasks
      ul.nav.navbar-nav.pull-right
        li.dropdown
          a(href="#", data-toggle="dropdown").dropdown-toggle Luis Elizondo
            b.caret
          ul.dropdown-menu
            li
              a(href="#") Configure account
              a(href="logout") Logout


!!!
html
  head
    title= title
    link(rel='stylesheet', href='/stylesheets/#{stylesheet}.css')
    script(src="/javascripts/jquery.js")
    script(src="/javascripts/application.js")
  body
    #header
      h1= title

    each flashType in ['info', 'error']
      if flash[flashType]
        p.flash(class=flashType)
          = flash[flashType]

    != body

Change the stylesheet to be hard coded, no need to pass that in all the time

!!!
html
  head
    title= title
    link(rel='stylesheet', href='/stylesheets/application.css')
    script(src="/javascripts/jquery.js")
    script(src="/javascripts/application.js")
  body
    #header
      h1= title

    each flashType in ['info', 'error']
      if flash[flashType]
        p.flash(class=flashType)
          = flash[flashType]

    != body


doctype
html
  head
    title= title
    link(rel='shortcut icon', href='/images/favicon.ico')
    link(rel='stylesheet', href='/stylesheets/style.css')
    script(src='/javascripts/jquery-1.6.2.min.js')
    script(src='/javascripts/makisu.js')
    script(src='/javascripts/app.js')
  body!= body

Add search engine meta tags

doctype
html
  head
    title= title
    meta(charset="utf-8")
    meta(name="description", content="homepage for Jaymes Waters")
    link(rel='shortcut icon', href='/images/favicon.ico')
    link(rel='stylesheet', href='/stylesheets/style.css')
    script(src='/javascripts/jquery-1.6.2.min.js')
    script(src='/javascripts/makisu.js')
    script(src='/javascripts/app.js')
  body!= body


extends application

block content
  .well
    i.icon-folder-open
    |
    = domain.DomainName

  p.btn-group
    a(href="/domain/"+domain.DomainName).btn About
    a(href="/domain/"+domain.DomainName+"/search").btn Search

  // TODO alert user before delete
  form(action="/domain/"+domain.DomainName, method="POST")
    input(type="hidden", name="_method", value="DELETE")
    input(type="submit", value="Destroy").btn.btn-danger

  hr

  block domain-content

Make button label more informative

extends application

block content
  .well
    i.icon-folder-open
    |
    = domain.DomainName

  p.btn-group
    a(href="/domain/"+domain.DomainName).btn About
    a(href="/domain/"+domain.DomainName+"/search").btn Search

  // TODO alert user before delete
  form(action="/domain/"+domain.DomainName, method="POST")
    input(type="hidden", name="_method", value="DELETE")
    input(type="submit", value="Delete this domain").btn.btn-danger

  hr

  block domain-content


doctype html
html(lang="en")
  head
    meta(http-equiv="X-UA-Compatible" content="IE=edge,chrome=1")
    meta(name="viewport", content="width=device-width, initial-scale=1")
    meta(description="")
    title Regard: Product insights, collected respectfully
    link(href="assets/css/main.css", rel="stylesheet")
  body
    include includes/navigation

    block content

    include includes/footer

    script(src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js")
    script(src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.7.1/modernizr.min.js", type="text/javascript")
    script(src="//cdnjs.cloudflare.com/ajax/libs/foundation/5.1.1/js/foundation.min.js")
    script(src="assets/js/main.js")
    script(src="//use.edgefonts.net/ubuntu:n4,i4,n7.js")

Add Google analytics tracking code

doctype html
html(lang="en")
  head
    meta(http-equiv="X-UA-Compatible" content="IE=edge,chrome=1")
    meta(name="viewport", content="width=device-width, initial-scale=1")
    meta(description="")
    title Regard: Product insights, collected respectfully
    link(href="assets/css/main.css", rel="stylesheet")
  body
    include includes/navigation

    block content

    include includes/footer

    script(src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js")
    script(src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.7.1/modernizr.min.js", type="text/javascript")
    script(src="//cdnjs.cloudflare.com/ajax/libs/foundation/5.1.1/js/foundation.min.js")
    script(src="assets/js/main.js")
    script(src="//use.edgefonts.net/ubuntu:n4,i4,n7.js")
    script.
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-49828980-1', 'withregard.io');
      ga('send', 'pageview');


!!! 5
//if lt IE 7 ]><html class="ie ie6" lang="en">
//if IE 7 ]><html class="ie ie7" lang="en">
//if IE 8 ]><html class="ie ie8" lang="en">
// [if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]
head
  meta(charset='utf-8')
  title savefile || Write files from your Javascript!
  meta(name='description', content='savefile - Write files from your Javascript!')
  meta(name='author', content='@sudojosh')
  // Mobile Specific
  meta(name="viewport", content="width=device-width, initial-scale=1.0")

  // CSS
  != css('bootstrap.min')
  != css('prettify')
  != css('app')

body(onload="prettyPrint()")
  .container
    != body

  != js('http://cdnjs.cloudflare.com/ajax/libs/jquery/1.7/jquery.min.js')
  != js('prettify')

| </html>

Load jQuery from HTTPS domain

!!! 5
//if lt IE 7 ]><html class="ie ie6" lang="en">
//if IE 7 ]><html class="ie ie7" lang="en">
//if IE 8 ]><html class="ie ie8" lang="en">
// [if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]
head
  meta(charset='utf-8')
  title savefile || Write files from your Javascript!
  meta(name='description', content='savefile - Write files from your Javascript!')
  meta(name='author', content='@sudojosh')
  // Mobile Specific
  meta(name="viewport", content="width=device-width, initial-scale=1.0")

  // CSS
  != css('bootstrap.min')
  != css('prettify')
  != css('app')

body(onload="prettyPrint()")
  .container
    != body

  != js('https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7/jquery.min.js')
  != js('prettify')

| </html>


.isic-header-wrapper
  .isic-icons-wrapper
    span.isic-header-title ISIC Archive
    a.isic-link-home(title="Home", href="#")
      i.icon-home
      span Home
    a.isic-link-forum(title="Forum", href="#forum")
      i.icon-chat
      span Forum
    if datasetContributor
      a.isic-link-dataset-upload(title="Upload Dataset", href="#uploadDataset")
        i.icon-upload
        span Upload Dataset
    a.isic-link-studies(title="Annotation Studies", href="#studies")
      i.icon-eye
      span Annotation Studies
    a.isic-link-featuresets(title="Featuresets", href="#featuresets")
      i.icon-list
      span Featuresets
    a.isic-link-tasks(title="Your Tasks", href="#tasks")
      i.icon-check
      span Your Tasks
  .isic-current-user-wrapper
  .g-clear-both

Add external links on header

.isic-header-wrapper
  .isic-icons-wrapper
    span.isic-header-title ISIC Archive
    a.isic-link-home(title="Home", href="#")
      i.icon-home
      span Home
    a(title="About", href="http://isdis.net/isic-project/", target="_blank")
      i.icon-help
      span About
    a(title="Members", href="http://isdis.net/isic-project/working-group-members/", target="_blank")
      i.icon-users
      span Members
    a.isic-link-forum(title="Forum", href="#forum")
      i.icon-chat
      span Forum
    if datasetContributor
      a.isic-link-dataset-upload(title="Upload Dataset", href="#uploadDataset")
        i.icon-upload
        span Upload Dataset
    a.isic-link-studies(title="Annotation Studies", href="#studies")
      i.icon-eye
      span Annotation Studies
    a.isic-link-featuresets(title="Featuresets", href="#featuresets")
      i.icon-list
      span Featuresets
    a.isic-link-tasks(title="Your Tasks", href="#tasks")
      i.icon-check
      span Your Tasks
  .isic-current-user-wrapper
  .g-clear-both


li.media.person.major(data-person-id=person.id)
  a.pull-left(href=person.url)
    if person.image && person.image.url
      img.img-rounded.media-object(src=(person.image.pump_io && person.image.pump_io.proxyURL) ? person.image.pump_io.proxyURL : person.image.url, width="64", height="64")
    else
      img.img-rounded.media-object(src="/images/default.png", width="64", height="64")

  .media-body
    h4.media-heading
      a(href=person.url)= person.displayName
      small
        if person.id && person.id.substr(0, 5) === 'acct:'
          = person.id.substr(5)
        else
          = person.preferredUsername

    .pull-right
      include ./profile-responses.jade

    if person.location
      p.location= person.location.displayName
    if person.summary
      p.summary= person.summary

Fix HTML entities in Following/Followers views

li.media.person.major(data-person-id=person.id)
  a.pull-left(href=person.url)
    if person.image && person.image.url
      img.img-rounded.media-object(src=(person.image.pump_io && person.image.pump_io.proxyURL) ? person.image.pump_io.proxyURL : person.image.url, width="64", height="64")
    else
      img.img-rounded.media-object(src="/images/default.png", width="64", height="64")

  .media-body
    h4.media-heading
      a(href=person.url)!= person.displayName
      small
        if person.id && person.id.substr(0, 5) === 'acct:'
          = person.id.substr(5)
        else
          = person.preferredUsername

    .pull-right
      include ./profile-responses.jade

    if person.location
      p.location!= person.location.displayName
    if person.summary
      p.summary!= person.summary


extends layout

block content
  #page-content-wrapper
    .page-content.inset
      .row
        a#menu-toggle.btn.btn-default(href='#')
          i.fa.fa-bars
        .col-md-12
          if (!user)
            a(href="/login") Login
            br
            a(href="/register") Register
          if (user)
            p You are currently logged in as #{user.username}
            a(href="/logout") Logout
            p This is where your pet #{pet.name} will live

  script
    $("#menu-toggle").click(function(e) {
      e.preventDefault();
      $("#wrapper").toggleClass("active");
    });

Fix variable name in Pet view

extends layout

block content
  #page-content-wrapper
    .page-content.inset
      .row
        a#menu-toggle.btn.btn-default(href='#')
          i.fa.fa-bars
        .col-md-12
          if (!user)
            a(href="/login") Login
            br
            a(href="/register") Register
          if (user)
            p You are currently logged in as #{user.username}
            a(href="/logout") Logout
            p This is where your pet #{pet.pet.name} will live

  script
    $("#menu-toggle").click(function(e) {
      e.preventDefault();
      $("#wrapper").toggleClass("active");
    });


extends _base

block content
	h1 Matt McKellar-Spence
	p I do the
		a(href="https://github.com/MattMS") GitHub
		|  thing.
	p On occassion, I indulge in some
		a(href="https://twitter.com/MattMS") Twitter
		|  banter.
	p I may have contributed to the
		a(href="https://data.antarctica.gov.au/") Australian Antarctic Data Centre
		|  site.
	p Sometimes I happen across the
		a(href="http://web.dev42.co/") Web Dev 42
		|  meet-ups.
	p I also bring a
		a(href="http://totesprofe.sh/") Totes Profesh
		|  attitude to all my work.

	h2 Totes Profesh projects

	h3: a(href="http://trapezium.io/") Trapezium

	p For
		a(href="http://nodeknockout.com/") Node.js Knockout 2013
		| .

	h3: a(href="http://altrove.totesprofe.sh/") Altrove

	p For
		a(href="http://www.govhack.org/") GovHack 2014
		| .

Fix links and add spacing

extends _base

block content
	h1 Matt McKellar-Spence

	p I do the
		a(href="https://mattms.github.com/") GitHub
		|  thing.

	p I enjoy some
		a(href="https://twitter.com/MattMS") Twitter
		|  banter on occasion.

	p Sometimes I happen across the
		a(href="http://web.dev42.co/") Web Dev 42
		|  meet-ups.

	h2 Australian Antarctic Data Centre

	p You may see some of my contributions on the
		a(href="http://www1.data.antarctica.gov.au/") Australian Antarctic Data Centre
		|  site.

	h2 Totes Profesh

	p I try to be
		a(href="http://totesprofe.sh/") Totes Profesh
		|  with much of my work.

	h3: a(href="http://altrove.totesprofe.sh/") Altrove

	p For
		a(href="http://www.govhack.org/") GovHack 2014
		| .

	h3: a(href="http://trapezium.io/") Trapezium

	p For
		a(href="http://nodeknockout.com/") Node.js Knockout 2013
		| .


extends ../layouts/minimal
block title
  title Sign up
block content
  form.text-center(role='form' method='post' action='/signup')
    h2 Signup
    input.form-control(name='email' type='email', placeholder='Email', required='', autofocus='')
    input.form-control(name='password' type='password', placeholder='Password', required='')
    button.btn.btn-lg.btn-primary.btn-block.btn-margin(type='submit') Sign up
    a(href='/login') Log in

Add name fields to sign up form

extends ../layouts/minimal
block title
  title Sign up
block content
  form.text-center(role='form' method='post' action='/signup')
    h2 Signup
    input.form-control(name='email' type='email', placeholder='Email', required='', autofocus='')
    input.form-control(name='password' type='password', placeholder='Password', required='')
    input.form-control(name='firstName' type='password', placeholder='First Name', required='')
    input.form-control(name='lastName' type='password', placeholder='Last Name', required='')
    button.btn.btn-lg.btn-primary.btn-block.btn-margin(type='submit') Sign up
    a(href='/login') Log in


.navbar.navbar-inverse.navbar-fixed-top
  .navbar-inner
    .container
      button.btn.btn-navbar(type="button",data-toggle="collapse",data-target=".nav-collapse")
        span.icon-bar
        span.icon-bar
        span.icon-bar
      a.brand(href="#/dashboard") <%= appTitle %>
      .nav-collapse.collapse
        ul.nav
          li
            a(href="#/dashboard") Home

Add flag to navbar template to allow sub-generator to add new values

.navbar.navbar-inverse.navbar-fixed-top
  .navbar-inner
    .container
      button.btn.btn-navbar(type="button",data-toggle="collapse",data-target=".nav-collapse")
        span.icon-bar
        span.icon-bar
        span.icon-bar
      a.brand(href="#/dashboard") <%= appTitle %>
      .nav-collapse.collapse
        ul.nav
          li
            a(href="#/dashboard") Home
          //- angular pages


doctype html
html
  body
    h1 @bitfyre Sudoku
    include partials/grid.jade
    include partials/submit-solution.jade
    include partials/update-cell.jade

Add `head` element and meta tags

doctype html
html(lang='en-us')
  head
    meta(http-equiv='Content-Type', content='text/html; charset=utf-8')
    meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
    meta(name='viewport', content='width=device-width, initial-scale=1.0')
  body
    h1 @bitfyre Sudoku
    include partials/grid.jade
    include partials/submit-solution.jade
    include partials/update-cell.jade


.menu-and-index-wrapper-wrapper( ng-class='{ "desktop-min-width": !mobileAndTabletCheck(  ) }' )
	.menu-and-index-wrapper

		slideshow-directive(
			slides='homePageSlides'
			frame-rate='6000'
			vid='true'
			ng-if='stateName == "root"'
		)

		menu-directive.scrollable

		.section-view( ui-view='section-view' ng-if='stateParams.sortingType || stateParams.projectId || ( stateParams.section === "news" || "search" )' )

Fix index-on-slideshow bug w News + Search

.menu-and-index-wrapper-wrapper( ng-class='{ "desktop-min-width": !mobileAndTabletCheck(  ) }' )
	.menu-and-index-wrapper

		slideshow-directive(
			slides='homePageSlides'
			frame-rate='6000'
			vid='true'
			ng-if='stateName == "root"'
		)

		menu-directive.scrollable

		.section-view( ui-view='section-view' ng-if='stateParams.sortingType || stateParams.projectId || stateParams.section === "news" || stateParams.section === "search"' )


.modal-dialog
    .modal-content.col-lg-12
        .modal-header
            button.close(
                type='button', ng-click='close()', aria-hidden='true'
            ) ×
            h3 Project settings
        .modal-body
            table.table.table-hover
                tr
                    td Enabled
                    td
                        .btn-group.pull-right
                            button.btn.btn-default(
                                type='button', ng-model='project.is_enabled',
                                btn-radio='true'
                            ) Yes
                            button.btn.btn-default(
                                type='button', ng-model='project.is_enabled',
                                btn-radio='false'
                            ) No
                tr(ng-show='project.is_private')
                    td Comment pull requests from owner account
                    td
                        .btn-group.pull-right
                            button.btn.btn-default(
                                type='button', ng-model='project.comment_from_owner_account',
                                btn-radio='true'
                            ) Yes
                            button.btn.btn-default(
                                type='button', ng-model='project.comment_from_owner_account',
                                btn-radio='false'
                            ) No

Add ability to change default branch from project page

.modal-dialog
    .modal-content.col-lg-12
        .modal-header
            button.close(
                type='button', ng-click='close()', aria-hidden='true'
            ) ×
            h3 Project settings
        .modal-body
            table.table.table-hover
                tr
                    td Enabled
                    td
                        .btn-group.pull-right
                            button.btn.btn-default(
                                type='button', ng-model='project.is_enabled',
                                btn-radio='true'
                            ) Yes
                            button.btn.btn-default(
                                type='button', ng-model='project.is_enabled',
                                btn-radio='false'
                            ) No
                tr(ng-show='project.is_private')
                    td Comment pull requests from owner account
                    td
                        .btn-group.pull-right
                            button.btn.btn-default(
                                type='button', ng-model='project.comment_from_owner_account',
                                btn-radio='true'
                            ) Yes
                            button.btn.btn-default(
                                type='button', ng-model='project.comment_from_owner_account',
                                btn-radio='false'
                            ) No
                tr
                    td Default branch for project page
                    td
                        select.form-control(
                            ng-model='project.default_branch',
                            ng-options='branch for branch in project.branches'
                        )
                            option(value='') Show all


.title
	h2 #{w.account.name}
table.vertical
	tr
		th Current Connections
		td #{w.namespace.clients.count}
	tr
		th Peak Connections (today)
		td #{w.namespace.clientStats.max}
	tr
		th Secret
		td
			span.code #{w.account.secret}
			|
			a(id='reset_secret', href='#') Reset Secret
	tr
		th Base Url
		td.code http://wompt.com/#{w.account.name}/
	tr
		th Owners
		td
			- each owner in w.account_owners
				a(href='/users/' + owner.id)= owner.name
				br
			- if(w.user.doc.is_admin())
				form(action='/accounts/' + w.account.name, method="POST")
					label(for='add_owner') Add by ID:
					input(type='text', id='add_owner', name='add_owner_id')

Remove "Reset Secret" link from account page

.title
	h2 #{w.account.name}
table.vertical
	tr
		th Current Connections
		td #{w.namespace.clients.count}
	tr
		th Peak Connections (today)
		td #{w.namespace.clientStats.max}
	tr
		th Secret
		td
			span.code #{w.account.secret}
	tr
		th Base Url
		td.code http://wompt.com/#{w.account.name}/
	tr
		th Owners
		td
			- each owner in w.account_owners
				a(href='/users/' + owner.id)= owner.name
				br
			- if(w.user.doc.is_admin())
				form(action='/accounts/' + w.account.name, method="POST")
					label(for='add_owner') Add by ID:
					input(type='text', id='add_owner', name='add_owner_id')


footer
  .container.text-center
    p.pull-left © 2015 Bazaar. All Rights Reserved.
    a.pull-left(href="/privacy")  Privacy Policy
    ul.pull-right.list-inline
      li
        a(href='https://github.com/rmacqueen') GitHub Project

Add correct link to github project.

footer
  .container.text-center
    p.pull-left © 2015 Bazaar. All Rights Reserved.
    a.pull-left(href="/privacy")  Privacy Policy
    ul.pull-right.list-inline
      li
        a(href='https://github.com/rmacqueen/bazaar') See the code on GitHub


extends ../layout

block content
  .col-sm-8.col-sm-offset-2
    form(method='POST')
      legend Sign In
      .form-group
        .btn-group.btn-group-justified
          a.btn.btn-facebook(href='/auth/facebook')
            i.fa.fa-facebook
            | Facebook
          a.btn.btn-twitter(href='/auth/twitter')
            i.fa.fa-twitter
            | Twitter
          a.btn.btn-github(href='/auth/github')
            i.fa.fa-github
            | GitHub
          a.btn.btn-google-plus(href='/auth/google')
            i.fa.fa-google-plus
            | Google
      .form-group
        label.control-label(for='email') Email
        input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
      .form-group
        label.control-label(for='username') Password
        input.form-control(type='password', name='password', id='password', placeholder='Password')
      .form-group
        button.btn.btn-primary(type='submit')
          i.fa.fa-unlock-alt
          | Login

Add help-block with "Forgot your password"

extends ../layout

block content
  .col-sm-8.col-sm-offset-2
    form(method='POST')
      legend Sign In
      .form-group
        .btn-group.btn-group-justified
          a.btn.btn-facebook(href='/auth/facebook')
            i.fa.fa-facebook
            | Facebook
          a.btn.btn-twitter(href='/auth/twitter')
            i.fa.fa-twitter
            | Twitter
          a.btn.btn-github(href='/auth/github')
            i.fa.fa-github
            | GitHub
          a.btn.btn-google-plus(href='/auth/google')
            i.fa.fa-google-plus
            | Google
      .form-group
        label.control-label(for='email') Email
        input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
      .form-group
        label.control-label(for='username') Password
        input.form-control(type='password', name='password', id='password', placeholder='Password')
        .help-block
          a(href='/login/forgot') Forgot Your Password?
      .form-group
        button.btn.btn-primary(type='submit')
          i.fa.fa-unlock-alt
          | Login


extends ../layouts/base

block content
    if !sermon
        h2 Invalid Sermon
    else
        h3
            a(href='/') DOWNLOADS : Sermons :
            a(href=sermon.audio.url)
                =sermon.title
        a(href=sermon.presentation.url).sermonImg
            if sermon.presentation.exists
                img(src=sermon._.presentation.thumbnail(200).replace('.pdf', '.png'))
            else
                img(src='http://sermons.mottramec.co.uk/nopdf.gif')

        #sermonDetail
            a(href='filter.php?Preacher=Martyn Cooling')
                =sermon.speaker.name.full
            br
            if sermon.series
                | Series:
                a(href='filter.php?series=Needs+detail')
                    =sermon.series.name
                br
            br
            | Visual:
            if sermon.presentation.exists
                a(href=sermon.presentation.url) PDF
            else
                | Audio only
            br
            | Audio:
            a(href=sermon.audio.url) MP3
            | Right click and select "save
            | link as" to download.
            br
            br
            audio(src=sermon.audio.url, controls='', preload='')
            br
            br
            | Date:
            =sermon._.date.format('DD/MM/YYYY')
            br
            br
            p

Add StudyNotes to jade template if exists. Change cloudinary use for presentation to be common

extends ../layouts/base

block content
    if !sermon
        h2 Invalid Sermon
    else
        h3
            a(href='/') DOWNLOADS : Sermons :
            a(href=sermon.audio.url)
                =sermon.title
        if sermon.presentation.exists
            a(href=sermon.presentation.url).sermonImg
                img(src=sermon._.presentation.fit(200, 113).replace('.pdf', '.png'))
        else
            img(src='http://sermons.mottramec.co.uk/nopdf.gif')

        #sermonDetail
            a(href='filter.php?Preacher=Martyn Cooling')
                =sermon.speaker.name.full
            br
            if sermon.series
                | Series:
                a(href='filter.php?series=Needs+detail')
                    =sermon.series.name
                br
            br
            | Visual:
            if sermon.presentation.exists
                a(href=sermon.presentation.url) PDF
            else
                | Audio only
            br
            | Audio:
            a(href=sermon.audio.url) MP3
            | Right click and select "save
            | link as" to download.
            br
            if (sermon.studyNotes.exists)
                | Sermon Notes:
                a(href=sermon.studyNotes.url) PDF
                br
            br
            audio(src=sermon.audio.url, controls='', preload='')
            br
            br
            | Date:
            =sermon._.date.format('DD/MM/YYYY')
            br
            br
            p


#fullHomeBack(style="background:url('http://i.imgur.com/kY2hcmB.jpg') no-repeat")
#wrapper(style="max-width:1000px;margin-left:auto;margin-right:auto")
  section.container.text-center(style="margin-top:30px;")
    h1.text-center(style="color:white")
      strong(style="font-weight:400") Available
      | Mods
      span.subtitle PICK A GAME MODE
  #mods(style="margin-top:15px")
    section.container
      .row
        .col-sm-6.col-md-6.mod-box(ng-repeat="mod in mods")
          .mod-thumbn(style="background:url('{{mod.thumbnail}}')")
            .mod-name-spacer
            .mod-name
              | {{mod.fullname | uppercase}}
              .mod-author-img
                .author-name {{mod.author}}
                img(ng-src="{{mod.authorimage}}")
          .mod-descrip
            p(ng-repeat="feature in mod.features") {{feature}}
          .mod-buttons
            a.btn.btn-success(style="margin-right:10px",href="/mods/{{mod.name}}") ABOUT
            a.btn.btn-primary(href="/lobbies/{{mod.name}}") FIND GAME

              //img.img-responsive(src="{{mod.thumbnail}}",style="width:400px;height:400px")

Remove find game button if not playable

#fullHomeBack(style="background:url('http://i.imgur.com/kY2hcmB.jpg') no-repeat")
#wrapper(style="max-width:1000px;margin-left:auto;margin-right:auto")
  section.container.text-center(style="margin-top:30px;")
    h1.text-center(style="color:white")
      strong(style="font-weight:400") Available
      | Mods
      span.subtitle PICK A GAME MODE
  #mods(style="margin-top:15px")
    section.container
      .row
        .col-sm-6.col-md-6.mod-box(ng-repeat="mod in mods")
          .mod-thumbn(style="background:url('{{mod.thumbnail}}')")
            .mod-name-spacer
            .mod-name
              | {{mod.fullname | uppercase}}
              .mod-author-img
                .author-name {{mod.author}}
                img(ng-src="{{mod.authorimage}}")
          .mod-descrip
            p(ng-repeat="feature in mod.features") {{feature}}
          .mod-buttons
            a.btn.btn-success(style="margin-right:10px",href="/mods/{{mod.name}}") ABOUT
            a.btn.btn-primary(href="/lobbies/{{mod.name}}",ng-if="mod.playable") FIND GAME

              //img.img-responsive(src="{{mod.thumbnail}}",style="width:400px;height:400px")


doctype
html
  head
    link(rel="stylesheet" href="/css/main.css")
    script(src="/vendor/jquery/dist/jquery.min.js")
    script(src="/vendor/knockout/Content/Scripts/knockout-3.1.0.js")
    script(src="/vendor/bootstrap/dist/js/bootstrap.min.js")
    script(src="/js/main.js")
  body
    != yield

Update asset URLs and update server URL if production

doctype
html
  head
    - if ( environment == "development" ) server = ''
    link(rel="stylesheet" href=server+"/assets/stylesheets/main.css")
    script(src=server+"/assets/scripts/jquery.min.js")
    script(src=server+"/assets/scripts/knockout-3.1.0.js")
    script(src=server+"/assets/scripts/bootstrap.min.js")
    script(src=server+"/assets/scripts/main.js")
  body
    != yield


doctype 5
html
   head
      title kansascity2: what's on
         block title
            |?

      block styles
         != css("reset")
         != css("core")
         != css("event")
         != css("tipsy")

      block scripts
         script(src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js")
         != js("jquery.tipsy")
         != js("jquery.unspamify")
         != js("pages/layout")
         != js("pages/add_event")
         script
            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-34184498-1']);
            _gaq.push(['_trackPageview']);

            (function() {
               var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
               ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
               var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();

   body(class=viewClass(locals))
      header
         h1 kansascity2: what's on

         .add
            nav
               ul
                  li.add_event
                     a(href="/add_event/") Add your event

      block body

      footer
         | report errors or abuse to
         a.unspamify-me ascalonx at gmail dot com
         |  or @dustyburwell

Change contact info to kansascity2

doctype 5
html
   head
      title kansascity2: what's on
         block title
            |?

      block styles
         != css("reset")
         != css("core")
         != css("event")
         != css("tipsy")

      block scripts
         script(src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js")
         != js("jquery.tipsy")
         != js("jquery.unspamify")
         != js("pages/layout")
         != js("pages/add_event")
         script
            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-34184498-1']);
            _gaq.push(['_trackPageview']);

            (function() {
               var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
               ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
               var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();

   body(class=viewClass(locals))
      header
         h1 kansascity2: what's on

         .add
            nav
               ul
                  li.add_event
                     a(href="/add_event/") Add your event

      block body

      footer
         | report errors or abuse to
         a.unspamify-me info at kansascity2 dot com
         |  or @kansas_city2


doctype 5
html(lang='ja')
  head
    meta(charset='UTF-8')
    title= (title ? title + ' - ' : '') + 'Express Kotoumi Dashboard'
    meta(name='viewport', content='width=device-width, initial-scale=1.0')
    link(rel='stylesheet', href=prefix + '/styles/override.css', type='text/css', media='screen')
    script(type='text/javascript', src=prefix + '/bootstrap/js/bootstrap.min.js')
  body
    .navbar.navbar.navbar-fixed-top
      .navbar-inner
        .container
          a.brand(href=prefix + '/dashboard') Express Kotoumi Dashboard
          form.navbar-search.pull-right
            input(type='text', class='search-query', placeholder='Search')

Define classes of HTML element as ".XXXXX"

doctype 5
html(lang='ja')
  head
    meta(charset='UTF-8')
    title= (title ? title + ' - ' : '') + 'Express Kotoumi Dashboard'
    meta(name='viewport', content='width=device-width, initial-scale=1.0')
    link(rel='stylesheet', href=prefix + '/styles/override.css', type='text/css', media='screen')
    script(type='text/javascript', src=prefix + '/bootstrap/js/bootstrap.min.js')
  body
    .navbar.navbar.navbar-fixed-top
      .navbar-inner
        .container
          a.brand(href=prefix + '/dashboard') Express Kotoumi Dashboard
          form.navbar-search.pull-right
            input.search-query(type='text', placeholder='Search')


doctype html
block vars
  - var bodyclass = null;
html(lang='en')
  head
    block head
      meta(charset='utf-8')
      meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
      meta(name='viewport', content='width=device-width')
      title
        block title
          = locals.name
      link(rel='alternate', href=locals.url+'/feed.xml', type='application/rss+xml', title=locals.description)
      link(rel='stylesheet', href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic|Anonymous+Pro:400,700,400italic,700italic|Merriweather:400,700,300')
      link(rel='stylesheet', href=contents.css['main.css'].url)
  body(class=bodyclass)
    header.header
      div.content-wrap
        block header
          div.logo
            h1
              a(href=locals.url)= locals.name
            p.description= locals.description
    div#content
      div.content-wrap
        block content
          h2 Welcome to zombocom!
    footer
      div.content-wrap
        block footer
          section.about
            !=contents['about.md'].html
          section.copy
            p © #{ new Date().getFullYear() } #{ locals.owner } — powered by
              a(href='https://github.com/jnordberg/wintersmith') Wintersmith
              //- please leave the "powered by" if you use the design

Set link for google fonts protocol relative

doctype html
block vars
  - var bodyclass = null;
html(lang='en')
  head
    block head
      meta(charset='utf-8')
      meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
      meta(name='viewport', content='width=device-width')
      title
        block title
          = locals.name
      link(rel='alternate', href=locals.url+'/feed.xml', type='application/rss+xml', title=locals.description)
      link(rel='stylesheet', href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic|Anonymous+Pro:400,700,400italic,700italic|Merriweather:400,700,300')
      link(rel='stylesheet', href=contents.css['main.css'].url)
  body(class=bodyclass)
    header.header
      div.content-wrap
        block header
          div.logo
            h1
              a(href=locals.url)= locals.name
            p.description= locals.description
    div#content
      div.content-wrap
        block content
          h2 Welcome to zombocom!
    footer
      div.content-wrap
        block footer
          section.about
            !=contents['about.md'].html
          section.copy
            p © #{ new Date().getFullYear() } #{ locals.owner } — powered by
              a(href='https://github.com/jnordberg/wintersmith') Wintersmith
              //- please leave the "powered by" if you use the design


#logout.logout-form.form-inline
  div.avatar(style="background-image: url(#{avatar})")
  span.user-name Hi #{name}
  div(id='logout_btn' class='btn btn-default') Exit

Clean up user block on navigation bar

#logout.logout-form.form-inline
  div.avatar(style="background-image: url(#{avatar})")
  span.user-name #{name}
  div(id='logout_btn' class='btn btn-default') Exit


template(name="archivedBoards")
  h2
    i.fa.fa-archive
    | {{_ 'archived-boards'}}

  ul.archived-lists
    each archivedBoards
      li.archived-lists-item
        div.board-header-btns
          button.board-header-btn.js-restore-board
            i.fa.fa-undo
            | {{_ 'restore-board'}}
          button.board-header-btn.js-delete-board
            i.fa.fa-trash-o
            | {{_ 'delete-board'}}
          = title
    else
      li.no-items-message {{_ 'no-archived-boards'}}

template(name="boardDeletePopup")
  p {{_ 'delete-board-pop'}}
  button.js-confirm.negate.full(type="submit") {{_ 'delete'}}

Change button order at Boards Recycle Bin.

template(name="archivedBoards")
  h2
    i.fa.fa-archive
    | {{_ 'archived-boards'}}

  ul.archived-lists
    each archivedBoards
      li.archived-lists-item
        div.board-header-btns
          button.board-header-btn.js-delete-board
            i.fa.fa-trash-o
            | {{_ 'delete-board'}}
          button.board-header-btn.js-restore-board
            i.fa.fa-undo
            | {{_ 'restore-board'}}
          = title
    else
      li.no-items-message {{_ 'no-archived-boards'}}

template(name="boardDeletePopup")
  p {{_ 'delete-board-confirm-popup'}}
  button.js-confirm.negate.full(type="submit") {{_ 'delete'}}


a.assign-issue-button.button-gray.is-editable.button-unset(
    href=""
    ng-show="!issue.milestone"
    tg-check-permission="modify_issue"
    title="{{ 'ISSUES.ACTION_ATTACH_SPRINT' | translate }}"
)
    tg-svg(svg-icon="icon-attach")

a.assign-issue-button.button-green.is-editable.button-set(
    href=""
    ng-show="issue.milestone"
    tg-check-permission="modify_issue"
    title="{{ 'ISSUES.ACTION_DETACH_SPRINT' | translate }}"
)
    tg-svg(svg-icon="icon-detach")

.lightbox.lightbox-assign-sprint-to-issue
    tg-lightbox-close

    div.lightbox-assign-related-sprint
        h2.title {{ 'ISSUES.ACTION_ATTACH_SPRINT' | translate }}
        tg-search-list(
            label="{{ 'ISSUES.CHOOSE_SPRINT' | translate }}"
            placeholder="{{ 'ISSUES.FILTER_SPRINTS' | translate }}"
            items="milestones"
            ng-model="selectedSprint"
            filter-by="['name', 'estimated_start', 'estimated_finish']"
            project="project"
            item-type="sprint"
            filter-closed="true"
        )
        button.button-green.select-option(
            href=""
            ng-click="saveIssueToSprint(selectedSprint, $event)"
            tg-loading="vm.loading"
            translate="COMMON.SAVE"
            ng-disabled="!selectedSprint"
        )

Change issues to sprint hover svg

a.assign-issue-button.button-gray.is-editable.button-unset(
    href=""
    ng-show="!issue.milestone"
    tg-check-permission="modify_issue"
    title="{{ 'ISSUES.ACTION_ATTACH_SPRINT' | translate }}"
)
    tg-svg(svg-icon="icon-attach")

a.assign-issue-button.button-green.is-editable.button-set(
    href=""
    ng-show="issue.milestone"
    tg-check-permission="modify_issue"
    title="{{ 'ISSUES.ACTION_DETACH_SPRINT' | translate }}"
    ng-mouseenter="detach=true"
    ng-mouseleave="detach=false"
)
    tg-svg(ng-show="detach"
           svg-icon="icon-detach")
    tg-svg(ng-show="!detach"
           svg-icon="icon-attach")

.lightbox.lightbox-assign-sprint-to-issue
    tg-lightbox-close

    div.lightbox-assign-related-sprint
        h2.title {{ 'ISSUES.ACTION_ATTACH_SPRINT' | translate }}
        tg-search-list(
            label="{{ 'ISSUES.CHOOSE_SPRINT' | translate }}"
            placeholder="{{ 'ISSUES.FILTER_SPRINTS' | translate }}"
            items="milestones"
            ng-model="selectedSprint"
            filter-by="['name', 'estimated_start', 'estimated_finish']"
            project="project"
            item-type="sprint"
            filter-closed="true"
        )
        button.button-green.select-option(
            href=""
            ng-click="saveIssueToSprint(selectedSprint, $event)"
            tg-loading="vm.loading"
            translate="COMMON.SAVE"
            ng-disabled="!selectedSprint"
        )


.advertisements
  |
  #azk48893
  span.adsbybocoup Ads by Bocoup.

Switch to Bocoup's Revive ad server tag

.advertisements
  |
  span.adsbybocoup Ads by Bocoup.


.screen#main
  .header-container
    .header.artists
      .fa.fa-user
      | All Artists (
      span.count-artists
      | )
    .header.lottery
      .fa.fa-check
      | Lottery (
      span.count-lottery
      | )
    .header.standby
      .fa.fa-clock-o
      | Standby (
      span.count-standby
      | )
    .header.seated
      .fa.fa-sign-in
      | Seated (
      span.count-seated
      | )
  div(style='height:calc(100% - 30px)')
    .col-xs-3
      .content
        .artists.height-full.artist-names
          .column-loading
            .fa.fa-spinner.fa-spin
    .col-xs-3
      .content
        .lottery.height-full.lottery-names
          .column-loading
            .fa.fa-spinner.fa-spin
    .col-xs-3
      .content
        .standby.height-full.standby-names
          .column-loading
            .fa.fa-spinner.fa-spin
    .col-xs-3
      .content
        .seated.height-full.seated-names
          .column-loading
            .fa.fa-spinner.fa-spin

Use refresh icon instead of spin icon.

.screen#main
  .header-container
    .header.artists
      .fa.fa-user
      | All Artists (
      span.count-artists
      | )
    .header.lottery
      .fa.fa-check
      | Lottery (
      span.count-lottery
      | )
    .header.standby
      .fa.fa-clock-o
      | Standby (
      span.count-standby
      | )
    .header.seated
      .fa.fa-sign-in
      | Seated (
      span.count-seated
      | )
  div(style='height:calc(100% - 30px)')
    .col-xs-3
      .content
        .artists.height-full.artist-names
          .column-loading
            .fa.fa-refresh.fa-spin
    .col-xs-3
      .content
        .lottery.height-full.lottery-names
          .column-loading
            .fa.fa-refresh.fa-spin
    .col-xs-3
      .content
        .standby.height-full.standby-names
          .column-loading
            .fa.fa-refresh.fa-spin
    .col-xs-3
      .content
        .seated.height-full.seated-names
          .column-loading
            .fa.fa-refresh.fa-spin


md-dialog.modal(aria-label="List dialog")
  md-content
    img.left(ng-src="{{ ::s.logo || 'http://www.befair.it/wp-content/uploads/2014/05/logoBEFAIR.png'}}" alt="{{ ::s.name }}" width=500 height=150)
    h3.text-headline {{ ::s.name }}
    //.modal-social qualcosa di social
    //p.text-body bio

    label Show Prices
    input(type="checkbox" ng-model="checked" ng-init="checked=false")
    md-list
      //md-subheader.md-no-sticky X prodotti
      md-list-item.md-2-line(ng-repeat="p in s.products.product")
        //img.md-avatar(ng-src="{{ ::p.img }}")
        .md-list-item-text
          h3 {{ ::p.name }}
          p(ng-if="checked") {{ ::p.orderInfo.umPrice | customCurrency:'€' }}
        //md-icon.md-secondary prezzo

  .md-actions
    md-button(ng-click="closeDialog()") Close Bio

Revert "add show prices checkox"

md-dialog.modal(aria-label="List dialog")
  md-content
    img.left(ng-src="{{ ::s.logo || 'http://www.befair.it/wp-content/uploads/2014/05/logoBEFAIR.png'}}" alt="{{ ::s.name }}" width=500 height=150)
    h3.text-headline {{ ::s.name }}
    //.modal-social qualcosa di social
    //p.text-body bio

    md-list
      //md-subheader.md-no-sticky X prodotti
      md-list-item.md-2-line(ng-repeat="p in s.products.product")
        //img.md-avatar(ng-src="{{ ::p.img }}")
        .md-list-item-text
          h3 {{ ::p.name }}
          p {{ ::p.orderInfo.umPrice | customCurrency:'€' }}
        //md-icon.md-secondary prezzo

  .md-actions
    md-button(ng-click="closeDialog()") Close Bio


extends layout

block content
  h1= title
  p Welcome to #{title}
  form(method="POST" action="/volume/form" enctype="multipart/form-data")
    input(type="file" name="inputTypeFileNameField")
    input(type="text" name="fileNameIfNotNull")
    input(type="submit")

Fix 'action' parameter for <form> tag

extends layout

block content
  h1= title
  p Welcome to #{title}
  form(method="POST" action="/api/vol/public/form" enctype="multipart/form-data")
    input(type="file" name="inputTypeFileNameField")
    input(type="text" name="fileNameIfNotNull")
    input(type="submit")


doctype html
html
  include ./includes/head.jade
  body
    h1 Welcome to Net-Set
    p!= date

    include ./includes/board.jade

    script(src="frontend.js")

Remove date (was just for testing)

doctype html
html
  include ./includes/head.jade
  body
    h1 Welcome to Net-Set

    include ./includes/board.jade

    script(src="frontend.js")


doctype xml
urlset(
  xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'
)
  - slugs = _.pluck(models, 'id')
  for slug in slugs
    url
      loc=sd.APP_URL + '/artwork/' + slug
    url
      //-redirects to '/artwork/slug' if there are no auction results
      loc=sd.APP_URL + '/artwork/' + slug + '/auction-results'

Stop sitemapping 500K missing page


div(ng-show="!!pathology.tnm")
  include tnm

div(ng-controller='BreastHormoneReceptorsCtrl' ng-show="!!pathology.hormoneReceptors")
  include breast-hormone-receptors

div(ng-controller='BreastGeneticExpressionCtrl' ng-show="!!pathology.geneticExpression")
  include breast-genetic-expression

Add vertical space between panes.

.qi-ver-space(ng-show="!!pathology.tnm")
  include tnm

.qi-ver-space(ng-controller='BreastHormoneReceptorsCtrl'
              ng-show="!!pathology.hormoneReceptors")
  include breast-hormone-receptors

.qi-ver-space(ng-controller='BreastGeneticExpressionCtrl'
              ng-show="!!pathology.geneticExpression")
  include breast-genetic-expression


div(ng-include='"components/menubar/menubar.html"')

div(ng-include='"components/toolbar/toolbar.html"')

#canvas-container

choose-element

help

about

browse-happy

div(ng-include='"components/footer/footer.html"')

Add statusbar instead of footer

div(ng-include='"components/menubar/menubar.html"')

div(ng-include='"components/toolbar/toolbar.html"')

#canvas-container

choose-element

help

about

browse-happy

statusbar


h4 Sequence

table.object-details-table
  tr
    td Data Type:
    td= sequence.data_type
  tr
    td Current Value:
    td= sequence.start_value
  tr
    td Minimum:
    td= sequence.minimum_value
  tr
    td Maximum:
    td= sequence.maximum_value
  tr
    td Increment By:
    td= sequence.increment
  tr
    td Cycle:
    td= sequence.cycle_option
  if sequence.dep_table
    tr
      td Owned By Column:
      td= `${sequence.dep_table}.${sequence.dep_column}`
  if sequence.dep_def_value && sequence.dep_def_value.contains(sequence.sequence_name)
    tr
      td Owner Default Value:
      td= sequence.dep_def_value

Fix bug in showing sequence details

h4 Sequence

table.object-details-table
  tr
    td Data Type:
    td= sequence.data_type
  tr
    td Current Value:
    td= sequence.start_value
  tr
    td Minimum:
    td= sequence.minimum_value
  tr
    td Maximum:
    td= sequence.maximum_value
  tr
    td Increment By:
    td= sequence.increment
  tr
    td Cycle:
    td= sequence.cycle_option
  if sequence.dep_table
    tr
      td Owned By Column:
      td= `${sequence.dep_table}.${sequence.dep_column}`
  if sequence.dep_def_value && `${sequence.dep_def_value}`.includes(sequence.sequence_name)
    tr
      td Owner Default Value:
      td= sequence.dep_def_value


each item, index in items
  if index > 0
    span.separator= ' | '
  a.external-link.language(href=item.link data-language!=item.code, tabindex="1")
    = item.name

Add screenreader h2 title to language selector

h2.sr-only= t('personalisation.language')
each item, index in items
  if index > 0
    span.separator= ' | '
  a.external-link.language(href=item.link data-language!=item.code, tabindex="1")
    = item.name