112 lines
2.9 KiB
XML
112 lines
2.9 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;
|
|
}
|
|
|
|
.margin-top-20 {
|
|
margin-top: 20px;
|
|
}
|
|
</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}">
|
|
Publish/UnPublish 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" b:id="name"
|
|
title="Project's name" ui:field="projectNameTextBox" />
|
|
</b:Controls>
|
|
</b:ControlGroup>
|
|
|
|
<b:ControlGroup>
|
|
<b:ControlLabel for="publish" title="Publish">
|
|
<font color="red">*</font>
|
|
Operation :
|
|
</b:ControlLabel>
|
|
<b:Controls>
|
|
<b:ListBox ui:field="listBoxPublisUnPublish"></b:ListBox>
|
|
</b:Controls>
|
|
<g:HTMLPanel styleName="{style.margin-top-20}">
|
|
<g:HTML>By selecting "Publish", the Project will
|
|
be published in
|
|
GNA
|
|
(the centroid of the layer/s will be
|
|
calculated
|
|
and
|
|
selectable by
|
|
GNA
|
|
(Map) Viewer)</g:HTML>
|
|
<g:HTML>By selecting "UnPublish"
|
|
the Project will be
|
|
unpublished
|
|
from
|
|
GNA and the centroid of the layer/s will be
|
|
removed and not
|
|
selectable by GNA
|
|
(Map) Viewer</g:HTML>
|
|
</g:HTMLPanel>
|
|
</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}">Confirm</b:Button>
|
|
</g:FlowPanel>
|
|
</g:HTMLPanel>
|
|
</ui:UiBinder> |