burnchart/templates/issues.eco

98 lines
4.0 KiB
Plaintext

<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Burndown App</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<header class="navbar blue navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<ul class="nav pull-left">
<li><a><i class="icon-white icon-fire"></i> Burndown App</a></li>
</ul>
<ul class="nav pull-right">
<li><a><i class="icon-white icon-book"></i> <%= @project %></a></li>
</ul>
</div>
</div>
</header>
<section class="container-fluid pad40">
<section class="row-fluid">
<div class="span2 sideBar">
<br>
<ul>
<li>
<figure>
<a href="/burndown"><i class="icon-signal"></i> Burndown Chart</a>
</figure>
</li>
<li class="active">
<figure>
<a href="/issues"><i class="icon-tasks"></i> Issues</a>
</figure>
</li>
</ul>
</div>
<section class="span10 content borBox">
<% if @issues.length > 0: %>
<div class="row-fluid">
<div class="page-header">
<h1>List of outstanding issues</h1>
</div>
</div>
<br>
<div class="row-fluid">
<div class="span12">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Title</th>
<th>Opened</th>
<th>Updated</th>
<th>Opened By</th>
<th>Assigned To</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<% for issue in @issues: %>
<tr>
<td><%= issue.number %></td>
<td><strong><%= issue.title %></strong></td>
<td><%= issue.created_at %></td>
<td><%= issue.updated_at %></td>
<td><%= issue.user.login %></td>
<td><%= issue.assignee?.login %></td>
<td>
<a target="_new" href="<%= issue.html_url %>">
<button class="btn btn-mini btn-success"><i class="icon-white icon-eye-open"></i></button>
</a>
</td>
</tr>
<% end %>
</tbody>
</table>
</div>
</div>
<% else: %>
<div class="row-fluid">
<div class="page-header">
<h1>All issues are closed</h1>
</div>
</div>
<% end %>
</section>
</section>
</section>
</body>
</html>