summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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>
2020-07-30Immediate Reboot: Move to ForceRestartGunnar Mills1-5/+2
ResetType ForceRestart was recently added. Use it for immediate reboot. This allows the GUI to make only one call. Change-Id: I2a5f59d651c0e17cb6c3655e0e93250a031f89c2 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2020-07-29Disable elements on page during loadingMateusz Gapski5-498/+519
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-29Fix WebSocket errorYoshie Muranaka1-4/+0
Removing .on() function because it is not a valid method and is causing errors: Uncaught TypeError: ws.on is not a function The onerror event listener is already logging the error. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I6ccfa9a3a6beba93668b8c209b59560f4bf7b4bc
2020-07-28Fix login layout logo alt text valueYoshie Muranaka1-1/+1
Update Login page logo alt text to use VUE_APP_COMPANY_NAME. VUE_APP_COMPANY_NAME is already being used for the logo in the application header. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I4ab901a705052cd9e7abac4e8db52532c1d18ef5
2020-07-28Add the possibility to disable subscribe socketMateusz Gapski2-0/+8
Intel does not support subscribe socket yet. I don't want to try to connect with this socket becuase it crashes entire app in development mode. Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I09d66474480dcb37393ecff5d46c4ee0e9052f99
2020-07-28Add test hooks to server LED pageSurenNeware1-0/+1
-Added test id to switch component. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I86f7f6d24f2ec70623d9c537755f5760052046cd
2020-07-28Add documentation for env themingYoshie Muranaka1-8/+29
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I55d3ad755cb897918bb57059334e952ce7829c53
2020-07-28Update Interface colorsDixsie Wolmers2-3/+2
Components affected by style guide gray pallete changes were updated from gray200 to gray100. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib5b2cca55f2c7d1d6be49e8e64a10db6ef5e4524
2020-07-28Update form fields to match style guideDixsie Wolmers3-21/+63
Updates inputs, select, form field background color, validation text size, and field focus state. New styles have a darker form field background color. Form fields on dark backgrounds will remain white. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ifa14a57f764335b196b129e6614d7a1f1c27d7ad
2020-07-28Add timezone to profile settings pageSukanya Pandey6-35/+134
- Users will have two options to select a timezone. - UTC and browser offset timezone are the two options for the application. - date-fns and date-fns-tz is used for date and time manipulations because:- - The package size of library is smaller. - It allows for importing functions to work with the native date object rather than having to create a moment instance that carries a larger payload. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I581803f230f501c0d34d0b53e7c2d89e8466ee60
2020-07-27Add code to refactor the server LED componentSurenNeware1-10/+20
-Resolved issue with toast notification appearing on page load. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I03e76951bf9e4f92eb6a6a6fcffa09ef1be2f811
2020-07-27Change file input languageMateusz Gapski2-1/+8
If my browser has Polish language then file input has Polish language too. However I would expect English language like whole app. More details: https://github.com/openbmc/webui-vue/issues/20 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I20119fdd29686e1a4e6bed9ddd78a0e559afc694
2020-07-27Add extra margin to bottom of navigationYoshie Muranaka1-1/+1
Adding extra spacing between the last navigation item and the edge of the browser screen. The extra space makes the last item easier to view and click, on shorter screens or when all menu items are expanded. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1776c8aa419480c568533baa92e60cc7d8a68bb0
2020-07-27Add application header test hooksDerick Montague1-8/+29
We are not able to easily pass the data attribute to the markup created by some of the Bootstrap-vue components. In these cases we are adding the data attribute to the parent container. Those elements will use the word container in the data attribute value. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I5f1cb43aaed9233415e9b7b9a7f71580f27f921d
2020-07-27Add ability to customize theme stylesYoshie Muranaka27-39/+90
Showcases how different themes/styles can be supported using .env variables. If an environemnt name is specified during the build process, an overrides file will be pulled in to allow modifications to color and font definitions. This commit includes possible style modifications with the openpower env name as an example. To see the openpower changes, add the variable definition VUE_APP_NAME="openpower" to your .env.development.local file or build using 'npm run build -- --mode openpower' - Moves helper imports into vue config to allow for specific import order - Removed helper imports in SFCs Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iaf7a59c24fda06a7b74e23f2f042fb3300cb2056
2020-07-24Use proper casing for data-test-id valuesDerick Montague1-9/+9
- Used hyphenated words instead of camelCase to represent multiple words Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I66a18adb3b00f642861201b353f9c0051cea4bb7
2020-07-24Change name of menu elementsMateusz Gapski1-2/+2
Convention is lower case for second word. 'SSL certifcates' and 'Access control' name was fixed Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I967e4e29af0be23dd65e2058c205d38859d8b91a
2020-07-24Hide status icon if severity is emptyMateusz Gapski1-1/+1
Status icon was hidden if severity is empty on events log page More details: https://github.com/openbmc/webui-vue/issues/16 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I905b30dfbb71bed8a0874e9fb38ff40c301477e9
2020-07-24Add test hooks to LDAP pageSurenNeware1-1/+13
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I50a7e84b27a1fd1c1211d708213c48537750d580
2020-07-24Add test hooks to SSL certificate pageSurenNeware2-1/+19
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ieb04df80fedd98ed83297916f99d355cb241041f
2020-07-24Add test hooks to primary navigationDerick Montague1-21/+82
The button elements will be labeled using the word button. The data attribute for the anchor elements will be added to the parent container and will use the word container in the data attribute value. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I7967b3ac659b1363a07b7686b874cf044a1a48ad
2020-07-24Add table responsive layout and fix search icon visibilitySurenNeware15-25/+35
-Add responsive layout for all the tables. -Fix search icon visibility in search component. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ibb4f77cf322aeb3699b13ab6cbbdb6cc38efbdc4
2020-07-23Update global typographyDixsie Wolmers6-11/+47
Updated the following body, label, and heading styles to match new style guide: - Font sizes - Font weight - Line height - Color Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I014c968f6542b697fec8c3b9af781e64ac10794d
2020-07-23Overlapping search box and toolbar with selected rowsMateusz Gapski1-0/+1
More details: https://github.com/openbmc/webui-vue/issues/19 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I6c84f979baa1d381c8ae62781a2607d3de63169a
2020-07-23Resolve npm package vulnerabilitiesDerick Montague2-469/+172
- Ran npm audit fix and resolved all high priority security vulnerabilities. - One low risk vulnerability remains. This is a yargs package that may require updating other packages. - Lodash required an update since it was a high servirity issue that was exposed in the application's functionality beyond the build script and tools Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: If67fe5939c6ab69767bdc046168985078a19aa30
2020-07-23Add the updated icons for critical and exportSukanya Pandey2-3/+4
-the critical icon in the header and tables. -the export icon in the event log page. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I5b3beedb8339ba6e6bbd34b43ea7698fc44f9e42