114 lines
No EOL
2.4 KiB
Handlebars
114 lines
No EOL
2.4 KiB
Handlebars
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Simple Issues List</title>
|
|
<style>
|
|
.list-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
background-color: rgb(225, 225, 225);
|
|
}
|
|
|
|
.list-item {
|
|
margin: 5px;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.list-item-description {
|
|
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-style: solid;
|
|
margin: 2px;
|
|
padding: 3px;
|
|
width: 190px;
|
|
/*display: flex;*/
|
|
border-radius: 3px;
|
|
z-index: 100;
|
|
}
|
|
|
|
.kanban-card div {
|
|
font-size: small;
|
|
}
|
|
|
|
.kanban-card .kanban-card-title {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.timepassed-dot {
|
|
height: 10px;
|
|
width: 10px;
|
|
background-color: #bbb;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.timepassed-dot.hot {
|
|
background-color: red;
|
|
}
|
|
|
|
.timepassed-dot.warm {
|
|
background-color: orange;
|
|
}
|
|
|
|
.timepassed-dot.comfort {
|
|
background-color: rgba(255, 255, 0, 0.4);
|
|
}
|
|
|
|
.timepassed-dot.breezy {
|
|
background-color: rgba(0, 255, 0, 0.4);
|
|
}
|
|
|
|
.timepassed-dot.cold {
|
|
background-color: rgba(0, 0, 255, 0.1);
|
|
}
|
|
|
|
.issue-tag {
|
|
font-size: 8pt;
|
|
border-radius: 4px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.tags-container {
|
|
padding-left: 14px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
{{#each this}}
|
|
{{#if this.metainfo}}
|
|
<h1 id="{{this.metainfo.title}}">{{this.metainfo.title}} <a href="#{{this.metainfo.title}}">#</a></h1>
|
|
<div class="list-container">
|
|
{{#each this.data}}
|
|
|
|
{{#each this.issues}}
|
|
<div class="list-item">
|
|
<div>
|
|
<span class="timepassed-dot {{this.timePassedClass}}"></span>
|
|
<span class="issue-subject"><a href="{{{this.url.url}}}">{{this.tracker.name}} #{{this.id}} - {{this.subject}}</a></span>
|
|
<span class="issue-status">| {{this.status.name}}</span>
|
|
<span class="issue-time">| {{this.total_spent_hours}} / {{this.total_estimated_hours}}</span>
|
|
</div>
|
|
<div class="tags-container">
|
|
{{#if this.styledTags}}
|
|
{{#each this.styledTags}}
|
|
<span class="issue-tag" style="{{{this.style}}}">{{this.tag}}</span>
|
|
{{/each}}
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
{{/each}}
|
|
</body>
|
|
|
|
</html> |