Sha256: de8bde6f59f9d4e2fcd2e9c331bd5ec96e44b024ed852c1aedb528799dc5010a

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

<%
  require 'rubygems'
  require 'XmlElements'
  project = XmlElements.fromString(File.read("continuous4r-project.xml"))
%>
<div id="bodyColumn">
    <div class="contentBox">
        <div class="section"><a name="httperf"></a>
            <% project.tasks.each('task') do |task|
              if task['name'] == "railroad"
                if task.params.generate['value'] == 'all' or task.params.generate['value'] == 'controllers'
            %>
            <h2>Railroad controllers graph</h2>
            <object type="image/svg+xml" data="railroad/controllers.svg" width="100%" height="470">
                <img src="railroad/controllers.svg" alt="controllers">
            </object>
            <%  end %>
            <%  if task.params.generate['value'] == 'all' or task.params.generate['value'] == 'models' %>
            <h2>Railroad models graph</h2>
            <object type="image/svg+xml" data="railroad/models.svg" width="100%" height="470">
                <img src="railroad/models.svg" alt="controllers">
            </object>
            <% end
              end
            end
            %>
        </div>
    </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
continuous4r-0.0.1 lib/site/body-railroad.rhtml