summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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>
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