ws-thredds-sync-widget/src/main/java/org/gcube/portlets/widgets/wsthreddssync/client/view/binder/MonitorFolderSyncStatusView...

98 lines
3.5 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>
.noBorder {
border: 0px;
}
.myWidth {
width: 500px;
}
.myPaddingLeft{
padding-left: 180px;
}
.myLittleWidth {
width: 20px;
}
.myFormWidth {
width: 750px;
}
</ui:style>
<g:VerticalPanel>
<g:HTMLPanel ui:field="form_monitor_thredds_transfer">
<g:HTMLPanel ui:field="field_loader">
</g:HTMLPanel>
<b:ProgressBar type="DEFAULT" color="INFO" percent="0"
ui:field="progress_percentage" />
<b:Row addStyleNames="{style.myPaddingLeft}">
<b:Column size="2">
<b:ControlGroup ui:field="cg_queued_items">
<b:ControlLabel for="cl_queued_items">Items in queue</b:ControlLabel>
<b:Controls>
<b:TextBox b:id="field_queued_items" ui:field="field_queued_items"
readOnly="true" addStyleNames="{style.myLittleWidth}"></b:TextBox>
</b:Controls>
</b:ControlGroup>
</b:Column>
<b:Column size="2">
<b:ControlGroup ui:field="cg_transferred_items">
<b:ControlLabel for="cl_transferred_items">Transferred items</b:ControlLabel>
<b:Controls>
<b:TextBox b:id="field_transferred_items" ui:field="field_transferred_items"
readOnly="true" addStyleNames="{style.myLittleWidth}">
</b:TextBox>
</b:Controls>
</b:ControlGroup>
</b:Column>
<b:Column size="2">
<b:ControlGroup ui:field="cg_number_error">
<b:ControlLabel for="cl_number_error">Number of Errors</b:ControlLabel>
<b:Controls>
<b:TextBox b:id="field_number_error" ui:field="field_number_error"
readOnly="true" addStyleNames="{style.myLittleWidth}"></b:TextBox>
</b:Controls>
</b:ControlGroup>
</b:Column>
</b:Row>
<b:Form type="HORIZONTAL" addStyleNames="{style.myFormWidth}">
<b:Fieldset styleName="{style.noBorder}">
<!-- <b:ControlGroup ui:field="cg_status"> -->
<!-- <b:ControlLabel for="cl_status">Status</b:ControlLabel> -->
<!-- <b:Controls> -->
<!-- <b:TextBox b:id="field_status" ui:field="field_status" -->
<!-- readOnly="true" addStyleNames="{style.myWidth}"></b:TextBox> -->
<!-- </b:Controls> -->
<!-- </b:ControlGroup> -->
<b:ControlGroup ui:field="cg_current_message">
<b:ControlLabel for="cl_current_message">Status Message</b:ControlLabel>
<b:Controls>
<b:TextArea b:id="field_current_message" ui:field="field_current_message"
readOnly="true" addStyleNames="{style.myWidth}"></b:TextArea>
</b:Controls>
</b:ControlGroup>
<b:ControlGroup ui:field="cg_history_messages">
<b:ControlLabel for="cl_history_messages">Transfer History</b:ControlLabel>
<b:Controls>
<b:TextArea b:id="field_history_messages" ui:field="field_history_messages"
readOnly="true" addStyleNames="{style.myWidth}"></b:TextArea>
</b:Controls>
</b:ControlGroup>
<!-- <b:ControlGroup ui:field="cg_last_sync"> -->
<!-- <b:ControlLabel for="cl_last_sync">Last Sync Time</b:ControlLabel> -->
<!-- <b:Controls> -->
<!-- <b:TextBox b:id="field_last_sync" ui:field="field_last_sync" -->
<!-- readOnly="true"></b:TextBox> -->
<!-- </b:Controls> -->
<!-- </b:ControlGroup> -->
</b:Fieldset>
</b:Form>
</g:HTMLPanel>
<b:Pager left="" right="Close Monitor" aligned="true"
ui:field="pager" />
</g:VerticalPanel>
</ui:UiBinder>