mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-25 02:18:51 +00:00
Improved rendering of user like button
This commit is contained in:
parent
697482c071
commit
e834b06b16
@ -63,12 +63,15 @@ ComunicWeb.pages.userPage.profileInfos = {
|
|||||||
innerHTML: infos.firstName + " " + infos.lastName
|
innerHTML: infos.firstName + " " + infos.lastName
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Show user likes
|
//Show user likes
|
||||||
var userLikesTarget = createElem2({
|
var userLikesTarget = createElem2({
|
||||||
appendTo: boxBody,
|
appendTo: boxBody,
|
||||||
type: "div"
|
type: "div"
|
||||||
});
|
});
|
||||||
userLikesTarget.style.textAlign = "center";
|
userLikesTarget.style.textAlign = "center";
|
||||||
|
userLikesTarget.style.marginBottom = "10px";
|
||||||
|
|
||||||
//Check wether user is linking or not
|
//Check wether user is linking or not
|
||||||
var userLiking = null;
|
var userLiking = null;
|
||||||
@ -85,7 +88,9 @@ ComunicWeb.pages.userPage.profileInfos = {
|
|||||||
userLikesTarget,
|
userLikesTarget,
|
||||||
);
|
);
|
||||||
|
|
||||||
//Add list of informations about user
|
|
||||||
|
|
||||||
|
//Add a list of informations about user
|
||||||
var listInfos = createElem2({
|
var listInfos = createElem2({
|
||||||
appendTo: boxBody,
|
appendTo: boxBody,
|
||||||
type: "url",
|
type: "url",
|
||||||
|
Loading…
Reference in New Issue
Block a user