[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17526140#comment-17526140
 ] 

Dustin Lang commented on GUACAMOLE-1584:
----------------------------------------

[~mjumper] thanks for your help getting this merged!

What I did is a brutal hack: I just add a button that reloads the page when 
clicked.  I plug it in via a branding extension:

<meta name="after-children" content="#section-header-all-connections">
<button id="refresh_button" onClick="window.location.reload();" 
style="background:#DDD; color:#000; font-size:12px;">(Refresh)</button>

I'm not proud (but it does get the job done)!

> Allow branding/customization of the section headers on the user home page
> -------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-1584
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1584
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: guacamole-client
>    Affects Versions: 1.4.0
>            Reporter: Dustin Lang
>            Priority: Trivial
>             Fix For: 1.6.0
>
>         Attachments: 1.png
>
>
> Hi,
> This is my first Guacamole issue, so apologies if I'm doing it wrong!
> I wanted to add a "Refresh" button to the Guacamole home page's list of 
> connections (because I am building it dynamically, looking for running VNC 
> sessions), and in order to do that with the usual branding/customization 
> tricks, I needed a CSS id for the <h2> elements on the user home page.  I 
> have a trivial PR to add these.
> thanks,
> dustin



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to