Improve settings tab

This commit is contained in:
Pierre HUBERT 2021-03-15 19:00:03 +01:00
parent d8bce9fc57
commit c4aced5ed2
2 changed files with 4 additions and 11 deletions

View File

@ -20,7 +20,6 @@
} }
.group-settings-container .groupLogoSettingsContainer { .group-settings-container .groupLogoSettingsContainer {
margin-top: 100px;
text-align: center; text-align: center;
} }

View File

@ -329,18 +329,12 @@ const GroupSettingsPage = {
/** /**
* Group account image * Group account image
*/ */
var groupLogoSettingsContainer = createElem2({ const groupLogoSettingsContainer = createElem2({
appendTo: formContainer, appendTo: settingsPage,
type: "div", type: "div",
class: "groupLogoSettingsContainer" innerHTML: "<div class='box box-primary'><div class='box-header'><h3 class='box-title'>"+tr("Group logo")+"</h3></div><div class='box-body groupLogoSettingsContainer'></div></di>",
}); }).querySelector(".box-body");
createElem2({
appendTo: groupLogoSettingsContainer,
type: "h3",
class: "title",
innerHTML: "Group logo"
});
//Display group logo (img) //Display group logo (img)
var groupLogo = createElem2({ var groupLogo = createElem2({