Compare commits
No commits in common. "3b83ebf3fb8064155d5fdf8f41ee228f25b60f32" and "7026909c61b3fd96bc7c0419dcd538de909aad01" have entirely different histories.
3b83ebf3fb
...
7026909c61
6 changed files with 2 additions and 29 deletions
|
@ -4,8 +4,7 @@ WORKDIR /app
|
|||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN apt-get -y update
|
||||
RUN apt-get -y install sqlite3
|
||||
RUN apk install sqlite3
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
|
|
|
@ -97,13 +97,3 @@ h1 {
|
|||
font-weight: bold;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.study-finished {
|
||||
background-color: var(--primary);
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.study-finished > p {
|
||||
color: var(--error);
|
||||
font-size: 2em;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@ import "../App.css";
|
|||
import { Button } from "./Button";
|
||||
import "./HeroSection.css";
|
||||
import { useAuth } from "../auth/AuthProvider";
|
||||
import StudyFinished from "./StudyFinished";
|
||||
|
||||
export default function HeroSection() {
|
||||
const [isLoggedIn] = useAuth();
|
||||
|
@ -11,7 +10,6 @@ export default function HeroSection() {
|
|||
return (
|
||||
<div className="hero-container">
|
||||
<h1>Herzlich Willkommen</h1>
|
||||
<StudyFinished />
|
||||
<div className="hero-btns">
|
||||
{isLoggedIn ? (
|
||||
<Button
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
import React from "react";
|
||||
import "../App.css"
|
||||
|
||||
export default function StudyFinished() {
|
||||
return (
|
||||
<div className="study-finished">
|
||||
<p>Die Studie wurde beendet.</p>
|
||||
<p>Vielen Dank für die Teilnahme an der Studie</p>
|
||||
</div>
|
||||
);
|
||||
}
|
|
@ -72,10 +72,8 @@ export default function Privacy() {
|
|||
angegeben haben, verwendet werden.
|
||||
</p>
|
||||
<h2>Weitergabe der Daten</h2>
|
||||
<p>
|
||||
Grundsätzlich werden die Daten nicht an Dritte weitergegeben. Folgende
|
||||
Ausnahmen gibt es:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Der Fernfachhochschule Schweiz werden die Daten falls notwendig
|
||||
|
|
|
@ -12,7 +12,6 @@ import BehaviorPhone from "../BehaviorPhone";
|
|||
import BehaviorStanding from "../BehaviorStanding";
|
||||
import BehaviorStudyEnd from "../BehaviorStudyEnd";
|
||||
import { authFetch } from "../../auth/AuthProvider";
|
||||
import StudyFinished from "../StudyFinished";
|
||||
|
||||
export default function Study() {
|
||||
const _logger = useRef(0);
|
||||
|
@ -34,6 +33,7 @@ export default function Study() {
|
|||
useEffect(() => {
|
||||
_logger.current = new Logger({
|
||||
inputs: ["keyboard", "wheel", "cursor", "custom"],
|
||||
apiUrl: "https://behavior.marcocamenzind.ch",
|
||||
});
|
||||
_logger.current.init();
|
||||
authFetch("/api/username", {
|
||||
|
@ -270,7 +270,6 @@ export default function Study() {
|
|||
<>
|
||||
<div className="sitePage">
|
||||
<h1>Studie</h1>
|
||||
<StudyFinished />
|
||||
{state === STATES.START ? study_start : null}
|
||||
{state === STATES.NORMAL ? study_normal : null}
|
||||
{state === STATES.PHONE ? study_phone : null}
|
||||
|
|
Loading…
Reference in a new issue