Added Login state in profil + css
This commit is contained in:
parent
b8b4bbd1cb
commit
9620fa12d3
2 changed files with 7 additions and 6 deletions
|
|
@ -6,14 +6,14 @@ export async function openProfilePopup(profil: ClientProfil) {
|
|||
modalname.innerHTML =
|
||||
`
|
||||
<div class="profile-info">
|
||||
<div-profil-name id="profilName"> Profil of ${profil.user} </div>
|
||||
<div-login-name id="loginName"> Login Name: '${profil.loginName ?? 'Guest'}' </div>
|
||||
<div-profil-name id="profilName" class="text-xl font-bold text-blue-500"> Profil of ${profil.user} </div>
|
||||
<div-login-name id="loginName"> Login status: '${profil.loginName ?? 'Guest'}' </div>
|
||||
</br>
|
||||
<div-login-name id="loginName"> Login ID: '${profil.userID ?? ''}' </div>
|
||||
</br>
|
||||
<button id="popup-b-invite" class="btn-style popup-b-invite">U Game ?</button>
|
||||
<button id="popup-b-block" class="btn-style popup-b-block">Block User</button>
|
||||
<div id="profile-about">About: '${profil.text}' </div>
|
||||
<div id="profile-about" class="text-2xl text-amber-500">About: '${profil.text}' </div>
|
||||
</div>
|
||||
`;
|
||||
const profilList = document.getElementById("profile-modal") ?? null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue