Skip to content

Commit

Permalink
ordering + colors for preview and change archetype buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Sep 24, 2021
1 parent 091d7bc commit c58924c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public boolean isVisible() {

@Override
protected void addButtons(RepeatingView repeatingView) {
super.addButtons(repeatingView);
createPreviewButton(repeatingView);
super.addButtons(repeatingView);
}

private void createPreviewButton(RepeatingView repeatingView) {
Expand All @@ -70,7 +70,7 @@ public void onClick(AjaxRequestTarget ajaxRequestTarget) {
}
};
preview.showTitleAsLabel(true);
preview.add(AttributeAppender.append("class", "btn btn-default btn-sm"));
preview.add(AttributeAppender.append("class", "btn btn-info btn-sm"));
repeatingView.add(preview);
}

Expand Down

0 comments on commit c58924c

Please sign in to comment.