After I sent my original email, I got the logo to display properly.  But I 
still had issues with the application name.  I  had it set in 
translations/en.json, however, I had an extra comma at the end.  Once I removed 
that, the app name came up as we expected.  We also added in an html template 
to put our approved warning banner on the login screen.  Can you direct me to 
the right location to view the CSS that I can use to place a border around that 
HTML code?  Once that is similar to how the main login looks is fine.

Basically, how do I place a border around the “***Warning***” block below?

[cid:image001.png@01D396BD.E80E1A20]

Thanks!
Harry


From: Mike Jumper [mailto:mike.jum...@guac-dev.org]
Sent: Friday, January 26, 2018 3:39 PM
To: user@guacamole.apache.org
Subject: Re: Creating JAR files for a branding extension

On Fri, Jan 26, 2018 at 8:21 AM, 
<harry.dev...@faa.gov<mailto:harry.dev...@faa.gov>> wrote:
Thanks.  That worked well.  I notice that our logo isn’t showing up.

How did you specify your logo?

Its currently a gif file (unsure of the size).  Does it have to be a png file?

Only the "smallIcon" and "largeIcon" need to be PNG (though these properties 
are mysteriously missing from the guac-manifest.json docs). All other resources 
can have arbitrary mimetypes, specified via the "resources" property of 
guac-manifest.json:

http://guacamole.apache.org/doc/gug/guacamole-ext.html#ext-manifest

The logo on the login screen is defined via CSS, so if you wish to override 
that logo, you'll need to add your own CSS to the extension which overrides 
that rule, pointing instead at the logo exposed by your extension as a resource:

https://github.com/apache/guacamole-client/blob/406155329c2531a1aa01175ad7023eb8bbb4cd1b/guacamole/src/main/webapp/app/login/styles/dialog.css#L115

Is there a size requirement?

No, but you may need to make further adjustments using additional CSS. The 
current rule assumes the logo will be square.

Also, under the logo, it still says Apache Guacamole.  Where do we change that?

Through overriding the "APP.NAME<http://APP.NAME>" translation string:

https://github.com/apache/guacamole-client/blob/406155329c2531a1aa01175ad7023eb8bbb4cd1b/guacamole/src/main/webapp/translations/en.json#L7

Beware that you may need to override this for the other supported languages, as 
well:

https://github.com/apache/guacamole-client/tree/406155329c2531a1aa01175ad7023eb8bbb4cd1b/guacamole/src/main/webapp/translations

and that you may want to adjust the wording of other strings (error/warning 
messages that refer to the "Guacamole server", for example).

- Mike

Reply via email to