Project

General

Profile

« Previous | Next » 

Revision 47413

Run compatibility test widget (select cris parameters step) with the new template

View differences:

modules/uoa-repository-manager-gui/branches/newtheme/src/main/java/eu/dnetlib/repo/manager/client/validator/test/SelectCrisParametersWidget.java
34 34
    private FlowPanel referentialIntegrityPanel = new FlowPanel();
35 35
    private HTML referentialIntegrityLabel = new HTML();
36 36
    private Form referentialIntegrityForm = new Form();
37
    private FlowPanel referentialIntegrityInlinePanel = new FlowPanel();
37 38
    private RadioButton yesReferentialIntegrityRadio = new RadioButton("referentialIntegrity", "Yes", false);
38 39
    private RadioButton noReferentialIntegrityRadio = new RadioButton("referentialIntegrity", "No", false);
39 40

  
......
55 56
            crisEntitiesVocabulary.add(new Vocabulary(crisEntity, crisEntity));
56 57
        multiSelectWidget = new MultiSelectWidget(crisEntitiesVocabulary, "Entities");
57 58

  
58
        crisEntitiesPanel.addStyleName("marginBottom20");
59
        crisEntitiesPanel.addStyleName("marginBottom20 uk-margin-top");
59 60
        crisEntitiesPanel.add(crisEntitiesLabel);
60 61
        crisEntitiesPanel.add(multiSelectWidget);
61 62

  
......
66 67
        referentialIntegrityPanel.add(referentialIntegrityLabel);
67 68
        referentialIntegrityPanel.add(referentialIntegrityForm);
68 69

  
69
        referentialIntegrityForm.addStyleName("row");
70
        referentialIntegrityForm.addStyleName("uk-grid");
70 71
        referentialIntegrityForm.setType(FormType.INLINE);
71 72

  
73
        referentialIntegrityInlinePanel.addStyleName("uk-width-1-1");
74
        referentialIntegrityForm.add(referentialIntegrityInlinePanel);
75

  
72 76
        yesReferentialIntegrityRadio.setType(ButtonType.LINK);
73 77
        yesReferentialIntegrityRadio.setValue(true);
74
        referentialIntegrityForm.add(yesReferentialIntegrityRadio);
78
        referentialIntegrityInlinePanel.add(yesReferentialIntegrityRadio);
75 79

  
76 80
        noReferentialIntegrityRadio.setType(ButtonType.LINK);
77
        referentialIntegrityForm.add(noReferentialIntegrityRadio);
81
        referentialIntegrityInlinePanel.add(noReferentialIntegrityRadio);
78 82
    }
79 83

  
80 84
    @Override

Also available in: Unified diff