mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-17 02:11:28 +00:00
Clean up
This commit is contained in:
parent
92e34a3bb1
commit
220dba24ff
@ -59,52 +59,18 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
// Wolle sliderIndexByName(name) {
|
||||
// return this.sliderData.sliders.findIndex((slider) => slider.name === name)
|
||||
// },
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.Sliders {
|
||||
// Wolle position: relative;
|
||||
// background-color: #fff;
|
||||
// height: 100%;
|
||||
// display: flex;
|
||||
// margin: 0;
|
||||
// padding: 0;
|
||||
// list-style: none;
|
||||
// .selection-dot {
|
||||
// margin-right: 5px;
|
||||
// // &:hover {
|
||||
// // border-bottom: none;
|
||||
// // }
|
||||
// }
|
||||
|
||||
&__slider-selection {
|
||||
// padding-top: 5px;
|
||||
// margin-right: 5px;
|
||||
|
||||
// text-align: center;
|
||||
// height: 100%;
|
||||
// flex-grow: 1;
|
||||
|
||||
// &:hover {
|
||||
// border-bottom: 2px solid #c9c6ce;
|
||||
// }
|
||||
|
||||
.selection-dot {
|
||||
margin-right: 2px;
|
||||
}
|
||||
// &.--active {
|
||||
// border-bottom: 2px solid #17b53f;
|
||||
// }
|
||||
&.--confirmed {
|
||||
opacity: $opacity-disabled;
|
||||
// &:hover {
|
||||
// border-bottom: none;
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,18 +14,14 @@
|
||||
: $t('components.registration.signup.title', metadata)
|
||||
}}
|
||||
</h1> -->
|
||||
<ds-space v-if="token" margin-botton="large">
|
||||
<ds-text v-html="$t('registration.signup.form.invitation-code', { code: token })" />
|
||||
</ds-space>
|
||||
<ds-space margin-botton="large">
|
||||
<ds-text>
|
||||
{{
|
||||
invitation
|
||||
? $t('profile.invites.description')
|
||||
: $t('components.registration.signup.form.description')
|
||||
}}
|
||||
</ds-text>
|
||||
</ds-space>
|
||||
<ds-text v-if="token" v-html="$t('registration.signup.form.invitation-code', { code: token })" />
|
||||
<ds-text>
|
||||
{{
|
||||
invitation
|
||||
? $t('profile.invites.description')
|
||||
: $t('components.registration.signup.form.description')
|
||||
}}
|
||||
</ds-text>
|
||||
<ds-input
|
||||
:placeholder="invitation ? $t('profile.invites.emailPlaceholder') : $t('login.email')"
|
||||
type="email"
|
||||
|
||||
@ -64,7 +64,7 @@ storiesOf('RegistrationSlider', module)
|
||||
collectedInputData: {
|
||||
inviteCode: null,
|
||||
email: 'wolle.huss@pjannto.com',
|
||||
emailSend: false,
|
||||
emailSend: true,
|
||||
nonce: 'NTRSCZ',
|
||||
name: 'Wolle',
|
||||
password: 'Hello',
|
||||
@ -88,10 +88,28 @@ storiesOf('RegistrationSlider', module)
|
||||
components: { RegistrationSlider },
|
||||
store: helpers.store,
|
||||
data: () => ({
|
||||
// Wolle searchResults,
|
||||
overwriteSliderData: {
|
||||
collectedInputData: {
|
||||
inviteCode: null,
|
||||
email: 'wolle.huss@pjannto.com',
|
||||
emailSend: true,
|
||||
nonce: null,
|
||||
name: null,
|
||||
password: null,
|
||||
passwordConfirmation: null,
|
||||
about: null,
|
||||
termsAndConditionsAgreedVersion: null,
|
||||
termsAndConditionsConfirmed: null,
|
||||
dataPrivacy: null,
|
||||
minimumAge: null,
|
||||
noCommercial: null,
|
||||
noPolitical: null,
|
||||
locale: null,
|
||||
},
|
||||
},
|
||||
}),
|
||||
template: `
|
||||
<registration-slider registrationType="invite-mail" />
|
||||
<registration-slider registrationType="invite-mail" :overwriteSliderData="overwriteSliderData" />
|
||||
`,
|
||||
}))
|
||||
.add('invite-mail with data', () => ({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user