diff --git a/src/app/core/config/i18n/el.ts b/src/app/core/config/i18n/el.ts index 1bf7c1a0..0e3253f4 100644 --- a/src/app/core/config/i18n/el.ts +++ b/src/app/core/config/i18n/el.ts @@ -956,10 +956,10 @@ export const locale = { ERROR_EARN_TOKENS: '', ERROR_REDEEM_TOKENS: '', - NOT_ENOUGH_POINTS: 'Είναι αδύνατο να προχωρήσετε
Δεν υπάρχουν αρκετοι Πόντοι', - NOT_ENOUGH_TOKENS: 'Είναι αδύνατο να προχωρήσετε
Δεν υπάρχουν αρκετα Κουπόνια', + NOT_ENOUGH_POINTS: 'Είναι αδύνατο να προχωρήσετε
Δεν υπάρχουν αρκετοί Πόντοι', + NOT_ENOUGH_TOKENS: 'Είναι αδύνατο να προχωρήσετε
Δεν υπάρχουν αρκετά Κουπόνια', - NEW_EMAIL: 'Ένα νέο email ανιχνεύδηκε', + NEW_EMAIL: 'Ένα νέο email ανιχνεύθηκε', NEW_CARD: 'Μια νέα κάρτα ανιχεύθηκε
Εισάγεται μια ήδη καταχωρημένη διεύθυνση ηλεκτρονικού ταχυδρομείο για να γίνει η σύνδεση! Αν δεν υπάρχει, εισάγεται μια νέα διεύθυνση ηλεκτρονικου ταχυδρομείου για να γίνει εγγραφή! Αλλιώς, προχωρήστε στη δημιουργία λογαριασμού μόνο με τη χρήση κάρτας', EXISTING_CARD: 'Μια καταχωρημένη κάρτα ανιχνέυθηκε
Εισάγεται διεύθυνση ηλεκτρονικού ταχυδρομείου για σύνδεση ή προχωρήστε', diff --git a/src/app/partner-menu/partner-loyalty/edit-offer/edit-offer.component.html b/src/app/partner-menu/partner-loyalty/edit-offer/edit-offer.component.html index 261ff74f..ece71993 100644 --- a/src/app/partner-menu/partner-loyalty/edit-offer/edit-offer.component.html +++ b/src/app/partner-menu/partner-loyalty/edit-offer/edit-offer.component.html @@ -62,16 +62,13 @@

{{'OFFER.EDIT' | translate}}: {{title}}

- -
-
{{'FIELDS.OFFER.INSTRUCTIONS.TITLE' | translate}} + {{ 'FORM.VALIDATION.REQUIRED_FIELD' | translate }} @@ -88,6 +85,9 @@

{{'OFFER.EDIT' | translate}}: {{title}}

+
+
+
@@ -206,12 +206,12 @@ {{'OFFER.DELETE_CONFIRM' | translate}} '{{title}}'?
- + \ No newline at end of file diff --git a/src/app/partner-menu/partner-loyalty/new-offer/new-offer.component.html b/src/app/partner-menu/partner-loyalty/new-offer/new-offer.component.html index cae51e61..77f41b32 100644 --- a/src/app/partner-menu/partner-loyalty/new-offer/new-offer.component.html +++ b/src/app/partner-menu/partner-loyalty/new-offer/new-offer.component.html @@ -57,16 +57,13 @@
- -
-
{{'FIELDS.OFFER.INSTRUCTIONS.TITLE' | translate}} + {{ 'FORM.VALIDATION.REQUIRED_FIELD' | translate }} @@ -83,6 +80,9 @@
+
+
+
@@ -181,4 +181,4 @@ -
+
\ No newline at end of file diff --git a/src/app/stepper-partner-loyalty_offer/sub-offer-form/sub-offer-form.component.html b/src/app/stepper-partner-loyalty_offer/sub-offer-form/sub-offer-form.component.html index a9c370e2..57b80452 100644 --- a/src/app/stepper-partner-loyalty_offer/sub-offer-form/sub-offer-form.component.html +++ b/src/app/stepper-partner-loyalty_offer/sub-offer-form/sub-offer-form.component.html @@ -41,10 +41,10 @@
{{ 'PARTNER.WIZARD.SUB_OFFER_FORM.FORM_TITLE' | transl {{ 'FORM.VALIDATION.REQUIRED_FIELD' | translate }} - {{ 'FORM.VALIDATION.MIN_VALUE_FIELD' | translate }}: {{ '1' }} + {{ 'FORM.VALIDATION.MIN_VALUE_FIELD' | translate }} {{ '1' }} - {{ 'FORM.VALIDATION.MAX_VALUE_FIELD' | translate }}: {{ transaction.possible_quantity }} + {{ 'FORM.VALIDATION.MAX_VALUE_FIELD' | translate }} {{ transaction.possible_quantity }} {{ 'PARTNER.WIZARD.SUB_OFFER_FORM.FORM_HINT' | translate }} @@ -68,4 +68,4 @@
{{ 'PARTNER.WIZARD.SUB_OFFER_FORM.FORM_TITLE' | transl - + \ No newline at end of file diff --git a/src/app/stepper-partner-microcredit_campaign/sub-microcredit-form/sub-microcredit-form.component.html b/src/app/stepper-partner-microcredit_campaign/sub-microcredit-form/sub-microcredit-form.component.html index d758ff6e..7b915657 100644 --- a/src/app/stepper-partner-microcredit_campaign/sub-microcredit-form/sub-microcredit-form.component.html +++ b/src/app/stepper-partner-microcredit_campaign/sub-microcredit-form/sub-microcredit-form.component.html @@ -15,100 +15,101 @@

{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.SUB_HEADING' | trans [value]='item.support_id' name="item.support_id" [checked]="isRadioButtonChecked(item)" [disabled]="isRadioButtonDisable(item)" (click)="onRadioButtonChange(item)"> {{item.payment_id}} - (Completed) - (Unpaid) + ({{'SUPPORT.STATUS.COMPLETED' | translate}}) + ({{'SUPPORT.STATUS.PENDING' | translate}}) -
+ +
+
-

{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.SUB_HEADING_2' | translate }}
- {{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.SUPPORT_ID' | translate }} {{transaction.support_id}}
-

-
-
-
-
{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.INITIAL' | translate }}
-
{{transaction.initial_tokens}}
-
-
-
{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.REDEEMED' | translate }}
-
{{transaction.redeemed_tokens}}
-
-
-
{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.REMAINING' | translate }}
-
{{transaction.possible_tokens}}
+

{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.SUB_HEADING_2' | translate }}
+ {{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.SUPPORT_ID' | translate }} {{transaction.support_id}}
+

+
+
+
+
{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.INITIAL' | translate }}
+
{{transaction.initial_tokens}}
+
+
+
{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.REDEEMED' | translate }}
+
{{transaction.redeemed_tokens}}
+
+
+
{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.REMAINING' | translate }}
+
{{transaction.possible_tokens}}
+
-
-
+
-
-

{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.SUB_HEADING_3' | translate }}

-
-
-
- {{tran.createdAt | date}} -
-
- - {{tran.tokens}} {{ 'HISTORY.TOKENS' | translate }} - -
-
- - {{ (tran.type==='ReceiveFund') ? ('HISTORY.PAID' | translate) : ('HISTORY.UNPAID' | translate) }} - +
+

{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.SUB_HEADING_3' | translate }}

+
+
+
+ {{tran.createdAt | date}} +
+
+ + {{tran.tokens}} {{ 'HISTORY.TOKENS' | translate }} + +
+
+ + {{ (tran.type==='ReceiveFund') ? ('HISTORY.PAID' | translate) : ('HISTORY.UNPAID' | translate) }} + +
- -
-
-
{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.FORM_TITLE' | translate }}
- -
+
+
{{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.FORM_TITLE' | translate }}
- -
- -
- -
- {{ 'FORM.VALIDATION.REQUIRED_FIELD' | translate }} - {{ 'FORM.VALIDATION.MIN_VALUE_FIELD' | translate }} - {{ '1' }} - {{ 'FORM.VALIDATION.MAX_VALUE_FIELD' | translate }} - {{ transaction.possible_tokens }} - {{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.FORM_HINT' | translate }} + + + + +
+ +
+
- + {{ + 'FORM.VALIDATION.REQUIRED_FIELD' | translate }} + {{ 'FORM.VALIDATION.MIN_VALUE_FIELD' + | translate }} + {{ '1' }} + {{ 'FORM.VALIDATION.MAX_VALUE_FIELD' + | translate }} + {{ transaction.possible_tokens }} + {{ 'PARTNER.WIZARD.SUB_MICROCREDIT_FORM.FORM_HINT' | translate }} +
+ - - + + -
- +
+ - - - - + + + + -
-
+
\ No newline at end of file diff --git a/src/app/user-menu/settings/account-settings/account-settings.component.html b/src/app/user-menu/settings/account-settings/account-settings.component.html index 52b5da73..660dd3d6 100644 --- a/src/app/user-menu/settings/account-settings/account-settings.component.html +++ b/src/app/user-menu/settings/account-settings/account-settings.component.html @@ -2,7 +2,7 @@

{{ 'SETTINGS.ACCOUNT' | translate }}

-
+
@@ -49,4 +49,4 @@
- + \ No newline at end of file diff --git a/src/app/user-menu/settings/account-settings/account-settings.component.scss b/src/app/user-menu/settings/account-settings/account-settings.component.scss index aa8d606d..af4db5be 100644 --- a/src/app/user-menu/settings/account-settings/account-settings.component.scss +++ b/src/app/user-menu/settings/account-settings/account-settings.component.scss @@ -1,4 +1,5 @@ @import "../settings.component.scss"; +@import "../../../../variables.scss"; // @import "../../../../variables.scss"; diff --git a/src/app/user-menu/settings/change-password/change-password.component.html b/src/app/user-menu/settings/change-password/change-password.component.html index 00394b1b..5f0659db 100644 --- a/src/app/user-menu/settings/change-password/change-password.component.html +++ b/src/app/user-menu/settings/change-password/change-password.component.html @@ -2,7 +2,7 @@

{{ 'SETTINGS.CHANGE_PASSWORD' | translate }}

- +
@@ -98,4 +98,4 @@

{{ 'SETTINGS.CHANGE_PASSWORD' | translate }}

-
+
\ No newline at end of file diff --git a/src/app/user-menu/settings/invitation/invitation.component.html b/src/app/user-menu/settings/invitation/invitation.component.html index 3b828440..973a7b56 100644 --- a/src/app/user-menu/settings/invitation/invitation.component.html +++ b/src/app/user-menu/settings/invitation/invitation.component.html @@ -2,7 +2,7 @@

{{ 'SETTINGS.INVITATION' | translate }}

-
+
diff --git a/src/app/user-menu/settings/partner-payments/partner-payments.component.html b/src/app/user-menu/settings/partner-payments/partner-payments.component.html index cac14471..e5fd3037 100644 --- a/src/app/user-menu/settings/partner-payments/partner-payments.component.html +++ b/src/app/user-menu/settings/partner-payments/partner-payments.component.html @@ -2,7 +2,7 @@

{{ 'SETTINGS.SUBMENU.PAYMENTS' | translate }}

- +
@@ -28,4 +28,4 @@

{{ 'SETTINGS.SUBMENU.PAYMENTS' | translate }}

-
+
\ No newline at end of file diff --git a/src/app/user-menu/settings/personal-information/personal-information.component.html b/src/app/user-menu/settings/personal-information/personal-information.component.html index 13575388..bfa2bf6c 100644 --- a/src/app/user-menu/settings/personal-information/personal-information.component.html +++ b/src/app/user-menu/settings/personal-information/personal-information.component.html @@ -5,7 +5,7 @@

{{ 'SETTINGS.PERSONAL_INFO' | translate }}

-
+
{{ 'FIELDS.PROFILE.SUBSECTIONS.BASIC' | translate }}
@@ -60,6 +60,7 @@

{{ 'SETTINGS.PERSONAL_INFO' | translate }}

+
@@ -82,11 +83,6 @@

{{ 'SETTINGS.PERSONAL_INFO' | translate }}

-
-
-
-
-
@@ -111,37 +107,14 @@

{{ 'SETTINGS.PERSONAL_INFO' | translate }}

-
+
- -
+
@@ -324,9 +297,9 @@

{{ 'SETTINGS.PERSONAL_INFO' | translate }}

- +
- + {{ 'FIELDS.PROFILE.PHONE.TITLE' | translate }} @@ -344,7 +317,7 @@

{{ 'SETTINGS.PERSONAL_INFO' | translate }}

- +
@@ -557,4 +530,4 @@

{{ 'SETTINGS.PERSONAL_INFO' | translate }}

-
+
\ No newline at end of file diff --git a/src/app/user-menu/settings/personal-information/personal-information.component.scss b/src/app/user-menu/settings/personal-information/personal-information.component.scss index 7b0233e0..7cc3085a 100644 --- a/src/app/user-menu/settings/personal-information/personal-information.component.scss +++ b/src/app/user-menu/settings/personal-information/personal-information.component.scss @@ -1,5 +1,6 @@ -@import "../../../../variables.scss"; + @import "../../../../variables.scss"; @import "../settings.component.scss"; + // @import "../../../../variables.scss"; // .form { diff --git a/src/app/user-menu/settings/settings.component.scss b/src/app/user-menu/settings/settings.component.scss index b4e4605e..3fe58939 100644 --- a/src/app/user-menu/settings/settings.component.scss +++ b/src/app/user-menu/settings/settings.component.scss @@ -17,31 +17,4 @@ label { background-color: #eee; border-radius: 4px; } -} - -.form { - margin-bottom: 1.5rem; - - .form-group { - padding-left: 30px; - padding-right: 30px; - margin-bottom: 1.5rem; - - .payment { - margin-bottom: 1.5rem; - } - } - - .form-actions { - margin-top: 20px; - button { - float: right; - font-size: 18px; - padding: 4px 22px; - } - } - - mat-form-field { - width: 100%; - } -} +} \ No newline at end of file diff --git a/src/assets/scss/config_assets.scss b/src/assets/scss/config_assets.scss index 9d134167..4751abac 100644 --- a/src/assets/scss/config_assets.scss +++ b/src/assets/scss/config_assets.scss @@ -276,17 +276,17 @@ th .mat-sort-header-sorted { //2.4 Forms .single-form { - .mat-form-field { - display: block; - max-width: 400px; - //max-width: 100%; + .mat-form-field { + display: block; + max-width: 400px; + //max-width: 100%; - //margin-bottom: 40px; + //margin-bottom: 40px; .mat-form-field-flex { background-color: #f8f6f6; padding: 10px; } - } + } .payment { width: 50%; @@ -404,6 +404,71 @@ th .mat-sort-header-sorted { } } +.profile-form { + margin-bottom: 1.5rem; + + .form-group { + padding-left: 30px; + padding-right: 30px; + margin-bottom: 1.5rem; + + .payment { + margin-bottom: 1.5rem; + } + } + + .form-actions { + margin-top: 20px; + button { + float: right; + font-size: 18px; + padding: 4px 22px; + } + } + + .upload-img { + &-holder { + max-width: 250px; + margin-bottom: 15px; + } + + &-container { + position: relative; + display: inline-block; + } + + &-btn { + margin-bottom: 10px; + } + + .image-cancel { + position: absolute; + top: -6px; + right: -6px; + font-size: 24px; + width: 20px; + height: 20px; + background: #fff; + border-radius: 50%; + + span { + position: relative; + top: -10px; + right: 5px; + font-size: 28px; + cursor: pointer; + } + } + } + + mat-form-field { + width: 100%; + padding: 10px; + } + +} + + .single-delete { float: right; diff --git a/tsconfig.base.json b/tsconfig.base.json index ee34d044..1c3dd102 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -23,4 +23,4 @@ "fullTemplateTypeCheck": true, "strictInjectionParameters": true } -} +} \ No newline at end of file