aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/cover/templates
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-01-09 11:54:09 +0100
committerTaras Madan <tarasmadan@google.com>2025-01-10 14:10:51 +0000
commitd9381135675fbad30ded99c88b61ac76c3ffc110 (patch)
tree21e5b5487bdb10e1764f4eda03cb5d0b17fbd011 /pkg/cover/templates
parentcc2730f070a7a06e09ddc1fcb7b609848a629ee2 (diff)
dashboard/app: coverage page allows to specify analysis duration (columns)
Diffstat (limited to 'pkg/cover/templates')
-rw-r--r--pkg/cover/templates/heatmap.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/cover/templates/heatmap.html b/pkg/cover/templates/heatmap.html
index 5dd951afe..c3fcd5db7 100644
--- a/pkg/cover/templates/heatmap.html
+++ b/pkg/cover/templates/heatmap.html
@@ -107,7 +107,9 @@
<div style="display:inline-block">
<form method="get">
<div style="display:inline-block; vertical-align: top">
- <label for="target-period">Periods:</label>
+ <label for="target-period">Period type:</label>
+ <br>
+ <label for="target-period-count">Period count:</label>
<br>
<label for="target-subsystem">Subsystem:</label>
<br>
@@ -121,6 +123,8 @@
<option value="day">Day</option>
</select>
<br>
+ <input id="target-period-count" name="period_count" type="number" min="1" max="12" value="4"/>
+ <br>
<select id="target-subsystem" name="subsystem">
<option value="">*</option>
{{ range $ss := .Subsystems }}