Hi Martin,

Good idea of achieving it through JS. But, this isn't working for me :( Am 
I missing any imports? 

Regards,
Mahesh

On Tuesday, 19 July 2011 16:14:33 UTC+5:30, Martin B. wrote:
>
> On 12.07.2011 16:51, Martin B. wrote:
> > On 12.07.2011 16:26, Martin B. wrote:
> >> Hi all!
> >>
> >> The Build Pipeline Plugin hides the side-panel (the column on the left
> >> side with the available tasks, buildQueue and executors).
> >>
> >> Is this also possible with any other View? (Dashboard, ... ?)
> >>
> >
> > I have found a workaround/hack. Each View allows for a description. When
> > I add the following code to the description, the side-panel will be
> > dynamically removed. (Pretty horrible IMHO.)
> >
> > - - - -
> > <p style="text-align:right; color:LightGrey">(Note: Description contains
> > custom JS!)</p>
> > <script>
> > var sidePanelTD=document.getElementById('side-panel');
> > if(sidePanelTD) {
> > sidePanelTD.parentNode.removeChild(sidePanelTD);
> > }
> > </script>
> > - - - -
> >
>
> I have now found another workaround. (Display is not as good, as the 
> side panel is still shown, but it is less "hacky".)
>
> If I only care about the links in the side-panel not being displayed, 
> then I can use a [Dashboard View][1] portlet of type "Jenkins job list" 
> and then show this portlet in full-screen (via 
> .../portlet/dashboard_portlet_#/) the side-panel is still displayed, but 
> doesn't contain any links.
>
> Any feedback appreciated.
>
> cheers,
> Martin
>
> [1] : https://wiki.jenkins-ci.org/display/JENKINS/Dashboard+View
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/78170739-d839-4986-9a4a-8cc1b9912a85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to