[Foreman] Branding foreman

A little googling around shows some "branding" tickets around
katello/satellite but I wonder if there is a way to brand it with my
company? My company is big on splashing our logo over products we use.
Some have ways to add images or custom text or the like. I can't see a
good way to do that w/ foreman.

I could go in and replace files in /var/lib/foreman/public/assets but
that is not very upgrade friendly. I was looking at
views/home/_topbar.html.erb and the rails image_tag looks to be the guy I
need. Is there a way in rails to specify multiple locations to look for
assets? Maybe assets/custom/ then in assets?

Also would anyone be interested in a feature to customize the branding
text? In particular?

    <!--[if IE]></div> <![endif]-->
    <%= link_to "Foreman", main_app.root_path %>

Maybe add a setting branding_title and change the erb.

    <!--[if IE]></div> <![endif]-->
    <%= link_to Setting[:branding_title] || "Foreman", 

main_app.root_path %>

Would this be useful for anyone?

Regards,
-Alan

Take a look at this plugin. It might be what you're looking for:

https://github.com/jcmcken/foreman_custom_banner

··· On Tuesday, November 15, 2016 at 5:37:46 PM UTC-5, Alan Evans wrote: > > A little googling around shows some "branding" tickets around > katello/satellite but I wonder if there is a way to brand it with my > company? My company is big on splashing our logo over products we use. > Some have ways to add images or custom text or the like. I can't see a > good way to do that w/ foreman. > > I _could_ go in and replace files in /var/lib/foreman/public/assets but > that is not very upgrade friendly. I was looking at > views/home/_topbar.html.erb and the rails image_tag looks to be the guy I > need. Is there a way in rails to specify multiple locations to look for > assets? Maybe assets/custom/ then in assets? > > Also would anyone be interested in a feature to customize the branding > text? In particular? > > > <%= link_to "Foreman", main_app.root_path %> > > Maybe add a setting branding_title and change the erb. > > > <%= link_to Setting[:branding_title] || "Foreman", > main_app.root_path %> > > Would this be useful for anyone? > > Regards, > -Alan > >

>
> Take a look at this plugin. It might be what you're looking for:
>
> https://github.com/jcmcken/foreman_custom_banner
>

If you need more control have a look at something like
https://github.com/ShimShtein/foreman_themify.

Ohad
>
>>
>> A little googling around shows some "branding" tickets around
katello/satellite but I wonder if there is a way to brand it with my
company? My company is big on splashing our logo over products we use.
Some have ways to add images or custom text or the like. I can't see a
good way to do that w/ foreman.
>>
>> I could go in and replace files in /var/lib/foreman/public/assets but
that is not very upgrade friendly. I was looking at
views/home/_topbar.html.erb and the rails image_tag looks to be the guy I
need. Is there a way in rails to specify multiple locations to look for
assets? Maybe assets/custom/ then in assets?
>>
>> Also would anyone be interested in a feature to customize the branding
text? In particular?
>>
>> <!–[if IE]></div> <![endif]–>
>> <%= link_to "Foreman", main_app.root_path %>
>>
>> Maybe add a setting branding_title and change the erb.
>>
>> <!–[if IE]></div> <![endif]–>
>> <%= link_to Setting[:branding_title] || "Foreman",
main_app.root_path %>
>>
>> Would this be useful for anyone?
>>
>> Regards,
>> -Alan
>>
> –
> You received this message because you are subscribed to the Google Groups
"Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.

··· On Nov 16, 2016 12:48 AM, "Michael Griffin" wrote: > On Tuesday, November 15, 2016 at 5:37:46 PM UTC-5, Alan Evans wrote: > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.

Thanks guys, I'll try them out.

-Alan

··· On Wednesday, November 16, 2016 at 1:09:55 AM UTC-7, ohad wrote: > > On Nov 16, 2016 12:48 AM, "Michael Griffin" > wrote: > > > > Take a look at this plugin. It might be what you're looking for: > > > > https://github.com/jcmcken/foreman_custom_banner > > > > If you need more control have a look at something like > https://github.com/ShimShtein/foreman_themify. > > Ohad > > > > On Tuesday, November 15, 2016 at 5:37:46 PM UTC-5, Alan Evans wrote: > >> > >> A little googling around shows some "branding" tickets around > katello/satellite but I wonder if there is a way to brand it with my > company? My company is big on splashing our logo over products we use. > Some have ways to add images or custom text or the like. I can't see a > good way to do that w/ foreman. > >> > >> I _could_ go in and replace files in /var/lib/foreman/public/assets but > that is not very upgrade friendly. I was looking at > views/home/_topbar.html.erb and the rails image_tag looks to be the guy I > need. Is there a way in rails to specify multiple locations to look for > assets? Maybe assets/custom/ then in assets? > >> > >> Also would anyone be interested in a feature to customize the branding > text? In particular? > >> > >> > >> <%= link_to "Foreman", main_app.root_path %> > >> > >> Maybe add a setting branding_title and change the erb. > >> > >> > >> <%= link_to Setting[:branding_title] || "Foreman", > main_app.root_path %> > >> > >> Would this be useful for anyone? > >> > >> Regards, > >> -Alan > >> > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. >