2023-11-22 17:10:45 +03:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="tr">
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
<!--!Copyright © 2023 Aliberk Sandıkçı -->
|
|
|
|
|
<!--!Copyright © 2023 iflpanel Developers -->
|
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
|
|
|
|
|
|
<!-- Meta Content -->
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
|
<meta name="description" content="iflpanel Akıllı Tahta Arkaplan Sayfası" />
|
|
|
|
|
<meta name="keywords" content="iflpanel,akıllı tahta,arkaplan,tahta,board" />
|
|
|
|
|
<meta name="author" content="Aliberk Sandıkçı" />
|
|
|
|
|
|
|
|
|
|
<!-- CSS Files -->
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="./assets/css/main.css" />
|
2023-11-23 22:18:53 +03:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="./assets/css/not_scss.css" />
|
2023-11-22 17:10:45 +03:00
|
|
|
|
|
2023-11-23 22:18:53 +03:00
|
|
|
|
<!-- Matomo -->
|
2023-11-28 16:06:33 +03:00
|
|
|
|
<script>
|
|
|
|
|
var _paq = window._paq = window._paq || [];
|
|
|
|
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
|
|
|
_paq.push(['trackPageView']);
|
|
|
|
|
_paq.push(['enableLinkTracking']);
|
|
|
|
|
(function () {
|
|
|
|
|
var u = "//stats.aliberksandikci.com.tr/";
|
|
|
|
|
_paq.push(['setTrackerUrl', u + 'matomo.php']);
|
|
|
|
|
_paq.push(['setSiteId', '3']);
|
|
|
|
|
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
|
|
|
|
g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s);
|
|
|
|
|
})();
|
|
|
|
|
</script>
|
|
|
|
|
<!-- End Matomo Code -->
|
2023-11-23 22:18:53 +03:00
|
|
|
|
|
2023-11-28 16:06:33 +03:00
|
|
|
|
<title>iflpanel Tahta</title>
|
2023-11-22 17:10:45 +03:00
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<!-- MAIN AREA -->
|
|
|
|
|
<section id="top">
|
|
|
|
|
<div class="class">
|
2023-12-13 16:50:50 +03:00
|
|
|
|
<div>
|
|
|
|
|
<span class="grade">12</span> /
|
|
|
|
|
<span class="branch">C</span>
|
|
|
|
|
</div>
|
2023-12-13 17:25:28 +03:00
|
|
|
|
<div style="display:flex; align-content: center; align-items: center; margin-top: 10px;" class="extraItem">
|
2023-12-13 16:50:50 +03:00
|
|
|
|
<a href="https://asandikci.com/bagis/" target="_blank"><img src="assets/images/bagis-qr.png" width="50"></a>
|
|
|
|
|
<p style="align-self: center; font-style: normal; text-align: center; font-size: small;"> 👈
|
|
|
|
|
Geliştirme sürecine destek verin<br> (Sıradaki: <span style="width: min-content; font-size: x-small;"id="sirada-yapilacaklar"></span>) </p>
|
|
|
|
|
</div>
|
2023-11-22 17:10:45 +03:00
|
|
|
|
</div>
|
|
|
|
|
<div class="clock">
|
|
|
|
|
<h1 id="time">12.00</h1>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="settings-box">
|
|
|
|
|
<form>
|
|
|
|
|
<button id="timers-button" type="button" onmouseover="toggleTimers()" onclick="toggleTimers()">⏱</button>
|
|
|
|
|
<button id="settings-button" type="button" onmouseover="toggleSettings()" onclick="toggleSettings()">⚙</button>
|
|
|
|
|
</form>
|
|
|
|
|
<div id="settings">
|
|
|
|
|
<form>
|
|
|
|
|
<div class="cell">
|
|
|
|
|
<input type="checkbox" id="chx-clockSecond" onchange="toggleClockSeconds()" />
|
|
|
|
|
<label for="chx-clockSecond">Saniye</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cell">
|
|
|
|
|
<input type="checkbox" id="chx-timerMsec" onchange="toggleTimerMsec()" checked />
|
|
|
|
|
<label for="chx-timerMsec">Sayaçlarda Milisaniye</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cell">
|
|
|
|
|
<input type="checkbox" id="chx-devVersion" onchange="toggleDevVersion()">
|
|
|
|
|
<label for="chx-devVersion">Geliştirici Sürümü</label>
|
|
|
|
|
</div>
|
2023-12-04 19:30:04 +03:00
|
|
|
|
<div class="cell">
|
2023-12-13 17:25:28 +03:00
|
|
|
|
<input type="checkbox" id="chx-closeExtra" onchange="toggleExtra()">
|
|
|
|
|
<label for="chx-devVersion">Ekstra Bildirimleri Kapatın</label>
|
2023-12-04 19:30:04 +03:00
|
|
|
|
</div>
|
2023-11-22 17:10:45 +03:00
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<hr style="width: 100%; box-sizing: border-box;">
|
|
|
|
|
|
|
|
|
|
<!-- INTERACTIVE / FUNCTIONAL AREA -->
|
|
|
|
|
<section id="mid">
|
|
|
|
|
<div id="timers">
|
|
|
|
|
<div id="timers-menu">
|
|
|
|
|
<ul>
|
|
|
|
|
<li onmouseover="toggleTimers('stopwatch')" onclick="toggleTimers('stopwatch')">
|
2023-12-13 16:50:50 +03:00
|
|
|
|
<button class="pushable pushable-f pushable-l">
|
2023-11-22 17:10:45 +03:00
|
|
|
|
<span class="shadow"></span>
|
|
|
|
|
<span class="edge"></span>
|
|
|
|
|
<span class="front">
|
|
|
|
|
Kronometre
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
2023-12-13 16:50:50 +03:00
|
|
|
|
<!-- <li onmouseover="toggleTimers('timer')" onclick="toggleTimers('timer')">
|
2023-12-04 19:30:04 +03:00
|
|
|
|
<button class="pushable pushable-l">
|
|
|
|
|
<span class="shadow"></span>
|
|
|
|
|
<span class="edge"></span>
|
2023-12-13 16:50:50 +03:00
|
|
|
|
<span class="front" style="padding: 1px 10px; background-color: red;">
|
2023-12-04 19:30:04 +03:00
|
|
|
|
Güvenli<br>Kronometre
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
2023-12-13 16:50:50 +03:00
|
|
|
|
</li> -->
|
2023-11-22 17:10:45 +03:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="stopwatch">
|
|
|
|
|
<div class="timer">
|
|
|
|
|
<div class="min">
|
|
|
|
|
00
|
|
|
|
|
</div>
|
|
|
|
|
.
|
|
|
|
|
<div class="sec">
|
|
|
|
|
00
|
|
|
|
|
</div>
|
|
|
|
|
<span id="stopwatch-msec-dot">.</span>
|
|
|
|
|
<div class="msec">
|
|
|
|
|
00
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<form>
|
2023-11-28 16:06:33 +03:00
|
|
|
|
<input class="timer-action-button" type="button" id="start-cro" name="start-cro" value="▶️ Başlat"
|
|
|
|
|
onmouseover="Stopwatch('start')" onclick="Stopwatch('start')" checked>
|
|
|
|
|
<input class="timer-action-button" type="button" id="stop-cro" name="stop-cro" value="⏸️ Durdur ve Sıfırla"
|
|
|
|
|
onmouseover="Stopwatch('stop')" onclick="Stopwatch('stop')" checked>
|
2023-11-22 17:10:45 +03:00
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="timer">
|
|
|
|
|
<div class="timer">
|
|
|
|
|
00.00.00
|
|
|
|
|
</div>
|
2023-12-04 19:30:04 +03:00
|
|
|
|
<p>Şu anda yapım aşamasında<br><b>sınav salonundaki akıllı tahta için 100% doğru kronometre</b></p>
|
2023-11-22 17:10:45 +03:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="yemek-listesi">
|
|
|
|
|
yapım aşamasında: yemekhane listesi eklenecek
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="animations">
|
|
|
|
|
yapım aşamasında: animasyonlar / oyunlar eklenecek
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<!-- NON-INTERACTIVE DECORATION AREA -->
|
|
|
|
|
<section id="bottom">
|
|
|
|
|
<div id="rainbow"></div>
|
|
|
|
|
</section>
|
2023-12-13 16:50:50 +03:00
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
function b64DecodeUnicode(str) {
|
|
|
|
|
// Going backwards: from bytestream, to percent-encoding, to original string.
|
|
|
|
|
return decodeURIComponent(atob(str).split('').map(function (c) {
|
|
|
|
|
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
|
|
|
|
|
}).join(''));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var curAmount = 0
|
|
|
|
|
var goalAmount = 0;
|
|
|
|
|
let localtest = 0;
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// PUBLIC DATA
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
let url2 = 'https://git.aliberksandikci.com.tr/api/v1/repos/asandikci.com/www/contents/public-data.json';
|
|
|
|
|
// let url2 = "http://127.0.0.1:PORT/public-data.json";
|
|
|
|
|
// localtest = 1;
|
|
|
|
|
fetch(url2)
|
|
|
|
|
.then(res => res.json())
|
|
|
|
|
.then(out => {
|
|
|
|
|
var publicjson;
|
|
|
|
|
if (localtest) {
|
|
|
|
|
publicjson = out[0]["public-todo"];
|
|
|
|
|
} else {
|
|
|
|
|
var cnt = out.content;
|
|
|
|
|
console.log("base64: " + cnt);
|
|
|
|
|
publicjson = JSON.parse(b64DecodeUnicode(cnt))[0]["public-todo"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
publicjson.sort(function (a, b) {
|
|
|
|
|
return Number(Object.keys(a)) > Number(Object.keys(b));
|
|
|
|
|
});
|
|
|
|
|
console.log(publicjson);
|
|
|
|
|
|
|
|
|
|
var curi = 0;
|
|
|
|
|
let i = 0;
|
|
|
|
|
for (i = 0; i < publicjson.length; i++) {
|
|
|
|
|
const element = Number(Object.keys(publicjson[i]));
|
|
|
|
|
if (curAmount < element) {
|
|
|
|
|
goalAmount = element;
|
|
|
|
|
curi = i;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let aka = publicjson[i][goalAmount][0];
|
|
|
|
|
document.getElementById("sirada-yapilacaklar").innerHTML = aka.split("- ")[1];
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
.catch(err => {
|
|
|
|
|
throw err
|
|
|
|
|
});
|
|
|
|
|
</script>
|
2023-11-22 17:10:45 +03:00
|
|
|
|
<script src="./assets/js/old_main.js"></script>
|
|
|
|
|
<script src="./assets/js/old_stopwatch.js"></script>
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>
|