forked from Adleraci/adlerka.top
lets see
This commit is contained in:
parent
2275d1623a
commit
9fda1b9195
@ -208,3 +208,12 @@ header ul li {
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* <DASHBOARD STYLING> */
|
||||||
|
/* ZAČÍNAJ VŠETKO S ".dashboard" */
|
||||||
|
|
||||||
|
|
||||||
|
.dashboard
|
||||||
|
|
||||||
|
|
||||||
|
/* </DASHBOARD STYLING> */
|
17
templates/dashboard.html
Normal file
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>
|
Loading…
Reference in New Issue
Block a user