Customizing the UI ( No longer main.less? )

Hi Andy,

Here is the relevant code: https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/views/dashboard/login.html.haml#L113-L124

Regards,

Eric

1 Like

Thanks Eric for the help! I can remove the text :slight_smile:

Regards,
Andy

1 Like

Digging up an old post… but is there a way to change the “ManageIQ:” which i assume get’s pulled from a table, rather than editing the Title tag of every page? For instance:

%head
%title
= h(title_from_layout(@layout))

Just update this line: https://github.com/ManageIQ/manageiq/blob/master/locale/en.yml#L6

Regards,

Eric

@epwinchell Perfect thanks.

Hello Eric,
Recently we’ve upgraded to fine-4…now I can’t find the path to modify the UI as before. Would you please help advise?

BR,
Andy

Hi Andy,

Which file are you looking for?

Eric

Hello Eric,

I am looking for the main.scss and login.scss to modify the Login page UI.

Regards,
Andy

They moved to the UI repo here:


1 Like

Thanks @epwinchell.

Here is how I locate those two files on the appliance locally.

yum install -y mlocate 
updatedb
locate "stylesheets/login.scss" && locate "stylesheets/main.scss"
2 Likes

Many thanks Eric :slight_smile:

image

Hi and good day.

I try to customize and re-brand ManageIQ with another name, but no luck.

Just FYI, I’m using gaprindashvili-2 version.

Can anyone let me know which file should I edit?

Thanks in advanced.

Cheers

Edit /var/www/miq/vmdb/locale/en.yml :

en:
  product:
    name: MIQ

Then restart MIQ:

systemctl restart evmserverd

Enjoy.

page_title

1 Like

Hey, is it possible to change font inside of Service Dialog Drop-Downs ?

Hello Eric

even after editing /var/www/miq/vmdb/locale/en.yml , the ManageIQ is still displaying as it. Any luck with other methods .

Hi,

I don’t find this file in the hammer release. can someone suggest where i can find this path?

Which file? /var/www/miq/vmdb/locale/en.yml is still in the same place
main.scss/login.scss are in /opt/rh/cfme-gemset/bundler/gems/cfme-ui-classic-93aeb5552460/app/assets/stylesheets

Thanks, I was looking for the files you mentioned !!

1 Like

Which code to modify if we have to change the login icon
image

Nithintn,

You can add the custom logos and background inside the settings.

  1. Log into the UI and Click on the Administrator | EVM menu in the top right.
  2. Select Configuration from that menu.
  3. In the Settings accordion find and highlight the Zones / Zone Default Zone(current) / Server EVM [1000000000001](current)
  4. Click on the Custom Logos tab.
  5. File select > Upload each logo or background image(s) you want to use.
  6. Click the Save button below when done.

Note you can also add text on the Login screen.

Regards