Updated css
Added breadcrumb root element as 'Workspace" git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@132206 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7fe90d00a7
commit
e8764e5813
|
@ -103,26 +103,13 @@ public class Breadcrumbs extends Composite {
|
||||||
* @param parent the parent
|
* @param parent the parent
|
||||||
*/
|
*/
|
||||||
public void addNavigationLink(FileModel parent) {
|
public void addNavigationLink(FileModel parent) {
|
||||||
/*if (!parent.isRoot()) {
|
|
||||||
final NavLink navLink = new NavLink(parent.getName());
|
|
||||||
navLink.setName(parent.getIdentifier());
|
|
||||||
breadcrumbs.add(navLink);
|
|
||||||
|
|
||||||
navLink.addClickHandler(new ClickHandler() {
|
String linkName = parent.getName();
|
||||||
|
|
||||||
@Override
|
if(parent.isRoot())
|
||||||
public void onClick(ClickEvent event) {
|
linkName = "Workspace";
|
||||||
|
|
||||||
FileModel target = hashFileModel.get(navLink.getName());
|
final NavLink navLink = new NavLink(linkName);
|
||||||
AppController.getEventBus().fireEvent(new PathElementSelectedEvent(target));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
final NavLink navLink = new NavLink("");
|
|
||||||
breadcrumbs.add(navLink);
|
|
||||||
}*/
|
|
||||||
|
|
||||||
final NavLink navLink = new NavLink(parent.getName());
|
|
||||||
navLink.setName(parent.getIdentifier());
|
navLink.setName(parent.getIdentifier());
|
||||||
breadcrumbs.add(navLink);
|
breadcrumbs.add(navLink);
|
||||||
|
|
||||||
|
|
|
@ -323,17 +323,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.myWebDavStyle {
|
.myWebDavStyle {
|
||||||
font-family: Arial, "Times New Roman", Times;
|
font-family: "Helvetica Neue", Arial,"Times New Roman",Times;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Breadcrumbs-Personal {
|
.Breadcrumbs-Personal {
|
||||||
font-family: Arial, "Times New Roman", Georgia, Serif;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
list-style: none outside none;
|
list-style: outside none none;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px !important;
|
||||||
margin-left: 2px;
|
margin-left: 2px !important;
|
||||||
margin-top: 3px;
|
margin-top: 3px !important;
|
||||||
padding: 5px !important;
|
padding: 5px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue