summaryrefslogtreecommitdiff
path: root/src/env
AgeCommit message (Collapse)AuthorFilesLines
2020-12-09Fix loading hangYoshie Muranaka1-1/+2
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-12-01Hide LDAP tab on Intel environmentMichalX Szopinski3-1/+371
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I18c5df56a857733adebec57f0fba68590dcb11f8
2020-11-05Fix property order to meet linting rulesDerick Montague1-5/+5
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I4436cc0d5dc5da934a4bf1b0679a91ab3854a9c6
2020-11-03Update linting packages to use latestDerick Montague5-135/+135
- 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-30Remove Virtual Media from IBM buildYoshie Muranaka3-14/+2
Removes Virtual Media from app navigation, router definition, and unregisters the store module. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0e3ab2a6cb28b9923efbeb6b2c212b0a09d263a9
2020-10-30Add two file firmware updateYoshie Muranaka3-10/+13
Adds the ability to upload separate Host and BMC firmware images through the GUI. By default, the two file firmware update page will be shown. Changes to the .env configurations will enable the single file upload page. The IBM env is configured to allow single file firmware update. Two file upload features: - File upload through local workstation or tftp server - Reboot from backup BMC image - Does not have ability to reboot from backup host image - Does not implement checks in GUI for host status, which is the same as what we have in phosphor-webui Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ibf2a2d9ffc3952dd5a5454c723350c61d9f91c3e
2020-10-26Make copy of single file firmware uploadYoshie Muranaka7-15/+844
Make a copy of single file firmware upload component and store in env directory. Update IBM router to use copied single file firmware components. Update IBM store module to use copied single file firmware store. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I046ce6c69a02b90400058866295b84c5435f5a4b
2020-10-20Update theme customizationDerick Montague1-116/+0
- Move the env.md from /env directory to be displayed in the theming section - Update copy to remove references to downstream changes since changes are made upstream Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I5ed3c62a9534c071b6dbd7f69ed35d457353a628
2020-10-14Add custom IBM progress loading barDixsie Wolmers1-1/+32
- Current out of the box bootstrap did not meet IBM style guide - Custom gradient and animation added to loading bar to indicate progress Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I9d12c1709e7e344545a7ecfd211db0507fd40794
2020-09-25Make customizations to IBM routerYoshie Muranaka1-1/+13
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-25Create separate file for Vue Router routesYoshie Muranaka3-44/+13
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-17Update config to enable custom app navigationYoshie Muranaka2-0/+152
- 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-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-01Add env variable check to improve build customizationsYoshie Muranaka1-9/+12
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-08-28Add Intel themeMateusz Gapski4-0/+51
Add Intel fonts, colours Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Idbfa1422f2667515efb60e24f9a84b7d77d11fcd
2020-08-18Add form input field validation iconsDixsie Wolmers1-0/+5
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-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-07-31Change openpower env files to ibmYoshie Muranaka3-0/+0
- 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 Muranaka1-58/+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-28Add documentation for env themingYoshie Muranaka1-8/+29
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I55d3ad755cb897918bb57059334e952ce7829c53
2020-07-27Add ability to customize theme stylesYoshie Muranaka8-0/+57
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-22Intel environmentMateusz Gapski2-0/+13
add environment for Intel add logo as a placeholder Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Iad1ef66ef73e7f9e0857122cc29729543cbf6682
2020-04-25Add webpack config for env specific buildsYoshie Muranaka3-0/+176
Add documentation and example files to make environment specific build modifications. - Store any env specific router and store modules in separate env directory Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I06ff3cb0928707354266dd25b399710847e7fa18