mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Improved settings appearance
This commit is contained in:
parent
3bda514879
commit
9866298f19
@ -15,6 +15,12 @@
|
|||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.group-settings-container .separated-block {
|
||||||
|
margin-top: 25px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.group-settings-container .submit-button-container {
|
.group-settings-container .submit-button-container {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
@ -121,16 +121,17 @@ ComunicWeb.pages.groups.pages.settings = {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Group visibility
|
|
||||||
createElem2({
|
|
||||||
appendTo: formContainer,
|
|
||||||
type: "label",
|
|
||||||
innerHTML: "Group visibility"
|
|
||||||
});
|
|
||||||
|
|
||||||
|
//Group visibility
|
||||||
var visibilityForm = createElem2({
|
var visibilityForm = createElem2({
|
||||||
type: "form",
|
type: "form",
|
||||||
appendTo: formContainer
|
appendTo: formContainer,
|
||||||
|
class: "separated-block"
|
||||||
|
});
|
||||||
|
createElem2({
|
||||||
|
appendTo: visibilityForm,
|
||||||
|
type: "label",
|
||||||
|
innerHTML: "Group visibility"
|
||||||
});
|
});
|
||||||
|
|
||||||
//Open
|
//Open
|
||||||
@ -165,10 +166,12 @@ ComunicWeb.pages.groups.pages.settings = {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Group registration levels
|
//Group registration levels
|
||||||
var registrationLevelForm = createElem2({
|
var registrationLevelForm = createElem2({
|
||||||
appendTo: formContainer,
|
appendTo: formContainer,
|
||||||
type: "form",
|
type: "form",
|
||||||
|
class: "separated-block"
|
||||||
});
|
});
|
||||||
createElem2({
|
createElem2({
|
||||||
appendTo: registrationLevelForm,
|
appendTo: registrationLevelForm,
|
||||||
@ -189,7 +192,7 @@ ComunicWeb.pages.groups.pages.settings = {
|
|||||||
//Moderated
|
//Moderated
|
||||||
createFormGroup({
|
createFormGroup({
|
||||||
target: registrationLevelForm,
|
target: registrationLevelForm,
|
||||||
label: "Moderated registration (anyone can request a membership, but a moderator must review the request)",
|
label: "Moderated registration (anyone can request a membership, but a moderator review the requests)",
|
||||||
name: "group-registration-level",
|
name: "group-registration-level",
|
||||||
type: "radio",
|
type: "radio",
|
||||||
value: "moderated",
|
value: "moderated",
|
||||||
|
Loading…
Reference in New Issue
Block a user