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

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

Set default domain to 'example'
Set default domain to 'example'
