summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-09-30Resolve broken unit testsDerick Montague3-171/+320
- Refactor broke snapshots and the logout functionality test Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I31932b0553a8ca9e6e2a38235b7769fab2061ba6
2020-09-29Fix responsiveness of KVMMateusz Gapski4-48/+126
More info: https://github.com/openbmc/webui-vue/issues/24 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I150e7816ea08f462300566276ddbfc117e9f2e0c
2020-09-28Fix duplicate nav itemYoshie Muranaka1-1/+1
There are two "Configuration" nav items in the primary app nav. Changed the second one to "Access control" Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5de41892ec3f675c7cb98b1600d77f0342723d57
2020-09-28Fix error on Hardware status pageYoshie Muranaka1-1/+1
Setting default value for processors to an empty array to avoid error "TypeError: Cannot read property 'length' of null" caused when attempting to calculate the total table count on initial load. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I2e3af184f7f7649bed96cd4fd994fb3ee24ff28f
2020-09-27Add icon to the toast componentSurenNeware2-7/+29
- Add status icon to the toast component. - Add a method that return title with associated icon. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iae75e3eec7317af6b25a0ed1bfa4cc72644f7cd7
2020-09-27Remove unused npm packageDerick Montague1-1/+0
- We are not using the chai npm package. It was not removed after moving to Jest Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I13bb8296bfa06a40e855ec3ae43625b668e92cf0
2020-09-25Make customizations to IBM routerYoshie Muranaka2-2/+15
Removes KVM definition from default router. Before this change, the IBM environment build would remove KVM from the app navigation, but users could still access the page by typing in url directly for the KVM page. With this change, the route should no longer be accessible and will redirect to our 404 page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I75439bc9443f9cbabbedf80b1142dd97209f5456
2020-09-25Move translation into routes fileYoshie Muranaka3-28/+30
- Added intial application load document title update with created hook Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I73d18ed4a56bd04601fa7382c2d6c2ec504b03f5
2020-09-25Update toast drop-shadow opacityDixsie Wolmers2-1/+3
- Created sass variable for box shadow to be reused for elements requiring box-shadow - Update toast opacity to 0.3 Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Icfc0a58944fd5fe6d2c677e99564910fc2c67f1f
2020-09-25Create separate file for Vue Router routesYoshie Muranaka7-308/+282
Separating routes into its own JS file to allow for easier env customizations. Update store resolve path to make sure right env stores modules are imported in every file. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5c646c81fab54085198b2e179be80c954258f51c
2020-09-24Add table search filter clear buttonDixsie Wolmers9-35/+81
- Adds ability to quickly clear a table input search field - Uses similar styling to password toggle icon and datepicker - Button style to be addressed in separate commit to match style guide Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I18f2e01c28c00c7e7b2ad1af924070241caf36a5
2020-09-24Add optional fields to LDAP and CSR formDixsie Wolmers3-40/+53
- Optional fields are indicated on the form field label - Asterisks indicating required were removed Verified with design. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I998485f8928c2c976aa49790c19c9ac247d5ed24
2020-09-22Show total and filtered number of items in a tableSukanya Pandey8-19/+156
-The total number of items and the filtered items will be shown in the EventLogs, Sensors and HardwareStatus table. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0ee6410bf675038a350a71a02ec076f9e8baf004
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-17Update config to enable custom app navigationYoshie Muranaka4-1/+162
- Update documentation to include navigation customizations - Created an IBM specific application navigation file to demonstrate how to remove KVM navigation item Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I2ea61e9f3a43e6821f274ed90e0eed18afabccb7
2020-09-16Update style of modal titleDixsie Wolmers1-1/+6
New style guide uses h4 style for modal title Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I440ff224b24de788086a33b5a0df7ad464d22096
2020-09-16Add loading image from external serverMateusz Gapski4-15/+253
Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Ie9793b25fdee0f438d64aafe0978d75025800cb8
2020-09-16Update name of file of exported log filesSurenNeware2-2/+16
- The name of exported event log file would be combination of event logs prefix and current date and time. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iaaf46fed5df1942e9cc2e4157dafa8e3e755ecf8
2020-09-16Remove not needed scroll on sensor pageMateusz Gapski2-1/+7
Details: https://github.com/openbmc/webui-vue/issues/17 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I5c76219db954470dc72231e51ea0f202016d6816
2020-09-15Refactor navigation componentYoshie Muranaka3-169/+180
We are anticipating necessary customizations to the app navigation for different environments. This refactoring will allow for a more programmatic approach. By abstracting the navigation into a JS object we can leverage the Vue mixin to isolate customizations while sharing a standard template and styles. There may be slight changes to data-test-id-* hooks. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0d095acfee29cfdd4ce1094b860d754f45dc6db9
2020-09-11Change overview page critical event sort orderDerick Montague1-1/+1
- Set the table to sort by id rather than date to resolve confusion if date stamps are identical. In this use case, the id column will not be sorted correctly based on limitations in the framework. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I51ad712d34aea7da2a4152dfb695c16b5f94b453
2020-09-09Hide loader on Reboot BMC pageYoshie Muranaka1-0/+4
Added beforeRouteLeave component guard to make sure loader bar is hidden before navigating to a new page. This will make sure that the loading bar always starts from 0, if the user navigates to another page before the inital load completes. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I16e57203123069160575f4c288bdbc5bad44e669
2020-09-09Update event log default sort orderDerick Montague1-1/+1
- Set the default sort order to id descending to handle an edge case created by two logs with the same time stamp and the GUI limitation of sorting by one column only. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib07c9b849e043c401e91db720df92feb850e15dd
2020-09-09Add title attribute to all icon only buttonsDixsie Wolmers4-5/+23
- 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-09-07Change intel themeMateusz Gapski1-13/+21
- Change colours in intel theme - Change colour od switch, radiobuttons and checkboxes Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I701e2157a9abe00f4343b27079e0bbce3464f0bd
2020-09-03Add 404 pageDixsie Wolmers4-44/+71
- User will be redirected to 404 page when navigating to undefined routes Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I5d7bbcfdd279b6f6c993370e3adb39a516dbb1ba
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>