Skip to content

Commit 325969e

Browse files
committed
Feat: Enhance education and guidance
1 parent 6a27935 commit 325969e

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

docs/application/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
After restructuring the _data_-folder _data-new_ has to be used

scutter.php

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function getJson($dimensions) {
3737
"series" => 0,
3838
"shape" => $shapes[$shape] ?? "square",
3939
"size" => 3000,
40-
"x" => getDifficultyOfImplementation($dimensions, $content),
40+
"x" => 5-getDifficultyOfImplementation($dimensions, $content),
4141
"y" => $content["usefulness"],
4242
"key" => $activityName
4343
);
@@ -69,13 +69,8 @@ function getData() { //# groups,# points per group
6969
<form action="?" method="get">
7070
<?php
7171
$aggregated = $_GET['aggregated'] ?? null;
72-
if ($aggregated == "true") {
73-
echo "value='false'";
74-
}else {
75-
echo "value='true'";
76-
}
77-
?>">
78-
<button id="">
72+
?>
73+
<button id="">
7974
<?php
8075
echo ($aggregated == "true") ? "Show specific values" : "Show total values";
8176
?>

0 commit comments

Comments
 (0)