monkeytype/frontend/static/main.html
Jack 6499cedc28
Reworked route controller (#3220) miodec
* rewrote route controller

* showing loading by default

* links which are not external need data line attribute

* need to rewrite this

* page controller takes a page as parameter
removed page type

* default export

* going through the route controller instead of changing page directly

* resolving all code paths

* using navigate

* added 404, leaderboards route

* changed leaderboards button to a link

* removed click handler

* added page about route

* removed default export,
added settings page route

* removing pointer events from everything inside links

* navigating to account when on login page

* fixed console logs, using async

* added login and account pages

* moved code to their own functions

* allowing async functions

* defaulting content visible

* async

* fixed 404 not navigating correctly

* setting public path to root

* fixed paths

* using uid passed in through url params

* added 404 page, profile routes

* removed comment

* moved discord link flow to url handler

* allowing html

* not resetting state

* removed function

* handling logo click

* removed comments

* reomoved comments

* removed comments

* removed comments

* using new router

* basic 404 page

* buttons whicha are links have no underline

* correctly handling the take me back button

* updated button

* removed comments

* fixed account page profile link button

* updated 404

* removed comments

* removed comments

* removed comments
2022-06-24 22:12:52 +02:00

70 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<%= compilation.assets["html/head.html"].source() %>
<body>
<%= compilation.assets["html/warnings.html"].source() %>
<div id="ad_rich_media" class="hidden"></div>
<div class="customBackground"></div>
<div id="backgroundLoader" style="display: none"></div>
<div id="bannerCenter" class="focus"></div>
<div id="notificationCenter">
<div class="history"></div>
</div>
<div id="timerWrapper">
<div id="timer" class="timerMain"></div>
</div>
<div
class="nameChangeMessage"
style="
background-color: var(--main-color);
padding: 0.5rem;
text-align: center;
color: var(--bg-color);
display: none;
"
>
Important information about your account. Please click this message.
</div>
<%= compilation.assets["html/popups.html"].source() %>
<div style="display: flex; justify-content: space-around">
<div id="centerContent" class="hidden">
<%= compilation.assets["html/top.html"].source() %>
<div id="middle">
<%= compilation.assets["html/pages/loading.html"].source() %> <%=
compilation.assets["html/pages/test.html"].source() %> <%=
compilation.assets["html/pages/about.html"].source() %> <%=
compilation.assets["html/pages/settings.html"].source() %> <%=
compilation.assets["html/pages/login.html"].source() %> <%=
compilation.assets["html/pages/account.html"].source() %> <%=
compilation.assets["html/pages/profile.html"].source() %> <%=
compilation.assets["html/pages/404.html"].source() %>
</div>
<%= compilation.assets["html/bottom.html"].source() %>
<div class="footerads hidden">
<div
id="ad_footer"
style="display: flex; justify-content: center; justify-self: center"
></div>
<div
id="ad_footer2"
class="hidden"
style="display: flex; justify-content: center; justify-self: center"
></div>
</div>
</div>
</div>
</body>
<script src="/./js/jquery-3.5.1.min.js"></script>
<script src="/./js/jquery.color.min.js"></script>
<script src="/./js/easing.min.js"></script>
<script src="/./js/html2canvas.min.js"></script>
<script src="/./js/select2.min.js"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</html>