XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Groups 0
    E Offline
    1. Home
    2. erik.lukes

    erik.lukes

    @erik.lukes

    XCP-ng Ethusiast
    System Administrator
    Switzerland

    0
    Reputation
    1
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 33
    Location Zürich

    erik.lukes Unfollow Follow
    • RE: Adding OS Logo to XenOrchestra Home

      i found this lines of code (ex. mint) in the other topic (https://xcp-ng.org/forum/topic/4583/adding-os-logos/14?_=1709647941739)
      on the right side my version as ex.

      NAME="Linux Mint"
      VERSION="20.1 (Ulyssa)"
      ID=linuxmint
      ID_LIKE=ubuntu
      PRETTY_NAME="Linux Mint 20.1"
      VERSION_ID="20.1"

      NAME="Scientific Linux"
      VERSION="7.2 (Nitrogen)"
      ID=scientificlinux
      ID_LIKE=redhat
      PRETTY_NAME="Scientific Linux 7.2"
      VERSION_ID="7.2"

      do i forgot to add some more lines like those (up) for e.x. ?

      posted in Xen Orchestra
      E
      erik.lukes
    • RE: Adding OS Logo to XenOrchestra Home

      acutally i didnt found any logo for scientific linux but i took one that looks quite close/similiar

      posted in Xen Orchestra
      E
      erik.lukes
    • RE: Adding OS Logo to XenOrchestra Home

      the local path would be like:
      /opt/xo/xo-builds/xen-orchestra-202401311946/node_modules/font-mfizz/src/svg/scientific.svg

      so i dont know where to place the .svg img to make a pull request for that one too

      posted in Xen Orchestra
      E
      erik.lukes
    • RE: Adding OS Logo to XenOrchestra Home

      i cloned the repo.
      updated both files and created the pull requests (but didnt sent them yet).
      I see how to upload a new file (scientific.svg) but dont know where to put this svg in?

      posted in Xen Orchestra
      E
      erik.lukes
    • RE: Adding OS Logo to XenOrchestra Home
      1. like here:
        https://github.com/vatesfr/xen-orchestra/blob/8921d7861026a11a2e7007d8451489eee508bdf7/packages/xo-web/src/icons.scss#L1025-L1045

      2. like here:
        https://github.com/vatesfr/xen-orchestra/blob/8921d7861026a11a2e7007d8451489eee508bdf7/packages/xo-web/src/common/utils.js#L175-L203

      posted in Xen Orchestra
      E
      erik.lukes
    • Adding OS Logo to XenOrchestra Home

      Hello
      I tried to make a new Logo (Scientific Linux) and did the following without any change on the icons:

      1. added in /opt/xo/xo-web/src/icons.scss the following lines
        &-scientific {
        @extend .fa;
        @extend .icon-scientific;
        }

      2. added in /opt/xo/xo-web/src/common/utils.js the following lines
        scientific: ['scientific', 'sc'],

      3. added in /opt/xo/xo-builds/xen-orchestra-202401311946/node_modules/font-mfizz/src/svg/ the image scientific.svg

      updated XenOrchestra and restartet the xo-server service

      Can anyone help?

      posted in Xen Orchestra
      E
      erik.lukes