monkeytype/frontend/static/main.html

78 lines
3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<%= compilation.assets["html/head.html"].source() %>
<body>
<%= compilation.assets["html/warnings.html"].source() %>
<div id="fpsCounter" class="hidden"></div>
<div class="customBackground"></div>
2020-10-27 09:33:20 +08:00
<div id="backgroundLoader" style="display: none"></div>
2022-04-07 20:08:51 +08:00
<div id="bannerCenter" class="focus"></div>
2021-01-16 09:12:36 +08:00
<div id="notificationCenter">
<div class="clearAll button invisible" style="display: none">
<i class="fas fa-times"></i>
Clear all
</div>
2021-01-16 09:12:36 +08:00
<div class="history"></div>
</div>
<div id="timerWrapper">
<div id="timer" class="timerMain"></div>
</div>
<div id="popups">
<%= compilation.assets["html/popups.html"].source() %>
</div>
2022-07-12 19:01:26 +08:00
<!-- <div id="div-gpt-ad-mkt-0" style="height: 100vh"></div> -->
<div id="app" class="focus">
<div>
<div id="ad-vertical-left-wrapper" class="ad advertisement ad-v focus">
2022-07-12 19:01:26 +08:00
<div class="icon"><i class="fas fa-ad"></i></div>
<div id="ad-vertical-left"></div>
</div>
</div>
<div id="contentWrapper" class="hidden">
2023-09-20 06:08:28 +08:00
<%= compilation.assets["html/header.html"].source() %>
2023-09-20 07:01:35 +08:00
<main style="height: 100%">
<%= compilation.assets["html/pages/loading.html"].source() %> <%=
compilation.assets["html/pages/about.html"].source() %> <%=
compilation.assets["html/pages/settings.html"].source() %> <%=
compilation.assets["html/pages/login.html"].source() %> <%=
Add User Profiles (#3174) * profile * rounded table corners * rounded leaderboards corners * wider page by default * v3 * font changes * new pbtables * blank by default * showing pb popup * removed some quotes * rounding displayed acc * removed created date (will be shown in profile) * added profile module that fills the profile element * updating font size in the middle of the swap to make the change not noticeable * lowered max font size * showing if user is banned, not displaying most details if user is banned * pbs not selectable * renamed global stats to time typing * completed previous commit * changed function parameters * only hiding when social is missing * smaller badge * aligning quick results spanning time if wide * larger badge * fixed function parameters * moved to root * media queries * Add user profile API (#3123) bruception * Add flattenObjectDeep * Add user profile API * Bump coverage * Add user profile configuration and rate limits * Rename profile -> profileDetails * Simplify * Filter personal bests * Handle banned users * Add banned user test * new profile layout system "none" layout finished * better "none" layout * "socials" layout * larger gap * bioandkey layout done * "both" layout finished * final touches * Add profile editing (#3135) * Add profile editing * lowered font size increased right padding * updated configuration schema * moved discord integration to users object in configuration * added warning comment * rendering new lines * edit popup styling * Sanitize ZAlgo text * Use trim * Replace more than 2 spaces with two spaces * Trim first * Add profanity detection * Ass * Removed some profanities * Update profanity detection Co-authored-by: Miodec <bartnikjack@gmail.com> * Add profile routing (#3143) bruception miodec * Add profile routing * removed check (also fixes circular deps) * change page in special cases * Hydrate profiles * Link leaderboards to profiles * Add failed to load div * Dont refresh page * always calling middle callback * moved profile css into its own file * fixed one media query * added preloader, changed default layout * added reset function changed function name updating profile before the page is shown, not after * resetting after the page is hidden and before its updated * Fix logic to not delete user if DB goes down (#3171) * Dont route to account if uid equals current user uid * temporairly allowing quicktab * added copy link button * only increasing padding on the account page * set max height * handling copy link button * only showing avatar if it exists * 1000 instead of 100 * removing placeholder if image request was successful Co-authored-by: Miodec <bartnikjack@gmail.com> * Fix quote length field Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-21 18:01:55 +08:00
compilation.assets["html/pages/account.html"].source() %> <%=
compilation.assets["html/pages/profile.html"].source() %> <%=
2023-09-27 18:16:34 +08:00
compilation.assets["html/pages/test.html"].source() %> <%=
compilation.assets["html/pages/404.html"].source() %>
2023-09-20 07:01:35 +08:00
</main>
2021-01-31 05:26:51 +08:00
2023-09-20 06:45:52 +08:00
<%= compilation.assets["html/footer.html"].source() %>
<div id="ad-footer-wrapper" class="ad advertisement ad-h focus">
2022-07-12 19:01:26 +08:00
<div class="icon"><i class="fas fa-ad"></i></div>
<div id="ad-footer"></div>
</div>
<div id="ad-footer-small-wrapper" class="ad advertisement ad-h-s focus">
2022-07-12 19:01:26 +08:00
<div class="icon small"><i class="fas fa-ad"></i></div>
<div id="ad-footer-small"></div>
</div>
</div>
<div>
<div id="ad-vertical-right-wrapper" class="ad advertisement ad-v focus">
2022-07-12 19:01:26 +08:00
<div class="icon"><i class="fas fa-ad"></i></div>
<div id="ad-vertical-right"></div>
2021-01-31 05:26:51 +08:00
</div>
</div>
</div>
<script src="/./js/jquery-3.7.1.min.js"></script>
2023-01-16 19:34:12 +08:00
<script src="/./js/jquery.color.min.js"></script>
<script src="/./js/easing-1.4.1.min.js"></script>
2023-01-16 19:34:12 +08:00
<script src="/./js/html2canvas.min.js"></script>
<script src="/./js/select2.min.js"></script>
<script
src="https://www.google.com/recaptcha/api.js?render=explicit"
async
defer
></script>
2023-01-16 22:26:02 +08:00
<link rel="stylesheet" href="/./themes/serika_dark.css" id="currentTheme" />
<link rel="stylesheet" href="" id="funBoxTheme" />
<link rel="stylesheet" href="" id="globalFunBoxTheme" type="text/css" />
</body>
</html>