PlanExe / src /report /report_template.html
Simon Strandgaard
Snapshot of PlanExe commit d1eee4b3f276c3f079b95539dafb7f1f794abfa4
22a5c6c
<html>
<head>
<title>PlanExe Project Report</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 40px;
line-height: 1.6;
color: #333;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
h1 {
color: #2c3e50;
border-bottom: 2px solid #eee;
padding-bottom: 10px;
}
h2 {
color: #34495e;
margin-top: 30px;
border-bottom: 1px solid #eee;
padding-bottom: 5px;
}
.section {
margin: 20px 0;
border: 1px solid #eee;
border-radius: 5px;
background-color: #fff;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
table {
border-collapse: collapse;
width: 100%;
margin: 20px 0;
font-size: 14px;
}
th, td {
border: 1px solid #ddd;
padding: 12px 8px;
text-align: left;
}
th {
background-color: #f5f5f5;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
tr:hover {
background-color: #f5f5f5;
}
.timestamp {
color: #666;
font-size: 0.9em;
margin-bottom: 30px;
}
.dataframe {
overflow-x: auto;
display: block;
}
.source-info {
color: #666;
font-size: 0.9em;
margin-top: 10px;
font-style: italic;
}
.collapsible {
background-color: #3498db;
color: white;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
border-radius: 5px;
text-align: left;
outline: none;
font-size: 18px;
font-weight: bold;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
position: relative;
}
.collapsible:hover {
background-color: #2980b9;
box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}
.collapsible:after {
content: '+';
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
transition: transform 0.3s ease;
}
.active:after {
content: "−";
}
.content {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
</style>
</head>
<body>
<!--CONTENT-START-->
<h1>PlanExe Project Report</h1>
<p class="timestamp">Generated on: 1984-12-31 23:59:59</p>
<div class="section">
<button class="collapsible">Project Pitch</button>
<div class="content">
<p>Lorem ipsum</p>
</div>
</div>
<div class="section">
<button class="collapsible">SWOT Analysis</button>
<div class="content">
<p>Lorem ipsum</p>
</div>
</div>
<!--CONTENT-END-->
<script>
var coll = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function() {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.maxHeight){
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + "px";
}
});
}
</script>
</body>
</html>