Sha256: fa377069aff1b9063c9e8440b427b5e88a4f92b0ed8fc47da226d494989db856

Contents?: true

Size: 1.56 KB

Versions: 42

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 Webservice"
        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='javascript:void(0)'>#{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

42 entries across 42 versions & 1 rubygems

Version Path
washout_builder-1.1.2 app/views/wash_with_html/all_services.builder
washout_builder-1.1.1 app/views/wash_with_html/all_services.builder
washout_builder-1.1.0 app/views/wash_with_html/all_services.builder
washout_builder-1.0.11 app/views/wash_with_html/all_services.builder
washout_builder-1.0.10 app/views/wash_with_html/all_services.builder
washout_builder-1.0.9 app/views/wash_with_html/all_services.builder
washout_builder-1.0.8 app/views/wash_with_html/all_services.builder
washout_builder-1.0.7 app/views/wash_with_html/all_services.builder
washout_builder-1.0.6 app/views/wash_with_html/all_services.builder
washout_builder-1.0.5 app/views/wash_with_html/all_services.builder
washout_builder-1.0.4 app/views/wash_with_html/all_services.builder
washout_builder-1.0.2 app/views/wash_with_html/all_services.builder
washout_builder-1.0.0 app/views/wash_with_html/all_services.builder
washout_builder-0.16.5 app/views/wash_with_html/all_services.builder
washout_builder-0.16.4 app/views/wash_with_html/all_services.builder
washout_builder-0.16.3 app/views/wash_with_html/all_services.builder
washout_builder-0.16.2 app/views/wash_with_html/all_services.builder
washout_builder-0.16.1 app/views/wash_with_html/all_services.builder
washout_builder-0.16.0 app/views/wash_with_html/all_services.builder
washout_builder-0.15.8 app/views/wash_with_html/all_services.builder