Skip to content
Snippets Groups Projects
Commit 95d52716 authored by Lionel Trebuchon's avatar Lionel Trebuchon
Browse files

[creation] - Improve aesthetics.

parent 2c464e81
No related branches found
No related tags found
No related merge requests found
...@@ -230,17 +230,23 @@ export default class newEvent extends EditView { ...@@ -230,17 +230,23 @@ export default class newEvent extends EditView {
} }
// checks currentPage and selects the fitting page // checks currentPage and selects the fitting page
if (this.currentpage === 1) { if (this.currentpage === 1) {
return layoutWith(m('h1', 'Event description:', iconLeft, iconRight, m('br'), fieldTitleEn, fieldCatchphraseEn, fieldDescriptionEn, fieldTitleDe, fieldCatchphraseDe, fieldDescriptionDe)); return layoutWith(m(
'h1', 'Event description:', iconLeft, iconRight, m('br'),
fieldTitleEn, fieldCatchphraseEn, fieldDescriptionEn, fieldTitleDe,
fieldCatchphraseDe, fieldDescriptionDe,
));
} else if (this.currentpage === 2) { } else if (this.currentpage === 2) {
return layoutWith(m( return layoutWith(m(
'h1', 'Critical Information:', iconLeft, iconRight, m('br'), fieldStartDate, fieldEndDate, fieldStartRegDate, 'h1', 'Critical Information:', iconLeft, iconRight, m('br'), fieldStartDate,
fieldEndRegDate, fieldLocation, fieldPrice, fieldNumberOfParticipants, fieldEndDate, fieldStartRegDate, fieldEndRegDate, fieldLocation, fieldPrice,
fieldNumberOfParticipants,
)); ));
} else if (this.currentpage === 3) { } else if (this.currentpage === 3) {
return layoutWith(m( return layoutWith(m(
'h1', 'Advertise Information', iconLeft, iconRight, m('br'), fieldAdvStart, fieldAdvEnd, checkboxWebsite, 'h1', 'Advertise Information', iconLeft, iconRight, m('br'), fieldAdvStart,
checkboxAnnounce, checkboxInfoScreen, buttonBannerUp, buttonInfoUp, buttonPosterUp, fieldAdvEnd, checkboxWebsite, checkboxAnnounce, checkboxInfoScreen,
buttonThumbUp, m('br'), buttonUploadAll, m('br'), checkboxAllowMail, radioButtonSelectionMode, buttonBannerUp, buttonInfoUp, buttonPosterUp, buttonThumbUp, m('br'),
buttonUploadAll, m('br'), checkboxAllowMail, radioButtonSelectionMode,
)); ));
} }
return layoutWith(m('')); return layoutWith(m(''));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment