125 lines
2.3 KiB
HTML
125 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Code Review</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<style>
|
|
/* basic style */
|
|
body {
|
|
font-family: Helvetica;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 20px;
|
|
color: green;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 16px;
|
|
padding-left: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
p {
|
|
white-space: pre-wrap;
|
|
margin: 0;
|
|
}
|
|
|
|
pre {
|
|
margin: 0
|
|
}
|
|
|
|
code {
|
|
border: 1px solid #999;
|
|
display: block;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* links in headlines */
|
|
h3.lines-headline>a {
|
|
color: #005bbb;
|
|
text-decoration: none;
|
|
}
|
|
|
|
h3.lines-headline>a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* table style */
|
|
table.review-table {
|
|
font-size: 14px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
table.review-table .caption {
|
|
font-weight: bold;
|
|
vertical-align: top;
|
|
}
|
|
|
|
table.review-table tr>td:first-child {
|
|
width: 120px
|
|
}
|
|
|
|
/* priority indicator */
|
|
.text>span:before {
|
|
content: "";
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
margin-right: 5px;
|
|
margin-left: -15px;
|
|
}
|
|
|
|
.text>span.prio-high:before {
|
|
background: #FF4500;
|
|
}
|
|
|
|
.text>span.prio-medium:before {
|
|
background: #FFD700;
|
|
}
|
|
|
|
.text>span.prio-low:before {
|
|
background: #9ACD32;
|
|
}
|
|
|
|
.text>span.prio-none:before {
|
|
background: #D3D3D3;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<h1 class="main-headline">Code Review Results</h1>
|
|
<section class="file-section">
|
|
<h2 class="file-section-headline">\src\main\java\curent\Curent.java</h2>
|
|
<h3 class="lines-headline">
|
|
<a href="">Position: 28:8-28:52</a>
|
|
</h3>
|
|
<table class="review-table">
|
|
<tr class="row-priority">
|
|
<td class="caption">Priority</td>
|
|
<td class="text">
|
|
<span class="prio-0">0</span>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-title">
|
|
<td class="caption">Title</td>
|
|
<td class="text">Move hardcoded value to a config file</td>
|
|
</tr>
|
|
<tr class="row-category">
|
|
<td class="caption">Category</td>
|
|
<td class="text">Best Practices</td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
</body>
|
|
|
|
</html>
|