summaryrefslogtreecommitdiff
path: root/src/views/Configuration/DateTimeSettings
AgeCommit message (Collapse)AuthorFilesLines
2020-12-09Fix loading property importYoshie Muranaka1-4/+2
Imported loading from wrong mixin with commit https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/38917 This will fix warning: "export 'loading' was not found in '@/components/Mixins/LocalTimezoneLabelMixin' Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I10869d605f70bde0b4cdcb970c96357f9a5da87a
2020-12-09Fix loading hangYoshie Muranaka1-1/+4
Import and add loading property to pages that are disabling forms based on LoadingBarMixin loading property. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1669bff2572422327566a3afe023633eb0b729f4
2020-11-25Add datepicker labelDixsie Wolmers1-1/+3
Span with sr-only class added to date picker button to implicity add label. The bootstrap vue datepicker component does not have an accessibility prop for the button inside the datepicker wrapper. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I6fd3e55b865343769d6c0a179ae4c5d8c1038ffb
2020-11-13Align button iconsDixsie Wolmers1-8/+5
- Fixes button icon and text alignment - App header buttons to be addressed separately - Button documentation will be addressed in separate commit - Aligns form input buttons: datepicker, clear search, and password toggle - Moves title from icon to button for icon only buttons - Aligns validation icon with form input buttons Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie28d7d7dd7303ab6bf1897d1fa569e1580cc2f9d
2020-11-03Update linting packages to use latestDerick Montague1-27/+27
- 99% of changes were small syntax changes that were changed by the lint command. There were a couple of small manual changes to meet the property order patterns established as part of the vue:recommended guidelines. There are rules that were set from errors to warnings and new stories are being opened to address those issues. Testing: - Successfully ran npm run serve - Successfully ran npm run lint - Verified functionality works as expected, e.g. success and failure use cases - Resolved any JavaScript errors thrown to the console Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie082f31c73ccbe8a60afa8f88a9ef6dbf33d9fd2
2020-10-07Add new style guide to global button styleSurenNeware1-2/+1
- Updated new style guide for Primary, Secondary and Link button variants - Changed box-shadow style from outer to inside on focus and active state - Updated font weight from bold to regular for normal buttons and font weight bold for link button. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I38ca94baa9daec3fd03b830fc7b6d676fcce15b0
2020-09-17Auto fill date and time input fields in DateTimeSetting pageSukanya Pandey1-0/+8
-Under manual date and time input field will be auto populated with defalut date and time. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I62dcfe9ad37193d2ab6dfab1aea14eefb595ff37
2020-09-09Add title attribute to all icon only buttonsDixsie Wolmers1-1/+4
- Title attribute allows action text to be displayed on hover - Carets in hardware status table will be addressed in a separate commit as part of Hardware status accessibility updates Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I58a85b6d244d1125f0b43c22d0bb456a36815097
2020-08-18Add form input field validation iconsDixsie Wolmers1-9/+1
Updates form validation to match updated style guide: - Datepicker and password toggle form field padding adjusted to accomodate validation icons - Valid form validation icon is hidden - Adds carbon icons and enables validation icons in IBM environment Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I7edff1e9527ad2c2cfec236daacb83ad4864d785
2020-08-08Remove bug in date and time settings pageSukanya Pandey1-1/+3
-In UTC preference the month was getting added by +1 and this code will resolve the issue. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I835f62b4151e7429e31d07ff3933f46242e08ec3
2020-08-07Update Date and Time Settings to include UTC/offset labelDixsie Wolmers1-5/+22
Label updates allow the user to easily understand the expectation for entering time by using specific label text for "24 hour time" and removing parenthesis from the helper text as parenthesis are not needed to in the input field. UTC/offset is displayed based on user preference. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I41f98d9d16f0a4a81af39ce9b25768a1c0b89f08
2020-08-04Remove time bug from date and time settings pageSukanya Pandey1-3/+27
-Bug is while setting the UTC time, UTC time is getting saved with offset as per the timezone. -After this commit the UTC time will be saved as UTC time with no offset. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I4731cb1f8e3daae3801059e1653d059c51c26f7d
2020-07-30Delete helpers import on DateTimeSettings SFCYoshie Muranaka1-2/+0
Importing helper Sass files is no longer necessary in SFCs because it is included by the sass loader. It could potentially also cause issues with theming if it is included because SFC styles would override the env partial. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie865c63bdf9a10480242177b4dabe0895edc79f1
2020-07-29Disable elements on page during loadingMateusz Gapski1-8/+12
Pages: Network settings, Date and time, LDAP, Manage power usage More details: https://github.com/openbmc/webui-vue/issues/15 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I02c5aaff180a4ce445b7135403a169a8db3704da
2020-07-21Add test hooks to date time settingsSukanya Pandey1-1/+12
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ia2caddb61fa42024812cf15b9834ef6cff478193
2020-07-21Fix validation on date and time settings pageDixsie Wolmers1-1/+1
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Id1770eee060acbf9672439201f089c873cfe9cc9
2020-07-20Bug fix: Add timeout when setting Manual date & timeDixsie Wolmers1-0/+3
When time mode is initially set to Manual from NTP, the NTP service is disabled. In this process, the NTP service is stopping but not fully stopped therefore setting date/time will return an error. There are no responses from backend to notify when NTP is fully stopped. To work around, a timeout is set to allow NTP to fully stop. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I8873722a72a955c355114567e56205aff7819931
2020-07-10Add date and time settingsDixsie Wolmers2-0/+354
Adds ablity to change date and time manually, or configure using NTP servers. - If NTP is selected, user is required to enter at least one NTP address - Date and time are ISO formatted Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I0d67c80487fdd815eacc3539ccd702b23618260e