Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ITPDP2019
Gain.fam
web-server
Commits
a7772474
Commit
a7772474
authored
May 29, 2019
by
Magnus Holm Brunbjerg
Browse files
Compare init
parent
3c2f343b
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/public/js/compare.js
0 → 100644
View file @
a7772474
src/views/compare.hbs
0 → 100644
View file @
a7772474
<h1>
Sammenlign
</h1>
<table>
<thead>
<tr>
<th>
Valgt
</th>
<th>
Navn
</th>
<th>
Lærer
</th>
<th>
Start tidspunkt
</th>
<th>
Slut tidspunkt
</th>
</tr>
</thead>
<tbody>
{{#
each
experiments
}}
<tr>
<td><input
type=
"checkbox"
name=
"compare"
id=
"compare"
></td>
<td><a
href=
"/experiments/
{{
this
.
id
}}
"
>
{{
this
.
name
}}
</a></td>
<td>
{{
this
.
user_name
}}
</td>
<td>
{{
this
.
start_time
}}
</td>
<td>
{{
this
.
end_time
}}
</td>
</tr>
{{/
each
}}
</tbody>
</table>
<button
type=
"submit"
>
Sammenlign
</button>
\ No newline at end of file
src/views/issues.hbs
View file @
a7772474
<h1>
Problemer
</h1>
{{#if
issues
}}
<h1>
{{
experiment
.
name
}}
</h1>
<p>
Lærer:
{{
experiment
.
user_name
}}
</p>
<p>
Navn:
{{
experiment
.
name
}}
</p>
<p>
Start:
{{
experiment
.
start_time
}}
</p>
<p>
Slut:
{{
experiment
.
end_time
}}
</p>
<span>
Start:
{{
experiment
.
start_time
}}
</span>
<span>
Slut:
{{
experiment
.
end_time
}}
</span>
<div
style=
"position: relative; height:40vh; width:80vw"
>
<canvas
id=
"issues-chart"
></canvas>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment