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
|
||||
*/
|
||||
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
|
||||
public void onClick(ClickEvent event) {
|
||||
if(parent.isRoot())
|
||||
linkName = "Workspace";
|
||||
|
||||
FileModel target = hashFileModel.get(navLink.getName());
|
||||
AppController.getEventBus().fireEvent(new PathElementSelectedEvent(target));
|
||||
}
|
||||
});
|
||||
} else {
|
||||
final NavLink navLink = new NavLink("");
|
||||
breadcrumbs.add(navLink);
|
||||
}*/
|
||||
|
||||
final NavLink navLink = new NavLink(parent.getName());
|
||||
final NavLink navLink = new NavLink(linkName);
|
||||
navLink.setName(parent.getIdentifier());
|
||||
breadcrumbs.add(navLink);
|
||||
|
||||
|
|
|
@ -323,17 +323,15 @@
|
|||
}
|
||||
|
||||
.myWebDavStyle {
|
||||
font-family: Arial, "Times New Roman", Times;
|
||||
font-family: "Helvetica Neue", Arial,"Times New Roman",Times;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.Breadcrumbs-Personal {
|
||||
font-family: Arial, "Times New Roman", Georgia, Serif;
|
||||
font-size: 12px;
|
||||
list-style: none outside none;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 2px;
|
||||
margin-top: 3px;
|
||||
list-style: outside none none;
|
||||
margin-bottom: 3px !important;
|
||||
margin-left: 2px !important;
|
||||
margin-top: 3px !important;
|
||||
padding: 5px !important;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue