Sha256: 5549e8e7dd98e491f5b3e41a7983c2bf1f5cf696b0485eb67857562cc7b7f81d

Contents?: true

Size: 1.56 KB

Versions: 12

Compression:

Stored size: 1.56 KB

Contents

<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="./css/jsgantt.css" />
    <script language="javascript" src="./js/jsgantt.js"></script>
    <title>Gantt Chart | <%= rm.title %></title>
</head>
<body>
  <h2><%= rm.title %>
    <% if rm.file %>
      <% unless rm.file.match(/ROADMAP$/) %> (<span style="color: #999999"><%= rm.file.gsub(/^.*ROADMAP\_/, "ROADMAP_") %></span>) <% end %>
    <% end %>
  </h2>

<div style="position:relative" class="gantt" id="GanttChartDIV"></div>
<script>
    var g = new JSGantt.GanttChart('g',document.getElementById('GanttChartDIV'), 'day');
    g.setShowRes(1); // Show/Hide Responsible (0/1)
    g.setShowDur(1); // Show/Hide Duration (0/1)
    g.setShowComp(0); //
    g.setCaptionType('Caption');  // Set to Show Caption
    g.setShowStartDate(0); // Show/Hide Start Date(0/1)
    g.setShowEndDate(0); // Show/Hide End Date(0/1)
    //g.setDateDisplayFormat('yyyy-mm-dd') // Set format to display dates ('mm/dd/yyyy', 'dd/mm/yyyy', 'yyyy-mm-dd')
    g.setFormatArr("day","week","month") // Set format options (up to 4 : "minute","hour","day","week","month","quarter")

    if( g ) {
      <% rm.tasks.each do |task| %>
      <%= task.as_js resource %>
      <% end %>
        g.Draw();
        g.DrawDependencies();
    }
    else
    {
        alert("not defined");
    }
</script>


<% if is_roadmap %>
<h3>Recent Git Log</h3> 
<pre><code>
<%= git_log %>
</code></pre>
<% end %>

</body>
</html>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dev_flow-0.6.2 templates/jsgantt.html.erb
dev_flow-0.6.1 templates/jsgantt.html.erb
dev_flow-0.6.0 templates/jsgantt.html.erb
dev_flow-0.5.5 templates/jsgantt.html.erb
dev_flow-0.5.4 templates/jsgantt.html.erb
dev_flow-0.5.3 templates/jsgantt.html.erb
dev_flow-0.5.2 templates/jsgantt.html.erb
dev_flow-0.5.1 templates/jsgantt.html.erb
dev_flow-0.5.0 templates/jsgantt.html.erb
dev_flow-0.4.2 templates/jsgantt.html.erb
dev_flow-0.4.1 templates/jsgantt.html.erb
dev_flow-0.4.0 templates/jsgantt.html.erb