This commit is contained in:
Richard Mikloš 2024-02-03 22:48:07 +01:00
parent 2275d1623a
commit 9fda1b9195
2 changed files with 27 additions and 1 deletions

@ -207,4 +207,13 @@ header ul li {
.feature-list-ul ul {
margin-top: 5px;
margin-left: 20px;
}
}
/* <DASHBOARD STYLING> */
/* ZAČÍNAJ VŠETKO S ".dashboard" */
.dashboard
/* </DASHBOARD STYLING> */

17
templates/dashboard.html Normal file

@ -0,0 +1,17 @@
<script>
async function getUserInfo() {
const data = new URLSearchParams();
data.append("action", "get_user_info");
const result = await doAccountAction(data, null, null, true);
if (result && result.Status === "Success") {
return UserInfo.FirstName;
}
}
</script>
<body class="dashboard">
<h1>Ahoj, <script>getUserInfo()</script></h1>
</body>