Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(soffit-form): submit form #693

Merged
merged 26 commits into from
Jan 22, 2023
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
00e51eb
feat(soffit-pwa): page form
njfamirm Jan 19, 2023
71e788c
feat(soffit-pwa): lottery code registration form
njfamirm Jan 19, 2023
767bda7
feat(soffit-pwa): button style
njfamirm Jan 19, 2023
6ca313b
feat(soffit-pwa): activityType on page form
njfamirm Jan 19, 2023
f278802
feat(soffit-pwa): improve form styles
njfamirm Jan 19, 2023
4bc52af
fix(soffit-pwa): page form styles
njfamirm Jan 20, 2023
dc20082
feat(soffit-form): submit form
njfamirm Jan 20, 2023
aa3b294
feat(soffit-form): load api server info from config file
njfamirm Jan 20, 2023
40ce349
refactor(soffit-pwa): send form to server
njfamirm Jan 22, 2023
e99f2e5
refactor(soffit-pwa): remove process from config!
njfamirm Jan 22, 2023
af3acd7
refactor(soffit-pwa): renderRoot for select input
njfamirm Jan 22, 2023
f0d61f8
fix(soffit-pwa): app config and temp service worker
alimd Jan 22, 2023
4894547
fix(pwa): add blank service-worker.js for debug
alimd Jan 22, 2023
e78fc58
feat(soffit-pwa): load config
alimd Jan 22, 2023
405a0e7
fix(text-field): elevation bug
alimd Jan 22, 2023
61903f8
feat(pwa/esbuild): pretty mode
alimd Jan 22, 2023
3d0f8d5
feat(soffit-pwa): componentize fieldset
njfamirm Jan 22, 2023
de06e45
feat(ui-kit/text-field): value prop
alimd Jan 22, 2023
60413d1
fix(soffit-pwa): remove submit at firstUpdated
njfamirm Jan 22, 2023
be84c63
refactor(soffit-pwa): radio-group
alimd Jan 22, 2023
fdbc609
feat(soffit-pwa): radio-group value
alimd Jan 22, 2023
5723c6a
feat(surface,icon-box): disabled animation
alimd Jan 22, 2023
37d9803
feat(fields): name property
alimd Jan 22, 2023
1a81dcc
feat(soffit-pwa): form data gathering and submit process
alimd Jan 22, 2023
9294c58
fix(soffit-pwa): build issue
alimd Jan 22, 2023
f050d6d
feat(soffit/lottery-box): success color
alimd Jan 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat(soffit/lottery-box): success color
  • Loading branch information
alimd committed Jan 22, 2023
commit f050d6de7d39f29bec487d750b5f1e7b71702c21
6 changes: 5 additions & 1 deletion uniquely/soffit-pwa/src/lottery-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export class AlwatrLotteryBox extends AlwatrSmartElement {
:host {
display: block;
}

.success {
color: var(--sys-color-primary);
}
`;

@state()
Expand Down Expand Up @@ -51,7 +55,7 @@ export class AlwatrLotteryBox extends AlwatrSmartElement {
return html`<alwatr-lottery-form @form-submitted=${this._formSubmitted}></alwatr-lottery-form>`;
}
else if (this.submitted) {
return html`اطلاعات شما با موفقیت ذخیره شد.`;
return html`<span class="success">اطلاعات شما با موفقیت ذخیره شد.</span>`;
}
else {
return html`فرم شرکت در قرعه‌کشی میدکس`;
Expand Down