expressed/ep_visage/learn.html

65 lines
3.2 KiB
HTML
Raw Normal View History

2023-11-20 16:39:21 +00:00
<!doctype html>
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title id="title">ExpressED | Loading Practice</title>
<link rel="stylesheet" href="/bootstrap.min.css" />
</head>
<body>
<div class="h-100 d-flex align-items-center justify-content-center text-center">
<div>
<div class="container">
<div class="row">
<div class="col">
<h1 id="title2">ExpressED: Loading Practice</h1>
<p id="bdata">Please wait, while we load this emotion</p>
</div>
</div>
<div class="row">
<div class="col">
<a href="/learn.html" class="btn btn-secondary p-5 w-100">Go Back</a>
</div>
<div class="col">
<a id="link" href="/v_dl/sdk/www/Samples/ShowcaseDemo/ShowcaseDemo.html?v=1" class="btn btn-success p-5 w-100">Practice!</a>
</div>
</div>
</div>
</div>
</div>
2023-11-21 01:53:22 +00:00
<p style="position: absolute; bottom: 0; left: 10pt;">~core/expressed v1.0.1 - <a href="/changelog.html">changelog</a> - made with <3 - last build 11/21/23 01:37:33Z</p>
2023-11-20 16:39:21 +00:00
<script>
const params = new URLSearchParams(window.location.search);
if (!params.has("v")) {
window.location.href = "/";
}
let emotions = ["Anger", "Disgust", "Fear", "Happiness", "Sadness", "Surprise", "Neutral"];
let emotion_descriptions = [
"Anger description",
"Disgust description",
"Fear description",
"<b>Smile</b><br>" +
"The person's lips curve upward, forming a friendly and joyful smile.<br>" +
"<b>Bright Eyes</b><br>" +
" Happy eyes often appear bright and lively. The muscles around the eyes may crinkle, forming crow's feet or laugh lines at the corners, indicating genuine happiness. The eyes may also be slightly narrowed, emphasizing the warmth and sincerity of the smile.<br>" +
"<b>Relaxed Brow</b><br>" +
"The forehead is usually smooth and free from tension or furrowing when a person is happy. There are no signs of stress or worry, and the eyebrows may be slightly raised.",
"Sadness description",
"Surprise description",
"Neutral description"
];
document.getElementById("title2").innerText = "ExpressED: Learning " + emotions[Number(params.get("v"))];
document.getElementById("title").innerText = "ExpressED | Learning " + emotions[Number(params.get("v"))];
document.getElementById("bdata").innerHTML = emotion_descriptions[Number(params.get("v"))];
document.getElementById("link").href = "/v_dl/sdk/www/Samples/ShowcaseDemo/ShowcaseDemo.html?v=" + params.get("v");
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>