48 lines
1.2 KiB
XML
48 lines
1.2 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">
|
|
<ui:style>
|
|
.image-preview {
|
|
align: left;
|
|
margin-right: 5px;
|
|
margin-left: 2px;
|
|
display: inline;
|
|
margin-top: 5px;
|
|
height: 40px;
|
|
}
|
|
|
|
.attach-result {
|
|
vertical-align: top;
|
|
display: inline-block;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.image-result {
|
|
margin-left: 4px;
|
|
width: 10px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.container-style {
|
|
border-style: solid;
|
|
background-color: #DCDCDC;
|
|
border-width: thin;
|
|
margin-left: 30px;
|
|
margin-top: 1px;
|
|
width: 565px;
|
|
}
|
|
|
|
</ui:style>
|
|
<g:HTMLPanel styleName="{style.container-style}">
|
|
<g:Image styleName="{style.image-preview}" ui:field="imagePreview"></g:Image>
|
|
<g:VerticalPanel styleName="{style.attach-result}">
|
|
<g:Label ui:field="fileName"></g:Label>
|
|
<g:HorizontalPanel ui:field="attachmentResult">
|
|
<g:Label ui:field="resultLabel"></g:Label>
|
|
<g:Image styleName="{style.image-result}" ui:field="resultImage"></g:Image>
|
|
</g:HorizontalPanel>
|
|
</g:VerticalPanel>
|
|
<g:HTML ui:field="deleteAttachment"></g:HTML>
|
|
</g:HTMLPanel>
|
|
</ui:UiBinder> |