geoportal-data-entry-app/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/ui/CloneOperationPanel.ui.xml

96 lines
2.7 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:b="urn:import:com.github.gwtbootstrap.client.ui"
xmlns:g="urn:import:com.google.gwt.user.client.ui">
<ui:style>
.form-main-style {
margin-left: 10px;
}
.fieldset-border-style {
border: 1px groove #444 !important;
box-shadow: 0px 0px 0px 0px #000 !important;
padding: 10px !important;
margin: 5px !important;
}
.legend-style {
width: auto !important;
padding: 10px !important;
margin-bottom: 0 !important;
border-bottom: 0 !important;
}
@external .form-horizontal .input-large;
.form-horizontal .input-large {
width: 95%;
}
.block-alert-style {
margin-top: 10px;
padding: 10px;
margin-bottom: 10px;
}
.button-save-style {
margin-top: 10px;
float: right;
}
</ui:style>
<g:HTMLPanel>
<b:Form type="HORIZONTAL" styleName="{style.form-main-style}"
ui:field="form">
<b:AlertBlock type="INFO" animation="true" close="false"
ui:field="infoProjectName" styleName="{style.block-alert-style}"></b:AlertBlock>
<b:Fieldset styleName="{style.fieldset-border-style}">
<b:Legend styleName="{style.legend-style}">
Clone Project
<small>
<span style="color:red;">*</span>
is required
</small>
</b:Legend>
<b:ControlGroup>
<b:ControlLabel for="name" title="Item Name">
<font color="red">*</font>
Name :
</b:ControlLabel>
<b:Controls>
<b:TextBox alternateSize="LARGE"
placeholder="Type the project name.." b:id="url"
title="Project's name" ui:field="projectNameTextBox" />
</b:Controls>
</b:ControlGroup>
<b:ControlGroup>
<b:ControlLabel for="publish" title="Publish">
<font color="red">*</font>
Publish :
</b:ControlLabel>
<b:Controls>
<b:CheckBox ui:field="checkBoxPublish">the Project in GNA</b:CheckBox>
</b:Controls>
<g:HTML>By selecting "Publish", the Project will be cloned and
published in GNA (the centroid of the layer/s will be
calculated and
selectable by GNA (Map) Viewer). No otherwise, the
Project will just be cloned and avaialbe for editing in the GNA
Data Entry.</g:HTML>
</b:ControlGroup>
<!-- Alert blocks for info/errors -->
<b:AlertBlock type="INFO" animation="true"
visible="false" close="false" ui:field="infoBlock"
styleName="{style.block-alert-style}"></b:AlertBlock>
</b:Fieldset>
</b:Form>
<g:FlowPanel>
<b:Button title="Submit" ui:field="submitButton"
visible="true" type="PRIMARY"
addStyleNames="{style.button-save-style}">Clone as New Project</b:Button>
</g:FlowPanel>
</g:HTMLPanel>
</ui:UiBinder>