Sha256: d852cacf3afcd8d6f2306cc66e0f0ee1558dc3d06c686e2ec7dd7982b3920349

Contents?: true

Size: 1.56 KB

Versions: 25

Compression:

Stored size: 1.56 KB

Contents

xml.instruct!
xml.declare! :DOCTYPE, :html, :PUBLIC, "-//W3C//DTD XHTML 1.0 Strict//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"

xml.html( "xmlns" => "http://www.w3.org/1999/xhtml" ) {

  xml.head {

    xml.title "Available Services"

    xml.style( "type"=>"text/css" ,"media" => "all" ) { xml.text! "
    body{font-family:Calibri,Arial;background-color:#fefefe;}
    .pre{font-family:Courier;}
    .normal{font-family:Calibri,Arial;}
    .bold{font-weight:bold;}
    h1,h2,h3{font-family:Verdana,Times;}
    h1{border-bottom:1px solid gray;}
    h2{border-bottom:1px solid silver;}
    h3{border-bottom:1px dashed silver;}
    a{text-decoration:none;}
    a:hover{text-decoration:underline;}
    .blue{color:#3400FF;}
    .lightBlue{color:#5491AF;}
      "

    }

    xml.style( "type"=>"text/css", "media" => "print" ) { xml.text! "
    .noprint{display:none;}
      "

    }


  }


  xml.body {
    unless @services.blank?

      @services.each do |service|
        xml.h1 "#{service['service_name']} Soap Web Service"
        xml.p {|pre| pre << "Documentation URI: &nbsp;<a href='#{service['documentation_url']}'>#{service['documentation_url']}</a>" }
        xml.p {|pre| pre << "Endpoint URI: &nbsp;<a href='#{service['endpoint']}'>#{service['endpoint']}</a>" }
        xml.p {|pre|  pre << "WSDL URI: &nbsp;<a href='#{service['namespace']}'>#{service['namespace']}</a>" }
      end
    end

    if @services.blank?
       xml.h1 "Available Services"
       xml.p "There are no services yet added. Please add the routes for your services and try again!"
    end

  }


}

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
washout_builder-2.0.5 app/views/wash_with_html/all_services.builder
washout_builder-2.0.4 app/views/wash_with_html/all_services.builder
washout_builder-2.0.3 app/views/wash_with_html/all_services.builder
washout_builder-2.0.2 app/views/wash_with_html/all_services.builder
washout_builder-2.0.0 app/views/wash_with_html/all_services.builder
washout_builder-1.7.5 app/views/wash_with_html/all_services.builder
washout_builder-1.7.4 app/views/wash_with_html/all_services.builder
washout_builder-1.7.3 app/views/wash_with_html/all_services.builder
washout_builder-1.7.2 app/views/wash_with_html/all_services.builder
washout_builder-1.7.1 app/views/wash_with_html/all_services.builder
washout_builder-1.7.0 app/views/wash_with_html/all_services.builder
washout_builder-1.6.5 app/views/wash_with_html/all_services.builder
washout_builder-1.6.4 app/views/wash_with_html/all_services.builder
washout_builder-1.6.3 app/views/wash_with_html/all_services.builder
washout_builder-1.6.2 app/views/wash_with_html/all_services.builder
washout_builder-1.6.1 app/views/wash_with_html/all_services.builder
washout_builder-1.5.6 app/views/wash_with_html/all_services.builder
washout_builder-1.5.5 app/views/wash_with_html/all_services.builder
washout_builder-1.5.4 app/views/wash_with_html/all_services.builder
washout_builder-1.5.3 app/views/wash_with_html/all_services.builder