summaryrefslogtreecommitdiffstats
path: root/app/assets
Commit message (Collapse)AuthorAgeFilesLines
* Create profile settings pageHEADmasterYoshie Muranaka2020-02-111-0/+1
| | | | | | | | Adding a profile settings page so readonly and operator roles are able to change their own password. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iee9536255ad47f4df4af8746c1e01da37c407f2b
* Update navigation to accordian-style menukathy2020-01-136-5/+5
| | | | | | | | | | | | | | - New navigation provides intuitive structure for showing relationship between sections and pages - Menu keeps an open state, which allows easy clicking to sibling pages - Ability to preview all page sections w/o hover over blocking page content - Allows user to see where they are within navigation at all times Tested: Opened each page and confirmed new navigation worked, clicked through to all pages successfully. Change-Id: Ie10dc95d8e15ee9bf89a3bec9ff231c0a7065ed9 Signed-off-by: Kathy Pine <kathryn.elainex.pine@intel.com>
* Update loading spinnerDixsie Wolmers2019-11-271-0/+3
| | | | | | | | | Loader was updated with loading icon svg. Added inline style for loading icon and added loader svg to status-icon directive. Status icons will be used in file-upload component for firmware page update. Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I15e6f9fa39a08fcc8cfe354f8ed4447aab6425a9
* Certificate delete API – frontendZbigniew Kurzynski2019-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | With introducing option to add multiple certificates there is a need to give user a possibility to remove selected certificates, for example when they expire. This commit adds implementation of DELETE function to GUI. A new icon will appear in action section on certificate table. The delete icon will be enabled only for TrustStore certificates and disabled for others which does not have support for delete option. When user clicks on the delete icon then ‘user prompt’ is displayed and after confirmation, proper redfish action is used to delete the certificate. Middlewere implementation is here: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/25281 Backend implementation is here: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-certificate-manager/+/25268 Tested on Chrome and Mozilla. New icon appears in action section. The delete option is available only for TrustStore certificates. User is able to delete selected certificate. Depends-On: I9781c5c79288ec5d080e80e42c63a55e471ddb77 Signed-off-by: Zbigniew Kurzynski <zbigniew.kurzynski@intel.com> Change-Id: I68c5f54767d6982ae3cb00830b3a1b4f5e237bea
* Update toast notificationYoshie Muranaka2019-10-222-2/+2
| | | | | | | | | | | | | | Added new toast notification types, warn and info, and updated visual styling. All toasts will need to be manually closed by clicking the 'X' close icon, except a success toast which will be dismissed automatically after 10 secs. - Small updates to critical and success/on icon - Added new colors for toast status background colors Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I9077109042621b2d3346b4121d6344da502b6b26
* Fix IE 11 primary navigation icon positioningDixsie Wolmers2019-10-181-1/+1
| | | | | | | | | | Added height value of 100% to nav-icon in order to properly align in IE11. Tested on Chrome, Firefox, Safari, Edge and IE11. Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I66b2d4de1b67f546e0709eab70a780a297efbb7a
* Clean up iconsYoshie Muranaka2019-10-024-2/+0
| | | | | | | | | | | | | | | Clean up duplicate svg icons from assets directory. Created a statusIcon component to dynamically render status icons instead of using background-image in scss files. - Moved/removed on, off, critical, warning svg icons from assets directory - Updated background-image status icons to use <icon> or <status-icon> directive Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic0f06d78b0861d6f60d40b2dcc0b80fd6dad2a88
* Update users navigation sectionmiramurali232019-09-261-0/+3
| | | | | | | | | | | | - Changed the section name to be access-control - Moved LDAP Settings and Certificate Management to access-control navigation - Changed Manage User Account subsection name to Local User Management Resolves: openbmc/phosphor-webui#619 Signed-off-by: Mira Murali <miramurali23@gmail.com> Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I0d94c80c295b997d94c04330fd87f4fc4d229bf8
* Remove unused image warn-slash.svgGunnar Mills2019-09-241-1/+0
| | | | | | | | | | | | | This was not used anywhere. https://github.com/openbmc/phosphor-webui/search?q=warn-slash.svg&unscoped_q=warn-slash.svg This image was already not in the build. I.e. it was not at /usr/share/www/app/assets/images/. Tested: Built the GUI. Looks good. Change-Id: Ieaacef83baf8c943f4f7679763af1529acd52720 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Remove unused image crit-x.svgGunnar Mills2019-09-241-1/+0
| | | | | | | | | | | | | This was not used anywhere. https://github.com/openbmc/phosphor-webui/search?q=crit-x.svg&unscoped_q=crit-x.svg This image was already not in the build. I.e. it was not at /usr/share/www/app/assets/images/. Tested: Built the GUI. Looks good. Change-Id: I7650a8866745eae0a7ef789bd63ab94e4ec18ef2 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add sort functionality to table ComponentYoshie Muranaka2019-09-202-0/+2
| | | | | | | | | | | | | | | | | Added optional sort function to the shared table component. Table sort is not implemented on any existing table, but will be used in the redesigned Event Log table. - Changed table model attribute to two separate properties data and header to take advantage of $onChanges lifecycle hook - Update local user table and user role table to account for these updates Tested on Chrome, Safari, Firefox, Edge, IE Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I4fe68e78ae9d1228d7d9350538f61076036b1089
* Certificate management alert icons implementation and alignmentDixsie Wolmers2019-09-191-0/+1
| | | | | | | | | | | - Replaces background image icons with icon directive - Sizes and aligns icons in certificate table TODO: - Remove critical icon background image in separate commit Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I2e10bc3f3432331b6dd9354dbcd0e32480894ece
* Add user role privilege tableYoshie Muranaka2019-08-272-2/+2
| | | | | | | | Created a directive to handle display of user privilege roles on the local user management page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I83caea33356012752c7a67301fa2a372f0c28620
* Create csr modalmiramurali232019-08-221-0/+6
| | | | | | | | | | | | | | | | | | The CSR Modal allows users to generate a CSR code. Once the user types in the necessary information to generate the CSR code, that modal will then render the code and the user will be able to either copy the code or download the code in a txt file. Tested: loaded onto Witherspoon and able to view on certificate management page. Click on generate csr and type in necessary (or any additional info), then click on generate CSR. The CSR code is then visible and is able to be copied or downloaded. In error state in which CSR code is unable to generate, the modal closes and an error toast message appears. FYI: Sometimes you have to reboot system in order for csr to successfully generate.y Signed-off-by: Mira Murali <miramurali23@gmail.com> Change-Id: I3cca09c494357496166164b5ee8ff99250ef981d
* Add boot option override and TPM enable toggleDixsie Wolmers2019-08-211-0/+1
| | | | | | | | | | | | | | | | | - Adds ability to set a bootsource override to allowable target value - Adds ability to enable or disable TPM required policy - Replaces power operations confirm directive with bootstrap modal Tested: Confirmed override settings saved to redfish but unable to verify if settings are automatically set to disabled by petitboot after a one time boot. Passes DAP. Resolves openbmc/phosphor-webui#82 Resolves openbmc/phosphor-webui#90 Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: If0ffd6f9328939d70c7958ee11fb90bd20a1e685 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add password visibility toggleYoshie Muranaka2019-08-192-0/+2
| | | | | | | | | This commit will add a new password visibility toggle directive. The new directive was added to the local user management, user modal password input fields. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I4e2baf53eec04aaff1bba26948779de6e447e3e7
* Update overview page to use new UI patternsDerick Montague2019-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | - Use page, section, list-pair to establish consistent layout - Update header and overview page to use new caret icon - Reordered Server and BMC information to accomodate small screen views - Added chevron icons to create consistency between header and server overview page quick links - Changed edit hostname text to use the standard icon - Added OR operator to short circuit the server model, server serial number, and server manufacturer to display N/A if the information is not available Change-Id: I6619f5369ff290555142e85aa432e901c4f93d2d Signed-off-by: Derick Montague <derick.montague@ibm.com>
* Update icons to fix sizing and overflow issuesYoshie Muranaka2019-07-291-1/+1
| | | | | | | | | | | | Re-exported icon-control.svg and icon-replace.svg to resolve issues around sizing and overflow. These new icons will allow us to remove CSS 'hacks' in place to prevent unexpected focus state overflows and allow icon resizing by changing the width on the icon class name. Small scss updates were included to account for this fix. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I07bbe5bb0c82ee653f2342089c0c1373a51cc168
* Create certificate management pagebeccabroek2019-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Displays certificates and the ability to add up to one of each type of certificate (as limited by the backend implementation). HTTPS certificate and LDAP client cert are implemented in this commit, with the ability to add more types as needed by adding them to the constants.js CERTIFICATE_TYPES array. Also provides the ability to replace a certificate once it is added. Resolves openbmc/phosphor-webui#43 Tested: loaded onto a witherspoon and able to view and replace both the HTTPS certificate and the LDAP certificate. GUI only allows to upload an LDAP certificate if one doesn't already exist. The GUI limits the user to one file per type as expected at this time and provides the appropriate validation messages. Alert messages appear above the table if the certificate is expired or within 30 days of expiring. Change-Id: I345267280ecd3cb257e9304886cde9ebb69b1240 Signed-off-by: beccabroek <beccabroek@gmail.com> Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
* Consolidate button stylesYoshie Muranaka2019-06-2148-613/+29
| | | | | | | | | | | | | | | | | | | | | | | | | This patchset will create consistent button styling according to the styleguide and remove redundant button styles by creating reusable button classes. This patchset also implements a consistent strategy for including icon assets. Currently, svg icons are imported as CSS background images or inlined into the markup. Inlining an svg is preferred, especially when used with buttons or links so the colors can be easily changed for different states (hover, focus, disabled) without having to request variants. The icon provider allows us to inline svgs without cluttering the markup. Webpack config was adjusted to use svg-inline-loader when resolving svgs that are used by the icon provider directive. - All svgs were optimized to remove unncessary information. - Removed unused svg color variants - Moved icons used by icon provider to separate directory to avoid Webpack parsing the files twice - Small changes to navigation icons Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1ca214b74fc502e6b6e760cfee88b48110237c43
* Virtual media pagebeccabroek2019-05-231-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Adds page to manage virtual media devices. User selects file and pushes 'start' button to establish websocket connection. nbdServerService added to provide ability for user to navigate away from the page and return with the ability to see the current active sessions. Currently only supports 1 Virtual Media device. Resolves openbmc/phosphor-webui#40 Tested: uploaded ubuntu image file, started the connection and mounted virtual media device from host console. Able to see Ubuntu image file. Also uploaded file and navigated away from the page, checking that the websocket remained open and was sending / recieving messages. Finally, tested that when connection was stopped, 'USB disconnect' log was present in host console. Change-Id: Ia3155d27cbcfef94c2753dde1303a151e08847cc Signed-off-by: beccabroek <beccabroek@gmail.com> Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Signed-off-by: Derick Montague <derick.montague@ibm.com>
* Add dropdown caret to time owner dropdown on Date and Time SettingsYoshie Muranaka2019-05-072-0/+2
| | | | | | | | | | | | | | - Use background-image strategy to add caret to dropdowns - Standardize implementation by including mixin to dropdown__button class and removing styled pseudo element Resolves ibm-openbmc/dev#478 Tested: Running locally on Chrome only. Ran into network request errors for newly added svg assets when mounting overlay Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I714c2515282676f368eafb2560177d2935680e23
* SNMP page visual redesignbeccabroek2019-04-013-11/+59
| | | | | | | | | | | | | | | | | Adds form validation to SNMP page. Also adds new icons to page for edit and delete. Validation messages for inputs appear after input has been touched or if the user attempts to submit the form with validation errors. Tested: Add, remove, and update SNMP was successful and functionality unchanged. Form did not allow invalid or empty values to submitted. Used Chrome, Safari, and Firefox to verify that visual design looked as expected. Resolves openbmc/phosphor-webui#37 Change-Id: I7a97d80724e56d2f22c74ac1251041270bbc35ad Signed-off-by: beccabroek <beccabroek@gmail.com>
* Update hex values to meet WCAG AA Guidelines for color contrastDerick Montague2019-03-284-7/+7
| | | | | | | | | | | | | | | - Change #3C6DF0 to #2D60E5 - Change #E62325 to #DA1416 Tested: I spot tested the Server Overview, the Event log and System logs pages to verify color changes and overall validate the update does not negatively impact the visual integrity of the app. Resolves openbmc/phosphor-webui#70 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I2315527a98937176b3e3a2a2118e1798fa4c9e5d
* Add Redfish into the web-uiJames Feist2018-09-241-0/+279
| | | | | | | | | | | | | | Currently only GET is supported, but to add PATCH in the future for redfish, support should be moved from being hosted directly by bmcweb into the webui. Tested-by: Navigated to http://localhost:8080/#/redfish/v1/ with bmc attached and was able to view all of redfish. Also tested on platform. Change-Id: I1dc3936b6b48835a1f69698fcb4fd6fcdb6d91ac Signed-off-by: James Feist <james.feist@linux.intel.com>
* Transparent favicon backgroundbeccabroek2018-07-271-0/+0
| | | | | | | | | Remove white background in OpenBmc favicon. Resolves openbmc/openbmc#3193 Change-Id: Ia879def1046ee07f49019c021ac1080b5ce09ca4 Signed-off-by: beccabroek <rebecca.shaw@ibm.com>
* Added OpenBMC favicon.icoGunnar Mills2018-04-301-0/+0
| | | | | | | | | | | | | | | | | The favicon.ico before was transparent. Created the favicon.ico using https://www.favicon-generator.org/ and a cropped OpenBMC logo image. The cropped OpenBMC image was only the OpenBMC symbol. The image had the text underneath cropped out. A favicon.ico based on the complete OpenBMC logo looked weird. This change will not be visible if running the GUI locally, this is due to how we display the favicon. The complete OpenBMC logo can be found here: https://en.wikipedia.org/wiki/OpenBMC#/media/File:OpenBMC_logo.png Tested: Built a Witherspoon image and loaded it onto a Witherspoon. Change-Id: I284c75e303ae8a6e005a26e2fdb7362db7e2300f Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add proper favicon handlingEd Tanous2018-02-021-0/+0
| | | | | | | | | | The current repo doesn't seem to produce a favicon, so having the reference to it produces either a 404 error or a 401 error depending on the server. Add a transparent favicon until someone can cobble together a proper one from the openbmc SVG files Change-Id: I5a79be5982e164a8ae0b28a69f673129c0a959ba Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* Remove reference to IBM in phosphor-webuiEd Tanous2017-11-071-18/+1
| | | | | | | | | | | | | | | | As phosphor webui is supposed to be the reference implementation, it should not reference IBM, nor have IBM copywritten logos contained within it. If these are neccesary for IBM platforms, they should be done in a bbappend in the bitbake layer, or in a way that doesn't put copywritten materials on BMCs that may not have permission to use and release it. I'm hoping to generate ddiscussion on how the best way to handle this from a build perspective would be, but for now, references should be to the OpenBmc project, not IBM to avoid copyright issues. Change-Id: I73efda399e967ca4446b8df403e94e14ab24aff8 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* Updating images and stlesIftekharul Islam2017-11-0217-0/+26
| | | | | | | Updating images and styles after code merge conflicts Change-Id: I96490926caa41d13e4d625ff67f6a463d7819d34 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* removed Illustrator generated commentsMichael Davis2017-10-0913-26/+0
| | | | | Change-Id: Ia6eff395e1caca899d5a11da97dff5b697cc38fd Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* added faviconMichael Davis2017-10-093-0/+0
| | | | | Change-Id: I7f70505fd25252223cac121fb74d21bed0e5a5c1 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Updating server health icon in header based on event log statusIftekharul Islam2017-10-091-1/+0
| | | | | Change-Id: Iae10d39428b6ce6a228e775aa68fb7805dd61ecb Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* added standby and plus iconsMichael Davis2017-10-092-7/+24
| | | | | Change-Id: I2dd38d805ace1e7c8d3141a9858072df5c342331 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Adding multi-server empty templateIftekharul Islam2017-10-091-12/+15
| | | | | Change-Id: I1ecbe00160d802c5dce2496614717e255d3fe055 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* new icon and pop-out window for Serial over lanMichael Davis2017-10-091-0/+8
| | | | | Change-Id: I1722a4fbd1e9ac07162c9732d68dfea283a28aed Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Updated master after merge conflictsIftekharul Islam2017-10-0911-0/+20
| | | | | Change-Id: Ibea933c20071cc85201420ba1e31fedf9356f55b Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Added loader and updated GUI text and style changes from MichaelIftekharul Islam2017-10-091-15/+12
| | | | | Change-Id: Id4f8d96b10e429ca469c6169741588dbcc4b5c7a Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
* changed 'mark as resolved' icon to only a checkmark based on user feedback.Michael Davis2017-10-094-17/+5
| | | | | Change-Id: I839206d30f0f2db158e23d683ff8cdc0e63398c9 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* firmware: added new icons to match designs. minor fixes to button stylingMichael Davis2017-10-092-0/+26
| | | | | Change-Id: If77d9119bc9335b5bd5e94ec1d201f6aa8969d0d Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* adding new on, off and standby svg icons. Color change to IBM logo.Michael Davis2017-10-094-1/+46
| | | | | Change-Id: I9a9aa63802beac60a30e35a130a7ad73a3e80f0f Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* resized critical and warning icons to proper size in svg file. previously ↵Michael Davis2017-10-092-13/+15
| | | | | | | too large. Change-Id: Ic46b08f2ec435943fc078146b8382d70d43ae2cb Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Added hardware sensors functionalityIftekharul Islam2017-09-201-258/+0
| | | | | Change-Id: I99435613bb77fc0ff72f046c2dc047b13962a7a3 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
* Enhance hardware inventory layoutMichael Davis2017-09-202-13/+19
| | | | | Change-Id: Ie013fdaa03a03682bb415a34e15155091fa3bf4a Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Implement firmware upload functionIftekharul Islam2017-09-201-5/+5
| | | | | Change-Id: Ie89793ec9add1fc9e5241b422cfff64784f7b078 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
* Accessibility fixesIftekharul Islam2017-09-203-14/+0
| | | | | | | | - Add tab index order to navigation. - Minor CSS changes. Change-Id: I402d3cb8c1ac14bd930a5efcf472c1d249cfe00a Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Add navigation iconsMichael Davis2017-09-209-0/+87
| | | | | Change-Id: Ibdaf29a10dcb1ba3ab39be272ce2c673af8ac265 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Updating sensors logics with mock dataIftekharul Islam2017-09-201-0/+258
| | | | | Change-Id: Icede8defdae3a677db5c13dcd6324a1117ce25db Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
* Add collapsing animation for 2nd level nav menuMichael Davis2017-09-209-9/+0
| | | | | Change-Id: Ie60d6c9d0aaff1e6db785a678e38c626925c8799 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* add inventory templatesMichael Davis2017-09-201-0/+12
| | | | | Change-Id: I735465dc2d6ab0583586ece23380ea8570f024fa Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
OpenPOWER on IntegriCloud