grsf-manage-widget/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/client/view/ManageRevertOperationWidget...

87 lines
3.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>
.loader-image {
display: block;
margin: auto auto;
}
</ui:style>
<g:HTMLPanel>
<b:Modal ui:field="revertOperationModal" title="Revert Operation"
backdrop="STATIC" keyboard="true" animation="true" closeVisible="true">
<g:VerticalPanel width="100%" ui:field="container">
<!-- Loader image at the beginning -->
<b:Image ui:field="loadingImage" styleName="{style.loader-image}"
visible="true"></b:Image>
<g:VerticalPanel ui:field="moreInfoAboutOperation"
visible="false" width="100%">
<b:Form type="VERTICAL" visible="true" ui:field="formUpdate"
width="100%">
<b:ControlGroup ui:field="originalRequest">
<b:ControlLabel for="requestType" title="Request Type">
<b>Request Type:</b>
</b:ControlLabel>
<b:Controls>
<b:TextArea alternateSize="LARGE" placeholder="Request Type"
visibleLines="2" readOnly="true" width="97%" b:id="requestType"
title="Request Type" ui:field="requestTypeBox" />
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="originalAuthor">
<b:ControlLabel for="requestPerformedBy" title="Request was performed by">
<b>Request was performed by:</b>
</b:ControlLabel>
<b:Controls>
<b:TextArea alternateSize="LARGE" placeholder="Request author"
visibleLines="2" readOnly="true" width="97%" b:id="requestPerformedBy"
title="Request was performed by" ui:field="requestAuthor" />
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="originalRecordUUID">
<b:ControlLabel for="requestPerformedOnRecord"
title="Request was performed on Record">
<b>Request was performed on Record:</b>
</b:ControlLabel>
<b:Controls>
<b:TextArea alternateSize="LARGE"
placeholder="Request performed on record" visibleLines="2"
readOnly="true" width="97%" b:id="requestPerformedOnRecord"
title="Request was performed on Record" ui:field="requestRecordUUID" />
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="originalOperationDate">
<b:ControlLabel for="requestTimestamp" title="Request timestamp">
<b>Request was performed at:</b>
</b:ControlLabel>
<b:Controls>
<b:TextArea alternateSize="LARGE" placeholder="Request timestamp"
visibleLines="2" readOnly="true" width="97%" b:id="requestTimestamp"
title="Request timestamp" ui:field="requestTimestamp" />
</b:Controls>
</b:ControlGroup>
</b:Form>
</g:VerticalPanel>
<!-- Alert blocks for info/errors -->
<b:AlertBlock type="INFO" close="false" animation="true"
visible="false" ui:field="infoBlock"></b:AlertBlock>
</g:VerticalPanel>
<b:ModalFooter>
<b:Icon type="GEAR" spin="true" ui:field="loaderIcon"
visible="false" />
<b:Button ui:field="cancelButton">Cancel</b:Button>
<b:Button icon="FILE" type="PRIMARY" ui:field="revertButton">Revert</b:Button>
</b:ModalFooter>
</b:Modal>
</g:HTMLPanel>
</ui:UiBinder>