summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-09-03Update IBM dotenv file to allow style customizationsYoshie Muranaka1-1/+2
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I60a94a3c88e892d4b4e2469464c4790a6d04b9a5
2020-09-02Update router to static Virtual media component importYoshie Muranaka1-1/+2
We have moved away from dynamic imports (lazy loading routes) to static imports to improve build size and create fewer bundles. Virtual media page was done before the decision to update router imports. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I87a0aa7a17c1f4cb6186eefe38bbdbe6c00b0485
2020-09-01Update Intel dotenv file to allow style customizationsYoshie Muranaka1-1/+2
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1798cc276a3b3c889b0e21fb935b95fedfebe44d
2020-09-01Add env variable check to improve build customizationsYoshie Muranaka2-15/+27
Added flags for styles, router, and store. If these flags are set to true, then webpack will attempt to resolve the environment specific files. If these flags are not explicitly set to true, the default files are used. This will give us more flexibility and remove the need to create empty env files (eg env/router/ibm.js). Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I552ad402621a3bbad3e871076a894ecadf9e82c7
2020-09-01Changed switch to checkbox in boot settings formSurenNeware1-5/+2
- On the Server power operations page changed the switch to checkbox since it has save button. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I9def65f11012c535956b875107c28e351754f4e2
2020-09-01Add table search filter empty text translationSurenNeware7-0/+7
- Added custom text message in global translation. - Added custom message for empty table search filter result. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ida25f9f084fb5c0ff8ed287dbe1476b5396801a1
2020-09-01Increase the global margin size for page sectionSurenNeware1-7/+1
- Increase the global margin bottom size to 4rem for the page section. - Kept same size for responsive sizes. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I155006a0ea9a7f6fd947d6daaea4510cadf641db
2020-08-28Add VirtualMedia pageMateusz Gapski10-5/+558
More info: https://github.com/openbmc/webui-vue/issues/7 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I68f2074e77301c68c425f1e661988c751224b713
2020-08-28Add Intel themeMateusz Gapski8-7/+61
Add Intel fonts, colours Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Idbfa1422f2667515efb60e24f9a84b7d77d11fcd
2020-08-28Add info type alert to the messageSurenNeware1-7/+10
- Add info type alert to the message when Server power operation is in progress. - Changed bootstrap b-alert component to our custom alert component to remove bootstrap dependency. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ic1c02f06303969d81f5d35914c45c5d373b73356
2020-08-28Implement consistent save button patternDixsie Wolmers2-7/+3
- UX audit determined that we will always keep the primary form action (save/submit) enabled Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie340f8deb673463c21149b645d6d5686806ebac9
2020-08-28Update checkboxes to match style guideDixsie Wolmers1-0/+16
- Changes focus, checked and hover state - Changes indeterminate checkbox style Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ic15a1a64d226bc160feea62ff140f38c11c4cca3
2020-08-28Update table filter action button styleSurenNeware1-0/+13
- Update table filter action Clear all button style to Ghost button style. - Now in active state button text became visible. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I3e56482ec9b96328a2460673af9937f30522376d
2020-08-28Fix last power operation time bugDixsie Wolmers1-2/+6
- To display updated time in the UI, `getLastPowerOperationTime` must be dispatched after each async power operation Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie3fc38b55e75532fa703a45d5d598d4f80514f1a
2020-08-26Format date and time in event log tablesDixsie Wolmers2-2/+4
- Adds line break to format date and time in Event Logs and Overview event log table Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib277a88b80115753bc74dc6dd21bf6a49eef101f
2020-08-26Update page section heading to match style guideDixsie Wolmers1-1/+0
- Removes partial border below section heading Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ica98d171c16ebc694e0c8c816a161f94425a33b9
2020-08-25Add link to header logoDixsie Wolmers1-5/+7
- Adds link to app header logo that will redirect to overview Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ia17356ee89d732c30d681754d1c9c26c0ea6481b
2020-08-21Add default empty table stateSurenNeware2-29/+28
-Add empty table state to High priority events table in Overview page and Processors table in Hardware status page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I68b613cc181c2423c9a8769d26f218ff89a0c834
2020-08-21Add last reset time to reboot bmc pageDixsie Wolmers3-5/+47
- Timestamp is displayed to inform user of last power operation Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ia4d95bced701b04f1099d020ee062f06d16ae8dc
2020-08-21Add last reset time to server power operations pageDixsie Wolmers4-17/+65
- Timestamp is displayed to inform user of last power operation Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I14c23ff56b3a0cf134c0ad2d831290971d93e293
2020-08-21Fix reference to undefined property on Firmware pageYoshie Muranaka1-1/+1
Firmware page template is referencing a property that doesn't exist on the component instance. currentFirmwareVersion should be changed to systemFirmwareVersion. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I9e46fead4644ac432e30e67f18b9d9d60e22d555
2020-08-21Remove Vue Router dynamic importYoshie Muranaka1-23/+44
Current implementation uses Vue Router lazy loading routes. https://router.vuejs.org/guide/advanced/lazy-loading.html Lazy loading creates separate js chunks and adds to the total size of the built application. Switching to static imports cuts the total size down and creates fewer js bundles. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5f53daf120cb1e3c4bb182e631ec3cbc8238c4b2
2020-08-21Fix form properties on Firmware pageYoshie Muranaka1-3/+3
File upload properties were added to the wrong form control, moved browser-text, drop-placeholder and placeholder props from tftp input to workstation file-upload component. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0342870b136b2f89da974410444e46dd5dbb28a1
2020-08-19Code update: Fix TFTPGunnar Mills1-1/+4
For TFTP use /redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate https://github.com/openbmc/docs/blob/master/REDFISH-cheatsheet.md Change-Id: I4deb82b16c5b91e15958a2248604a6f6323e5185 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2020-08-19Fix account settings double toast confirmationYoshie Muranaka1-2/+1
Removing extra ok handler for the account policy settings modal on local user management. Currently, saving changes in the modal will trigger two success toasts. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic64529a1860f0b3b47fb87f5ea9d88b1c0d9ff45
2020-08-18Add form input field validation iconsDixsie Wolmers9-19/+43
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-18Add processors to hardware status pageSurenNeware5-3/+230
-Add processors status from given API. -Created seperate table with all available details. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iae4346cd0555a9a7d8ec35c0f56f8bce6c4ab653
2020-08-18Add default or empty table stateSurenNeware12-6/+42
-Add appropriate empty text for the table. -Add common default empty state for all tables. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: If4beabc0b1450718095757bbb0803335ccf83ec5
2020-08-17Fix Sass build errorYoshie Muranaka1-1/+1
Replaced $success-light Sass variable with theme-color-light function. We removed the variable and forgot to update this partial. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: If4422241cae10efdb0e17b31327465ee4d0a6dae
2020-08-17Update use of Sass variable background variant colorsYoshie Muranaka6-27/+17
The hardcoded Sass variable assignments to lighter variant background colors does not work well with the theme-color functions that are used. Use Bootstrap's built in theme-color-level function to programatically get a lighter variant color to use for component backgrounds. https://getbootstrap.com/docs/4.5/getting-started/theming/#functions Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I9d5a1a66c92d347ba1797be5e0810a24c34094f9
2020-08-14Relace node-sass with dart-sassDerick Montague2-621/+10
Vue recommends using dart-sass as it implements updates before node-sass. This should also resolve a dependency that node-sass has on Python that is causing issues with the build process. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I71bf86f6f6ea15b866183bc0c00fabc72021238f
2020-08-14Remove date bug in event logs pageSukanya Pandey1-5/+15
- Before this commit the filtering on date for offset timing wasnt working. -After this commit the filtering on date for UTC as well for offset is working as expected. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ib627ce944c269dfe52b2ac4fd5670786ec05bb1f
2020-08-13Add Firmware pageYoshie Muranaka12-12/+676
Adds ability to upload a fimware image by local workstation or TFTP. Also adds ability to reboot BMC from the backup image. - Add route definition, component view, and store for Firmware page - Get ActiveSoftwareImage location at /redfish/v1/Managers/bmc - Get backup by checking for an image id that is not the same as the active image /redfish/v1/UpdateService/FirmwareInventory - Switch running firmware image by making PATCH request to /redfish/v1/Managers/bmc Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I04450e5a170d374122908c4c0349ba3b6e93ed2c
2020-08-12Update server power operations viewable actionsYoshie Muranaka1-4/+1
The server power operations page should show power operations if the server is in an error state. This update will make sure options are visible as long as the status is not 'off' or an operation is in progress. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I8d1211bd1ccaa8b5ec69a0dda4556eb97fc40e91
2020-08-12Add info icon for informational alertSurenNeware3-6/+28
-Add new style carbon icon for informational alert -Change alert icon position from center to top Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: If32d712db16472ce9a78e04e5871d0b799bb5895
2020-08-12Add secondary variant to cancel buttonSurenNeware1-15/+1
-Update cancel button in table toolbar to match updates in style guide. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I43554a405259931c5e9187968464d286bfe811c7
2020-08-11Update .env documentaionYoshie Muranaka1-12/+11
Remove theme-colors map example from documentation since this is a pattern we want to avoid. Updates to change "openpower" reference to "ibm" Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1715508c91853c35a4169d3fd27ee2f9021eb444
2020-08-10Update IBM .env stylesYoshie Muranaka1-17/+9
Removed Sass theme-color map. With Bootstrap's use of the !default and env import order, these variable assignments are all that is needed to leverage built-in color/theme maps. Also removed IBM gray palette since gray overrides were causing unwanted color changes in the form controls. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iea0af2fe7cbc8ac365c2ec440bca63c60b10e527
2020-08-10Remove Sass color mapsYoshie Muranaka1-23/+0
Sass maps are not needed to create color or theme tokens. With Bootstrap's use of the !default flag, only unassigned variables will default to Bootstrap defined colors. Sass variable assignements are sufficient for overriding colors. https://sass-lang.com/documentation/variables#default-values Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: If69f712602d3c46747a68fd70319a20ef8002bd6
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 Wolmers4-13/+49
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-08-04Remove unnecessary style block from overview pageSurenNeware1-7/+4
- Remove text-transform from Overview Network style block. - This commit will not change the original state of value getting from backend by text transform. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I91db237cc0753e2dc477b2d324d745ea1e387c2b
2020-07-31Fix vuepress dependency issueDerick Montague2-3300/+2338
Running vuepress locally was failing due to a missing module. This issue was created by a recent upgrade made using npm audit fix to resolve some npm module security issues. The issue was resolved by deleting the package-lock.json and rebuilding on an npm install. I updated vuepress since there was a minor version change. TESTING I was able to run the docs locally and docs are rendering as expected. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: If59c52a7a13b03e910c7c2b9969bef43d5808de8
2020-07-31Change openpower env files to ibmYoshie Muranaka5-2/+3
- Adds VUE_APP_COMPANY_NAME value that is used for logo alt text - Update VUE_APP_ENV_NAME to ibm since this will need to match the env filenames Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie5b9fc3bedacb493939900a1de77a3a8a1f181c5
2020-07-31Remove envConstants.js fileYoshie Muranaka2-63/+0
Removing because current implementations are not using this file but directly referencing process.env.VUE_APP_* value instead. Also removing reference to this file in the env documentation along with the conditional template rendering section. The conditional template pattern is something that should be avoided and currently researching ways to dynamically generate navigation items so we can avoid this pattern. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Icbb92c423dac2b9b353c3701c330c3b9bfb00d7a
2020-07-30Delete _helpers.scss partialYoshie Muranaka1-3/+0
SFCs no longer require this _helpers partial since they are included by sass loader. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ib6400085f05a195d0140691c69323dbb82e00fc3
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-30Add test hooks to profile settings pageSukanya Pandey1-1/+9
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I99d6fbb97de18ca74f520f3ab2ea2fc7374fa5e6
2020-07-30README: Update to stronger recommend webui-vueGunnar Mills1-5/+3
webui-vue is nearing feature parity. Update the list of outstanding features and no longer recommend phosphor-webui. Change-Id: I0d1f0de74626c22db4924ca2a75e8dbd3aed9423 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>