Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: Allow font-awesome icon usage and optimise icon size inconsistency #9744

Open
wants to merge 3 commits into
base: 4.19
Choose a base branch
from

Commits on Sep 19, 2024

  1. ui: load project list with minimum details

    This calls listProjects with details=min in the global header menu.
    
    Signed-off-by: Rohit Yadav <[email protected]>
    rohityadavcloud committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    fbef43a View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. ui: enable use of fontawesome icons for plugins

    This enables usage of fontawesome (free) solid icons for custom plugins
    section in config.json. The plugin can be defined as array:
    
    ```
      "plugins": [
        {
            "name": "HomeLab",
            "icon": ["fa-solid", "fa-server"],
            "path": "https://dash.yadav.cloud/dash/"
        }
      ],
    ```
    
    Here the icons is declared as a json array config, where the first
    parameter is the pack/type name ("fa-solid") and the second parameter is
    the icons name with the "fa-" prefix.
    
    The solid icon can be searched and used from here:
    https://fontawesome.com/search?q=server&o=r&s=solid
    
    Signed-off-by: Rohit Yadav <[email protected]>
    rohityadavcloud committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    02da965 View commit details
    Browse the repository at this point in the history
  2. ui: fix icons size inconsistency and use fa icons

    This fixes icon size inconsistency when fa os-logo icons are used versus
    when resource icons are used. This also changes some of the infocard
    icons to use better icons from font awesome.
    
    Signed-off-by: Rohit Yadav <[email protected]>
    rohityadavcloud committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    4e5150b View commit details
    Browse the repository at this point in the history