sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SIS-114) Sidebar on the left side always have the "home" menu item active
Date Sun, 22 Apr 2018 03:10:00 GMT

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

Bruno P. Kinoshita commented on SIS-114:
----------------------------------------

Attached path SIS-114.patch, that can be applied against http://svn.apache.org/repos/asf/sis/site/trunk/.

> Sidebar on the left side always have the "home" menu item active
> ----------------------------------------------------------------
>
>                 Key: SIS-114
>                 URL: https://issues.apache.org/jira/browse/SIS-114
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Web site
>            Reporter: Martin Desruisseaux
>            Priority: Minor
>         Attachments: SIS-114.patch
>
>
> The http://sis.apache.org web site has a sidebar menu on the left side, but this menu
has only the "home" item activated no matter which page is show.
> Looking to the {{templates/skeleton.html}} file, we can see the following HTML code:
> {code:html}
>           <div class="well sidebar-nav">
>             <ul class="nav nav-list">
>               <li class="nav-header">Apache SIS</li>
>               <li class="active"><a href="index.html">Home</a></li>
>               <li><a href="mailinglists.html">Mailing Lists</a></li>
>               <li><a href="license.html">Project License</a></li>
>               ...etc...
> {code}
> As we can see in the above HTML, the {{"active"}} style is unconditionally applied to
the {Home} item. We need to investigate how to change the item on which the {{"active"}} style
is applied depending on the viewed page.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message