Commit 5fc4dd72 authored by Magnus Holm Brunbjerg's avatar Magnus Holm Brunbjerg
Browse files

fix

parent a7772474
......@@ -130,7 +130,7 @@ app.route('/experiments')
})
})
/**
* Create or end an experiment the temp way
* Create or end an experiment
*/
.post((req, res, next) => {
const experimentContent = {
......
......@@ -24,12 +24,14 @@
font-size: 25px;
font-weight: bold;
padding: 2px;
margin: 4px 0px 1px 0px;
}
.experiment-information {
border-top: 1px solid var(--secondary-color)
margin: 1px 0px 4px 0px;
}
.experiment-information span:first-of-type {
padding-left: 15px;
padding-right: 15px;
.experiment-information span {
margin: 0px -5px;
padding: 0px 20px;
border-top: 2px solid var(--secondary-color);
}
\ No newline at end of file
{{#if issues}}
<h1>{{experiment.name}}</h1>
<p>Lærer: {{experiment.user_name}}</p>
<span>Start: {{experiment.start_time}}</span>
<span>Slut: {{experiment.end_time}}</span>
{{#if issues}}
<div style="position: relative; height:40vh; width:80vw">
<canvas id="issues-chart"></canvas>
</div>
......@@ -16,5 +16,6 @@
makeChart(data)
</script>
{{else}}
<br><br><br><br>
<p>Det ser ud til at der ikke var nogen problemer under eksperimentets forløb.</p>
{{/if}}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment