66 lines
No EOL
1.6 KiB
Handlebars
66 lines
No EOL
1.6 KiB
Handlebars
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>ECCM 1.10 Kanban board</title>
|
|
<style>
|
|
.kanban-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
}
|
|
.kanban-column {
|
|
width: 200px;
|
|
background-color: rgb(225, 225, 225);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.kanban-header {
|
|
text-align: center;
|
|
width: 200px;
|
|
}
|
|
.kanban-card {
|
|
background-color: rgb(196, 196, 196);
|
|
border-width: 1px;
|
|
border-color: rgba(255, 255, 255, 0.2) rgba(96, 96, 96, 0.2) rgba(96, 96, 96, 0.2) rgba(255, 255, 255, 0.2);
|
|
/*border-color: black;*/
|
|
border-style: solid;
|
|
margin: 2px;
|
|
padding: 3px;
|
|
width: 190px;
|
|
/*display: flex;*/
|
|
box-shadow: 0 0 3px rgba(0,0,0,0.5);
|
|
border-radius: 3px;
|
|
z-index: 100;
|
|
}
|
|
.kanban-card div {
|
|
font-size: small;
|
|
}
|
|
.kanban-card .kanban-card-title {
|
|
font-weight: bold;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
{{#each this}}
|
|
<h1>{{this.metainfo.title}}</h1>
|
|
<div class="kanban-container">
|
|
{{#each this.data}}
|
|
<div class="kanban-column">
|
|
<div class="kanban-header">{{this.status}}</div>
|
|
{{#each this.issues}}
|
|
<div class="kanban-card">
|
|
<div class="kanban-card-title"><a href="{{{this.url.url}}}">{{this.tracker.name}} #{{this.id}} - {{this.subject}}</a></div>
|
|
<div>Исп.: {{this.current_user.name}}</div>
|
|
<div>Прогресс: {{this.done_ration}}</div>
|
|
<div>Трудозатраты: {{this.total_spent_hours}} / {{this.total_estimated_hours}}</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/each}}
|
|
</body>
|
|
</html> |