-
Notifications
You must be signed in to change notification settings - Fork 0
Forms and Layouts (#998) #1157
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
Draft
kyberorg
wants to merge
70
commits into
trunk
Choose a base branch
from
998-form-layout
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Forms and Layouts (#998) #1157
Changes from all commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
5d062fb
Login Page (#998)
1c4daa4
Login Page. CSSex (#998)
1352448
Login Page. CSSex 2 (#998)
33be3a5
Login Page. CSSex 3 (#998)
928bcab
ForgotPasswordPage (#998)
7859c1d
ForgotPasswordPage 2 (#998)
5e06a01
ForgotPasswordPage 3 (#998)
8d7d2f5
RegistrationPage (#998)
5f2f726
TermsOfServicePage (#998)
2176b77
CSS (#998)
cd14eec
New stuff (#998)
6087dee
Tooltip test (#998)
3086d28
RegistrationPage (#998)
a92b095
RegistrationPage. Magic (#998)
1425be7
RegistrationPage. Magic 2 (#998)
d419465
RegistrationPage. Magic 3 (#998)
75105d8
RegistrationPage. Magic 4 (#998)
34921b6
RegistrationPage. PasswordGenerator (#998)
cb2be02
RegistrationPage. PasswordGenerator. CSS (#998)
2c4a3ee
RegistrationPage. PasswordGenerator. CSS 2 (#998)
a495f7a
LoginPage. Easy login for Dev and ProfilePage [WIP] (#998)
57ec50c
LoginPage. Easy login for Dev and ProfilePage (#998)
62ab4cb
ProfilePage, OTP [WIP] and ConfirmAccountPage (#998)
b77b1a5
Improvements (#998)
9dc9c1c
ProfilePage: Tabs and Telegram Stuff (#998)
8e95c75
ProfilePage: Tabs and Telegram Stuff. Fix (#998)
f177a83
ProfilePage: Tabs and Telegram Stuff. Fix pack (#998)
972a12c
ProfilePage: 2FA state [WIP] (#998)
025a123
ProfilePage: 2FA state (#998)
0c400f7
ProfilePage: 2FA state - no save button (#998)
332bd9d
Merge branch 'trunk' into 998-form-layout
cb1eec9
Actions after login (#998)
3d8f78c
ProfilePage: SettingsTab created, SecurityTab updated (#998)
5db4320
ProfilePage: Sections (#998)
25b3c96
ProfilePage: Sections for SettingsTab as well (#998)
83409c2
ProfilePage: FlexLayout (#998)
d0d42a1
ProfilePage: SettingsTab (#998)
9d85c08
ProfilePage: SettingsTab. Fix (#998)
5682167
ProfilePage: DangerZoneTab draft (#998)
f0fccac
ProfilePage: CSSex (#998)
677a7cb
ProfilePage: Painting Buttons (#998)
4b5eb0c
ProfilePage: too much red (#998)
c3f4adc
ConfirmAccountPage (#998)
e119aed
Redirect stuff (#998)
890cec9
More CSS Stuff (#998)
01fc58e
LoginPage. Validation (#998)
cf96c51
RegistrationPage. Validation (#998)
4b498a8
Notification updates (#998)
656dc17
Notification updates 2 (#998)
a1f9a39
DangerZone is done (#998)
810d140
ProfileTab (#998)
b1f1567
ProfileTab. Css stuff (#998)
ce5e322
ProfileTab. Email suffix (#998)
e1ccf63
ProfileTab. Email bug fixed (#998)
3577ff7
SecurityTab. Password update validation (#998)
3ceb975
PasswordGenerator. Notification (#998)
41f90a5
Code fixes (#998)
kyberorg 9563458
Code fixes 2 (#998)
kyberorg eabcf0d
New confirmation token ident generation logic (#998)
kyberorg f37eea2
Fixes (#998)
kyberorg d873dda
More fixes (#998)
kyberorg 63969a1
More fixes 2 (#998)
kyberorg ef4a9fb
Update profile_page.css
kyberorg 12db48d
Percentage approach
kyberorg accb8c3
CSS fix (#998)
kyberorg 159c05e
Confirm Account page (#998)
kyberorg 0f1333c
Confirm Account page is ready (#998)
kyberorg 06770f4
Confirm Account page is ready. Removing get() (#998)
kyberorg 34061de
Updating channels as well (#998)
kyberorg ff936c0
Code style (#998)
kyberorg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| .axe-form-title { | ||
| align-self: center; | ||
| } | ||
|
|
||
| .axe-form-subtitle { | ||
| padding-left: 1rem; | ||
| } | ||
| .space-after-submit-button { | ||
| width: 100%; | ||
| } | ||
|
|
||
| .vertically-compact { | ||
| padding-top: 1px; | ||
| padding-bottom: 1px; | ||
| } | ||
|
|
||
| .axe-fields > * { | ||
| min-width: 99%; | ||
| } | ||
|
|
||
| .space-after-fields { | ||
| padding-left: 1rem; | ||
| max-width: 99%; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| html { | ||
| --axe-warning-zone-color: rgb(231 235 239); | ||
| } | ||
|
|
||
| html[theme="dark"] { | ||
| --axe-warning-zone-color: rgb(55 72 95); | ||
| } | ||
|
|
||
| .danger-dialog { | ||
| max-width: min(501px,97%); | ||
| } | ||
|
|
||
| .italic-text { | ||
| font-style: italic; | ||
| } | ||
|
|
||
| .danger-dialog-warning-zone { | ||
| background: var(--axe-warning-zone-color); | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| .result-span { | ||
| padding-left: 1rem; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| .forgot-password-section { | ||
| text-align: center; | ||
| width: 100%; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| .profile-title { | ||
| align-self: center; | ||
| } | ||
|
|
||
| .toggle-with-prefix-postfix { | ||
| margin-right: 0.3rem; | ||
| margin-left: 0.3rem; | ||
| } | ||
|
|
||
| .tab-content { | ||
| padding-left: 0!important; | ||
| padding-right: 0!important; | ||
| } | ||
|
|
||
| @media (max-width: 400px) { | ||
| .fit-in-section { | ||
| width: min-content; | ||
| } | ||
| } | ||
|
|
||
| .telegram-details { | ||
| display: block; | ||
| max-width: min(290px, 100%); | ||
| } | ||
|
|
||
| .telegram-details div { | ||
| margin: 0.5rem; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| .input { | ||
| flex-shrink: 0.3; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .info-button { | ||
| border-radius: 100%; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| package pm.axe.internal; | ||
|
|
||
| import com.vaadin.flow.component.tabs.Tab; | ||
| import pm.axe.db.models.User; | ||
|
|
||
| /** | ||
| * This interface determines, that {@link Tab} has {@link #tabInit(User)} method. | ||
| */ | ||
| public interface HasTabInit { | ||
| /** | ||
| * Method, that should be called at initialization phase. | ||
| * | ||
| * @param user bound {@link User}. Usually stored within current session. | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Current AxeSession |
||
| */ | ||
| void tabInit(User user); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| package pm.axe.mail; | ||
|
|
||
| import com.vaadin.flow.component.icon.VaadinIcon; | ||
| import lombok.Getter; | ||
|
|
||
| public enum EmailConfirmationStatus { | ||
| CONFIRMED(VaadinIcon.CHECK, "Email confirmed"), | ||
| PENDING(VaadinIcon.ELLIPSIS_CIRCLE, "Validation pending..."), | ||
| FAILED(VaadinIcon.FIRE, "Validation failed"), | ||
| NONE(VaadinIcon.COG, "No status defined yet"); | ||
|
|
||
| @Getter | ||
| private final VaadinIcon icon; | ||
| @Getter private final String statusString; | ||
| EmailConfirmationStatus(final VaadinIcon icon, final String statusString) { | ||
| this.icon = icon; | ||
| this.statusString = statusString; | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Toggle with prefix and postfix