Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func (t *Test) ToSingleTest(p string) *TestDTO {
Time: t.Time,
Output: strings.Split(t.Output, "\n"),
Status: t.Status.String(),
FancyStatus: t.Status.FancyString(),
FancyStatus: t.Status.String(),
Package: p,
}
}
Expand Down
38 changes: 32 additions & 6 deletions internal/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Test Report Results</title>
<title>Test Report Results - Generated by repgen</title>
<!-- Google Fonts: Inter -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
Expand All @@ -18,9 +18,10 @@
padding: 0;
}
.container {
max-width: 900px;
width: 95%;
max-width: 1200px;
margin: 40px auto;
padding: 24px;
padding: 12px;
}
.card {
background: #fff;
Expand All @@ -30,7 +31,7 @@
}
.header-row {
display: flex;
flex-direction: column;
flex-wrap: wrap;
gap: 16px;
align-items: stretch;
justify-content: space-between;
Expand All @@ -50,11 +51,13 @@
}
.search-box {
position: relative;
width: 100%;
max-width: 256px;
min-width: 0;
flex: 1 1 220px;
max-width: 320px;
}
.search-input {
width: 100%;
box-sizing: border-box;
padding: 8px 36px 8px 16px;
border: 1px solid #cbd5e1;
border-radius: 8px;
Expand Down Expand Up @@ -412,4 +415,27 @@ <h3 class="modal-title">Log Details</h3>
});
</script>
</body>
<footer class="repgen-footer">
Generated by <a href="https://github.com/andreaswachs/repgen" target="_blank" rel="noopener" class="footer-link">repgen</a> — https://github.com/andreaswachs/repgen
</footer>
<style>
.repgen-footer {
text-align: center;
font-size: 0.95em;
color: #64748b;
margin: 32px 0 16px 0;
letter-spacing: 0.01em;
opacity: 0.85;
}
.repgen-footer .footer-link {
color: #2563eb;
text-decoration: none;
border-bottom: 1px dotted #2563eb;
transition: color 0.2s;
}
.repgen-footer .footer-link:hover {
color: #1d4ed8;
border-bottom: 1px solid #1d4ed8;
}
</style>
</html>
Loading