Esempio n. 1
0
  private Div createProjectHeaderRow() {
    Div projectHeader = new Div();
    projectHeader.setStyleName("row");
    Div left = new Div();
    left.setStyleName("span8 cols");
    Div right = new Div();
    right.setStyleName("span4 cols");

    projectHeader.add(left);
    projectHeader.add(right);

    BreadCrumbList breadcrumbs = new BreadCrumbList();
    breadcrumbs.push(new BreadCrumb(profileLink));
    breadcrumbs.push(new BreadCrumb(projectLink));

    Heading heading = new Heading(1);
    pulse.setStyleName("badge");
    heading.add(pulse);
    heading.add(new Span(" "));
    heading.add(breadcrumbs);
    heading.addStyleName("project-title");

    left.add(heading);
    return projectHeader;
  }
Esempio n. 2
0
  private Div createProjectBodyRow() {
    Div projectHeader = new Div();
    projectHeader.setStyleName("row");
    Div left = new Div();
    left.setStyleName("span6 cols");
    Div right = new Div();
    right.setStyleName("span6 cols");

    projectHeader.add(left);
    projectHeader.add(right);

    right.add(iterationList);
    left.add(storyList);
    return projectHeader;
  }