summaryrefslogtreecommitdiff
path: root/src/assets
AgeCommit message (Collapse)AuthorFilesLines
2024-04-09Inline class stylesEd Tanous1-13/+11
The characters in the OpenBMC logo use class styles 1 and 6. SVGO for whatever reason chokes on trying to deduplicate these, which causes a template error when inlining the SVG, because style tags still exist. Ideally in the future we would export our SVGs with inline styles, or get SVGO to do it for us, but inline the styles manually for now. Note, that build-on-openbmc-logo.svg has no style tags, and does this by default, even though they are very similar images. Tested: Loaded webui. Logo loads properly. Change-Id: I21c7a24ba49c85559f07fce859d81ed96a40a04f Signed-off-by: Ed Tanous <ed@tanous.net>
2024-04-09Pretty print svg logoEd Tanous1-1/+48
This file was likely exported out of Adobe Illistrator, which has some less than desirable traits. Format the file such that it can be modified. Tested: Whitespace only. UI loads image correctly Change-Id: I8689ff0193f54608391a4c81fa72b16ed21a04be Signed-off-by: Ed Tanous <ed@tanous.net>
2021-09-03Update login page layoutDerick Montague2-0/+13
This update will: - Change the positioning of the form to be on the left - Add the built on OpenBMC logo to the bottom right corner of the screen - Add the ability to include a GUI custom name using a .env variable. If the variable is not present, the login page will not include the <h1> section heading element. - Remove the word "logo" from the alt attribute for the company logo image used in the application header and on the login page. Github story: https://github.com/openbmc/webui-vue/issues/63 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I83ac5aecff0b3858c3ab5f38ab1aaa603d59acf1
2021-06-29Add processors table missing propertiesSandeepa Singh3-0/+5
- Add following missing properties: Name, Spare part number, Model, Processor type, Processor architechure, Version, Health rollup, Asset tag, Min speed MHz, Max speed MHz, Total cores, Total threads, Instruction set, Identify Led - Design of the table has been updated - Waiting for the following to be merged to test the Identify Led: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/37045 Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: If6eeb3b0afea6510f7ea53e2d66cbf1d123b3217
2021-06-29Increase the filter menu marginsSandeepa Singh1-1/+2
This will increase readability of filter menu options, by preventing the wrapping up of long options/labels. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I75199b7608b5aeed067530e374e45750e26bb6eb
2021-06-28Remove <br /> from hardware status tablesDixsie Wolmers1-2/+3
Break tags are not semantic for definition lists. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I1ecbd7100044da4aa7749888faab962e115e2564
2021-02-25Update toast layout to align header elementsDerick Montague1-6/+15
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I2bedab786dc10ee3eb7366a20c6c7e4fb2157e3e
2021-01-08Fix input icon being hidden on input focusDerick Montague1-0/+1
Both the datepicker and password fields have an assoicated icon. When the input element receives focus the associated icons are hidden. This is caused by a z-index issue and was a bug created when fixing another bug that caused the datepicker icon from rendering above the table batch actions toolbar. Both bugs have been resolved with this patchset. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: If923cd5bc6a076b01efa44492f717b78fb6584ca
2021-01-05Add DumpsStore API callsYoshie Muranaka1-1/+1
Ties in API requests to the Dumps page and adds ability to: - Create new System or BMC dump - Delete single or multiple BMC dumps. Uses ClearLog service to delete all and DELETE request for single dump deletion Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iae928fa3b8fab00e549c33c0ab914a4b04de0f40
2021-01-05Fix table date filter calendar icon issueSukanya Pandey1-1/+0
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I3cbb66c56cd7824707107771b034317d95f96014
2020-12-01Fix pixelated toggle elementDerick Montague1-2/+2
On some screens, the toggle element is pixelated due to the border color. When looking at Bootstrap default styles, they use the same color for both the toggle element's background color and border color. This change resolves the pixelation issue and follows the same pattern as the Bootstrap component library. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I0fb356153f216c6a79ba57e5f38294871c63dc6a
2020-11-13Align button iconsDixsie Wolmers3-19/+30
- Fixes button icon and text alignment - App header buttons to be addressed separately - Button documentation will be addressed in separate commit - Aligns form input buttons: datepicker, clear search, and password toggle - Moves title from icon to button for icon only buttons - Aligns validation icon with form input buttons Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie28d7d7dd7303ab6bf1897d1fa569e1580cc2f9d
2020-10-27Fix table row alignment and table head borderDixsie Wolmers1-2/+11
- Aligns content in table rows with expand and action buttons - Adds border to table head Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I403575bedc78d71ad05edcae2f59f7df994d3630
2020-10-23Fixed event logs pagination on small screenSurenNeware1-1/+5
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ifb3963d416a7e2663af24c3c7b1d2c1876af6788
2020-10-23Add style to left sidebar and app headerSurenNeware2-96/+5
- Updated hover, active and focus state for left sidebar menu items. - Add style guide for top header navigation. - Add new white color logo. - Add focus and active state to current menu item. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ib97df4efda216f653ce0415c3f3ae9ae75bcb9cd
2020-10-07Add new style guide to global button styleSurenNeware4-48/+77
- Updated new style guide for Primary, Secondary and Link button variants - Changed box-shadow style from outer to inside on focus and active state - Updated font weight from bold to regular for normal buttons and font weight bold for link button. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I38ca94baa9daec3fd03b830fc7b6d676fcce15b0
2020-10-07Add updated table stylesSukanya Pandey2-0/+18
- Refer below link for styles: https://ibm.invisionapp.com/share/D8O06PPE32B#/screens Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I6dcc3b8d0fb7ef19388b5bfeaf87fce78725b638
2020-10-06Add stacked table style for small screenSurenNeware1-0/+68
- Add style to the stacked table type for small screen only. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I79fb44b20c8436df5734f89e60c98966c9c6a591
2020-10-05Add changes related to SOL pageSukanya Pandey2-0/+4
-Changes incorporated can be referred through below link: -https://github.com/openbmc/webui-vue/issues/25 Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I39d79259e0470d11c15e596908eefee7a799262a
2020-09-29Fix responsiveness of KVMMateusz Gapski2-0/+13
More info: https://github.com/openbmc/webui-vue/issues/24 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I150e7816ea08f462300566276ddbfc117e9f2e0c
2020-09-27Add icon to the toast componentSurenNeware1-1/+8
- 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-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-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-16Remove not needed scroll on sensor pageMateusz Gapski1-1/+6
Details: https://github.com/openbmc/webui-vue/issues/17 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I5c76219db954470dc72231e51ea0f202016d6816
2020-08-28Add Intel themeMateusz Gapski2-2/+5
Add Intel fonts, colours Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Idbfa1422f2667515efb60e24f9a84b7d77d11fcd
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-18Add form input field validation iconsDixsie Wolmers1-0/+27
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-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-13Add Firmware pageYoshie Muranaka2-0/+6
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-12Add info icon for informational alertSurenNeware1-1/+7
-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-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-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-28Update form fields to match style guideDixsie Wolmers2-14/+62
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-27Add ability to customize theme stylesYoshie Muranaka1-7/+0
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-23Update global typographyDixsie Wolmers1-0/+43
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-22Intel environmentMateusz Gapski2-0/+94
add environment for Intel add logo as a placeholder Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Iad1ef66ef73e7f9e0857122cc29729543cbf6682
2020-07-21Update use of Sass variables for better themingYoshie Muranaka11-42/+40
Use Bootstrap color functions for theme-colors and grays instead of directly referencing Sass variable to allow more flexible theming. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id08b77ff6df3bdf99400dcdfe964853706f1070f
2020-07-16Update gray color palette to match style guideDixsie Wolmers1-5/+5
Updated gray palette to match updated design guide - Color changes per page will be addressed in separate commits. Updated sytle guide documentation with new colors. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ic771d932ace38d3abbbf65038f00e25391db5dd0
2020-07-13Restructure Sass filesYoshie Muranaka23-27/+24
- Consolidate all bootstrap partials - Combine all vendor overrides with BMC custom styles - Updated paths for Vuepress docs Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1a9f68bdf90edae0d1e38f36ac670bf6426ec8a5
2020-07-08Codespell spelling fixesGunnar Mills1-4/+4
These spelling errors were found using https://github.com/codespell-project/codespell Change-Id: I8ec1e482a6eedca0f9c3b0282fa7db85cd4243f3 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2020-06-17Profile settings pageSukanya Pandey1-4/+5
-To set the profile by setting password. -This commit adds a profile page which allows the user to change their password. In the future, the profile page will also contain user settings like language and timezone. The API called to change the user's password is '/redfish/v1/AccountService/Accounts/<userName>' Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ie54a54beff8c85bc9ac5af21c35edc481b34cf44
2020-06-17Add Hardware status page and system tableYoshie Muranaka1-11/+52
Adds ability to see system information in table format with a row expansion details view. Modified tables styles to add table borders. Created global mixin for table data formatting: - Show '--' for undefined or empty string values - Map Redfish health status options to status-icon values Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5b45c37997647f5a265c1e84eb53f0b51699ee20
2020-06-13Add date filter on Event logs pageYoshie Muranaka3-0/+10
Created global TableDateFilter component that uses the BootstrapVue Datepicker with a native text input. This will allow users to manually enter a date in ISO format or use the Bootstrap calendar dropdown. Storing language preference from Login to use locale prop on BootstrapVue Datepicker component. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I66de9fb04451572c9a90f90d8522934b6204aed2
2020-06-10Add pagination to Event Log tableYoshie Muranaka2-0/+21
Created BvPaginationMixin for shared pagination values and methods. Chose to use exising BoostrapVue components as-is instead of wrapping in a custom component since it would add unnecessary complexity. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I246d761d90db36efeb442b0ee1074b629d32edef
2020-06-02Update Bootstrap Pill consistencyDixsie Wolmers1-1/+3
Pills in multiple select component and table filter are set to both have a line-height of 1.5 Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I90685534e995211d7bdf5feb16698957a29ccc91
2020-05-15Add themes documentationDerick Montague1-3/+3
- Renamed all index.md to readme.md to make consuming the documentation from the Github repo easier. VuePress treats index.md and readme.md the same way when building the static pages. - Added theme section overview documentation - Added how to customize documentation - Added custom style imports to support OpenBMC Web UI component documentation to remove Bootstrap framework base styles that conflict with the Vuepress theme - Found occurrences of the word Sass in upper-case and changed to use sentence case. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: If5588f88a3d75761cc47e85a3fb0a582b31d373c
2020-05-12Add motion guidelinesDerick Montague2-4/+5
- Update transition global variables in bootstrap to use Carbon motion easing and duration tokens to maintain consistency throughout the application - Remove import of colors helper file into variables and set import order based on dependency Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ibd3fb9438ff236670e5523250d284b59411a7e53
2020-05-05Update Sass architecture to require helper importsDerick Montague22-48/+70
- Restructuring file strucure to support single file components use of Sass variables when imported into vuepress. - Creating a scalable file structure using Sass best practices Tested by building and testing both the vue web ui and the the documentation application. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Iddcefbf305c8dac978ee24e903df33b609e395e3