ckan2zenodo-publisher-widget/src/main/java/org/gcube/portlets/widgets/ckan2zenodopublisher/client/ui/authors/CreatorView.ui.xml

39 lines
1.3 KiB
XML

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:b="urn:import:com.github.gwtbootstrap.client.ui">
<ui:style>
.important {
font-weight: bold;
}
.custom-width{
width: 625px !important;
}
</ui:style>
<b:ControlGroup ui:field="cg_authors">
<b:ControlLabel ui:field="field_cl_author">
</b:ControlLabel>
<b:Controls>
<!-- -->
<g:VerticalPanel
addStyleNames="authors-table-spacing">
<b:TextBox alternateSize="SMALL" placeholder="Name"
ui:field="field_name" />
<b:TextBox alternateSize="SMALL" placeholder="Affiliation"
ui:field="field_affiliation" />
<b:TextBox alternateSize="SMALL" placeholder="ORCID"
ui:field="field_orcid" />
<g:HorizontalPanel ui:field="controls_author_type" visible="false">
<b:InputAddOn prependText="Type">
<b:ListBox name="Author type"
ui:field="field_author_type" addStyleNames="{style.custom-width}">
</b:ListBox>
</b:InputAddOn>
</g:HorizontalPanel>
<b:Button icon="REMOVE" text="Remove Author"
visible="false" ui:field="remove_author" type="LINK"></b:Button>
</g:VerticalPanel>
<!-- -->
</b:Controls>
</b:ControlGroup>
</ui:UiBinder>