Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 216359 Details for
Bug 380825
Highlight the active page in the primaryNav bar.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
patch used to create the screenshot
highlight.txt (text/plain), 1.91 KB, created by
Mike Wilson
on 2012-05-28 13:26:21 EDT
(
hide
)
Description:
patch used to create the screenshot
Filename:
MIME Type:
Creator:
Mike Wilson
Created:
2012-05-28 13:26:21 EDT
Size:
1.91 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.core/web/css/ide.css b/bundles/org.eclipse.orion.client.core/web/css/ide.css >index 6f3623d..4ac23c5 100644 >--- a/bundles/org.eclipse.orion.client.core/web/css/ide.css >+++ b/bundles/org.eclipse.orion.client.core/web/css/ide.css >@@ -132,6 +132,15 @@ > vertical-align: baseline; > } > >+.primaryNav .activePage { >+ color: white; >+ padding-top: 7px; >+ border-top: 2px solid #FFCB00; >+ margin-right: 6px; >+ margin-left: 6px; >+ font-weight:bolder; >+} >+ > .primaryNav a { > font-size: 10px; > color: #BFBFBF; >diff --git a/bundles/org.eclipse.orion.client.core/web/orion/globalCommands.js b/bundles/org.eclipse.orion.client.core/web/orion/globalCommands.js >index c0a0760..eac4678 100644 >--- a/bundles/org.eclipse.orion.client.core/web/orion/globalCommands.js >+++ b/bundles/org.eclipse.orion.client.core/web/orion/globalCommands.js >@@ -537,7 +537,14 @@ > if (info.uriTemplate && info.name) { > var uriTemplate = new URITemplate(info.uriTemplate); > var expandedHref = window.decodeURIComponent(uriTemplate.expand(locationObject)); >- var link = dojo.create("a", {href: expandedHref, target: target, 'class':'targetSelector'}, primaryNav, "last"); //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$ >+ var thisPageRefString = window.location.toString(); >+ var uriTemplateRootString = expandedHref.substring(0, thisPageRefString.length); >+ var link = null; >+ if (thisPageRefString === uriTemplateRootString) { >+ link = dojo.create("span", {href: expandedHref, target: target, 'class':'activePage'}, primaryNav, "last"); //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$ >+ } else { >+ link = dojo.create("a", {href: expandedHref, target: target, 'class':'targetSelector'}, primaryNav, "last"); //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$ >+ } > text = document.createTextNode(info.name); > dojo.place(text, link, "only"); //$NON-NLS-0$ > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 380825
: 216359 |
216360