-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
101 lines (101 loc) · 6.8 KB
/
Copy pathindex.html
File metadata and controls
101 lines (101 loc) · 6.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/bs/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script async src="js/opencv.js" onload="OpenCVready();"></script>
<script src="js/script.js"></script>
<title>Kotisivu - Kristian Ollikainen</title>
</head>
<body>
<div class="background"></div>
<div id="divThePositionerOfBadlyBehavingElements" class="d-flex">
<button class="btn btn-red text-light position-fixed" style="z-index: 10; left: 10px; top: 5px;" onclick="sidebarToggle();">=</button>
<!-- Fake sidebar for positioning -->
<div id="fakeSidebar" class="d-inline-flex flex-column min-vh-100 overflow-hidden" style="background-color: transparent;"></div>
<!-- Sidebar -->
<div id="realSidebar" class="position-fixed d-inline-flex flex-column p-2 bg-dark min-vh-100 text-light overflow-hidden">
<h3 class="text-center pb-0 mb-0">Kotisivut</h3>
<hr>
<h5 class="text-center p-1"><u>HTML Harjoituksia</u></h5>
<ul class="nav flex-column nav-pills gap-2 mb-auto overflow-hidden">
<li class="nav-item w-100">
<a class="nav-link active nav-red" href="#exerciseContainer" onclick="setiFrame('./Harjoitus 3 HTML CSS/index.html')">Käyntikortti</a>
</li>
<li class="nav-item w-100">
<a class="nav-link active nav-red" href="#exerciseContainer" onclick="setiFrame('./Harjoitus 4 HTML CSS/index.html')">Kello</a>
</li>
<li class="nav-item w-100">
<a class="nav-link active nav-red" href="#exerciseContainer" onclick="setiFrame('./Harjoitus 7 CD kansi/index.html')">CD-Kansi</a>
</li>
<li class="nav-item w-100">
<a class="nav-link active nav-red" href="#exerciseContainer" onclick="setiFrame('./Harjoitus X Älykoti/index.html')">Älykoti</a>
</li>
<li class="nav-item w-100">
<a class="nav-link active nav-red" href="#exerciseContainer" onclick="setiFrame('./Harjoitus Y Joulukalenteri/index.html')">Joulukalenteri</a>
</li>
<li class="nav-item w-100">
<a class="nav-link active nav-red" href="#exerciseContainer" onclick="setiFrame('./Harjoitus T Nettiradio/index.html')">Nettiradio</a>
</li>
<li class="nav-item w-100">
<a class="nav-link active nav-red" href="#exerciseContainer" onclick="setiFrame('./Harjoitus W Lataus/index.html')">Latausanimaatio</a>
</li>
<li class="nav-item w-100">
<a class="nav-link active nav-red" href="#exerciseContainer" onclick="setiFrame('./Harjoitus Lottorivi/index.html')">Lottorivi</a>
</li>
<li class="nav-item w-100">
<a class="nav-link active nav-red" href="#exerciseContainer" onclick="setiFrame('./Biljardi/index.html')">Biljardi (Github Copilot)</a>
</li>
</ul>
<hr>
<div id="minimap">
<div id="minimap-pointer" style="height: 25%;"></div>
</div>
<hr>
<h6 class="text-center" style="font-size: 15px"><a href="https://github.com/CaptainHorse/CaptainHorse.github.io">Lähdekoodi</a></h6>
</div>
<!-- EOF Sidebar -->
<!-- Content -->
<div class="container-fluid py-lg-3 px-lg-5 text-light">
<div class="row p-3" style="background-color: #828420; border-radius: 1.0rem">
<h3 class="text-center"><u>Tervetuloa sivuilleni</u></h3>
<p class="col fs-5 pe-1">
<b>Minusta:</b><br>
Olen ohjelmoinut jo pidemmän aikaa, kielet joita osaan parhaiten tällä hetkellä ovat C++ ja Python.
<br>
Muita kieliä on tullut myös käytettyä, kuten Java, HTML, Javascript, C#, Lua ja C.
</p>
<div class="col p-0 mx-0 mt-0" style="border-right: lightgray dotted 3px; max-width: 1px;"></div>
<p class="col fs-5 pe-1">
<b>Projektejani:</b><br>
Singularity Engine peli/ohjelmamoottori (tällä hetkellä yksityinen).<br>
<a href="https://github.com/CaptainHorse/Wallicia">Wallicia</a> joka mahdollistaa Windowsin työpöydän alle renderöinnin ja videon toiston.<br>
Sekä muita jotka voit löytää <a href="https://github.com/CaptainHorse?tab=repositories">julkisista GitHub repositoryistäni</a>.
</p>
</div>
<hr>
<div id="exerciseContainer" class="row p-3" style="background-color: #208441; border-radius: 1.0rem;">
<h3 class="text-center"><u>Valittu harjoitus näkyy tässä</u></h3>
<iframe id="exerciseFrame" class="p-3" style="height: 80vh;" src="./Harjoitus 3 HTML CSS/index.html"></iframe>
</div>
<hr>
<div class="row p-3" style="background-color: #204f84; border-radius: 1.0rem">
<h3 class="text-center"><u>Webbikameralla kasvojentunnistusta</u></h3>
<div class="d-flex justify-content-between">
<button class="btn btn-green text-light" onclick="webcamToggle(this);">Kamera päälle</button>
<button id="faceButton" class="btn btn-red text-light" onclick="faceToggle();">Ladataan..</button>
</div>
<div class="d-flex gap-3 py-3 justify-content-between overflow-hidden">
<video id="webcam" width="512px" height="512px" autoplay="true" poster="./res/poster.png" style="object-fit: fill;"></video>
<canvas id="faceOut" width="512px" height="512px"></canvas>
</div>
</div>
</div>
<!-- EOF Content -->
</div>
</body>
</html>