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

136 lines
4.4 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"
xmlns:ctag="urn:import:org.gcube.portlets.widgets.ckan2zenodopublisher.client.ui.tags"
xmlns:b2="urn:import:com.github.gwtbootstrap.datepicker.client.ui">
<ui:style>
.noBorder {
border: 0px;
}
.margin-left-100 {
margin-left: 80px;
}
</ui:style>
<g:HTMLPanel>
<g:HTMLPanel ui:field="html_panel_field">
<b:Form type="HORIZONTAL">
<b:Fieldset styleName="{style.noBorder}"
ui:field="fieldset_basic_informations">
<b:Legend addStyleNames="legend-style">
Item Information
<small>
<span style="color:red;">*</span>
is required
</small>
</b:Legend>
<b:Alert ui:field="error_alert" type="ERROR"
visible="false" close="false"></b:Alert>
<b:ControlGroup ui:field="cg_doi_url">
<b:ControlLabel for="cl_doi_url">Digital Object Identifier</b:ControlLabel>
<b:Controls>
<b:TextBox name="DOI" b:id="field_doi"
ui:field="field_doi" addStyleNames="my-external-select-width"
readOnly="true">
</b:TextBox>
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="cg_title">
<b:ControlLabel for="cl_title" ui:field="cl_title">
<font color="red">*</font>
Title
</b:ControlLabel>
<b:Controls>
<!-- <b:InputAddOn prependIcon="BOOK"> -->
<b:TextBox name="Title" b:id="field_title"
ui:field="field_title">
</b:TextBox>
<!-- </b:InputAddOn> -->
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="cg_description">
<b:ControlLabel for="cl_description" ui:field="cl_description">
<font color="red">*</font>
Description
</b:ControlLabel>
<b:Controls>
<!-- <b:InputAddOn prependIcon="PENCIL"> -->
<b:TextArea name="Description"
ui:field="field_description"></b:TextArea>
<!-- </b:InputAddOn> -->
</b:Controls>
</b:ControlGroup>
<ctag:TagsPanel ui:field="the_tags_panel"></ctag:TagsPanel>
<b:ControlGroup ui:field="cg_upload_type">
<b:ControlLabel for="cg_upload_type" ui:field="cl_upload_type">
Upload type
</b:ControlLabel>
<b:Controls>
<!-- <b:InputAddOn prependIcon="BOOK"> -->
<b:ListBox name="Upload type"
ui:field="field_upload_type">
</b:ListBox>
<!-- </b:InputAddOn> -->
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="cg_publication_type">
<b:ControlLabel for="cl_publication_type" ui:field="cl_publication_type">
Publication type
</b:ControlLabel>
<b:Controls>
<!-- <b:InputAddOn prependIcon="BOOK"> -->
<b:ListBox name="Publication type"
ui:field="field_publication_type">
</b:ListBox>
<!-- </b:InputAddOn> -->
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="cg_access_right">
<b:ControlLabel for="cl_access_right" ui:field="cl_access_right">
Access right
</b:ControlLabel>
<b:Controls>
<!-- <b:InputAddOn prependIcon="BOOK"> -->
<b:ListBox name="Access right"
ui:field="field_access_right">
</b:ListBox>
<!-- </b:InputAddOn> -->
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="cg_license">
<b:ControlLabel for="cl_license" ui:field="cl_license">
License
</b:ControlLabel>
<b:Controls>
<!-- <b:InputAddOn prependIcon="BOOK"> -->
<b:ListBox name="License" ui:field="field_license">
</b:ListBox>
<!-- </b:InputAddOn> -->
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="cg_publication_date">
<b:ControlLabel for="cl_publication_date" ui:field="cl_publication_date">
Publication date
</b:ControlLabel>
<b:Controls>
<b2:DateBox format="dd/mm/yyyy" autoClose="true"
ui:field="field_publication_date" />
</b:Controls>
</b:ControlGroup>
<!-- <b:Label type="INFO" ui:field="label_files" -->
<!-- addStyleNames="{style.margin-left-100}" visible="false">File/s</b:Label> -->
</b:Fieldset>
</b:Form>
</g:HTMLPanel>
<!-- <b:Pager left="Back" right="Next" -->
<!-- aligned="true" ui:field="pager" /> -->
</g:HTMLPanel>
</ui:UiBinder>