akam_roadmap/app/views/projects/index.html.erb

114 lines
3.1 KiB
Plaintext
Raw Normal View History

2014-11-07 20:37:59 +00:00
<div class="row">
<h2>Projects (<%= @projects.count %>)</h2>
</div>
<div class="row">
2014-11-06 21:50:01 +00:00
<% if @active_projects.count > 0 %>
<h3>Active (<%= @active_projects.count%>)</h3>
2014-11-07 20:56:49 +00:00
<table class="table">
2014-11-06 21:50:01 +00:00
<thead>
<tr>
2014-11-07 20:37:59 +00:00
<th width="30%">Project</th>
<th width="17.5%">Requirements</th>
<th width="17.5%">Design</th>
<th width="17.5%">Dev & Ops</th>
<th width="17.5%">QA & Launch</th>
2014-11-06 21:50:01 +00:00
</tr>
</thead>
<tbody>
<% @active_projects.each do |project| %>
<tr>
<td><%= link_to project.title, project %></td>
<td><%= project.requirements %></td>
<td><%= project.design %></td>
<td><%= project.devops %></td>
<td><%= project.qalaunch %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>
<% if @upcoming_projects.count > 0 %>
<h3>Upcoming (<%= @upcoming_projects.count%>)</h3>
2014-11-07 20:56:49 +00:00
<table class="table">
2014-11-06 21:50:01 +00:00
<thead>
<tr>
2014-11-07 20:37:59 +00:00
<th width="30%">Project</th>
<th width="17.5%">Requirements</th>
<th width="17.5%">Design</th>
<th width="17.5%">Dev & Ops</th>
<th width="17.5%">QA & Launch</th>
2014-11-06 21:50:01 +00:00
</tr>
</thead>
<tbody>
<% @upcoming_projects.each do |project| %>
<tr>
<td><%= link_to project.title, project %></td>
<td><%= project.requirements %></td>
<td><%= project.design %></td>
<td><%= project.devops %></td>
<td><%= project.qalaunch %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>
<% if @backlog_projects.count > 0 %>
<h3>Backlog (<%= @backlog_projects.count%>)</h3>
2014-11-07 20:56:49 +00:00
<table class="table">
2014-11-06 21:50:01 +00:00
<thead>
<tr>
2014-11-07 20:37:59 +00:00
<th width="30%">Project</th>
<th width="17.5%">Requirements</th>
<th width="17.5%">Design</th>
<th width="17.5%">Dev & Ops</th>
<th width="17.5%">QA & Launch</th>
2014-11-06 21:50:01 +00:00
</tr>
</thead>
<tbody>
<% @backlog_projects.each do |project| %>
<tr>
<td><%= link_to project.title, project %></td>
<td><%= project.requirements %></td>
<td><%= project.design %></td>
<td><%= project.devops %></td>
<td><%= project.qalaunch %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>
<% if @completed_projects.count > 0 %>
<h3>Completed (<%= @completed_projects.count%>)</h3>
2014-11-07 20:56:49 +00:00
<table class="table">
2014-11-06 21:50:01 +00:00
<thead>
<tr>
2014-11-07 20:37:59 +00:00
<th width="30%">Project</th>
<th width="17.5%">Requirements</th>
<th width="17.5%">Design</th>
<th width="17.5%">Dev & Ops</th>
<th width="17.5%">QA & Launch</th>
2014-11-06 21:50:01 +00:00
</tr>
</thead>
<tbody>
<% @completed_projects.each do |project| %>
<tr>
<td><%= link_to project.title, project %></td>
<td><%= project.requirements %></td>
<td><%= project.design %></td>
<td><%= project.devops %></td>
<td><%= project.qalaunch %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>
2014-11-07 20:37:59 +00:00
</div>