Customizing the UI ( No longer main.less? )


#9

Just to add another info for this thread, newer version of miq has “Custom Logos” menu for this customization work

thanks to MIQ UI team.


#10

Hello Eric,

I need remove these text in red box, would you please help advise how to do?

Thank you,
Andy


#11

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


#12

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

Regards,
Andy


#13

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))


#14

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

Regards,

Eric


#15

@epwinchell Perfect thanks.


#16

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


#17

Hi Andy,

Which file are you looking for?

Eric


#18

Hello Eric,

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

Regards,
Andy


#19

They moved to the UI repo here:



#20

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"

#21

Many thanks Eric :slight_smile:


#22

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


#23

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

en:
  product:
    name: MIQ

Then restart MIQ:

systemctl restart evmserverd

Enjoy.

page_title


#24

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


#25

Hello Eric

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


#26

Hi,

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


#27

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


#28

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