64 lines
2.2 KiB
XML
64 lines
2.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" xmlns:b="urn:import:com.github.gwtbootstrap.client.ui">
|
|
<ui:style>
|
|
.legend-style {
|
|
width: auto;
|
|
padding: 10px;
|
|
margin-bottom: 0px;
|
|
}
|
|
</ui:style>
|
|
<g:HTMLPanel>
|
|
<b:Form type="VERTICAL">
|
|
<!-- <b:Fieldset styleName="{style.fieldset-border-style}"> -->
|
|
<b:Legend styleName="{style.legend-style}">
|
|
Resource Information
|
|
</b:Legend>
|
|
<b:Label></b:Label>
|
|
<b:ControlGroup ui:field="controlName">
|
|
<b:ControlLabel for="name"
|
|
title="The name the resource will have on the catalogue">
|
|
<b>Name:</b>
|
|
</b:ControlLabel>
|
|
<b:Controls>
|
|
<b:TextBox placeholder="Resource name" b:id="name"
|
|
title="The name the resource will have on the catalogue" ui:field="resourceName" />
|
|
</b:Controls>
|
|
</b:ControlGroup>
|
|
<b:ControlGroup>
|
|
<b:ControlLabel for="path" title="Resource path">
|
|
<b>Path:</b>
|
|
</b:ControlLabel>
|
|
<b:Controls>
|
|
<b:TextBox placeholder="Resource path" b:id="path"
|
|
readOnly="true" title="Resource path" ui:field="resourcePath" />
|
|
</b:Controls>
|
|
</b:ControlGroup>
|
|
<b:ControlGroup>
|
|
<b:ControlLabel for="description"
|
|
title="The description the resource will have on the catalogue">
|
|
<b>Description:</b>
|
|
</b:ControlLabel>
|
|
<b:Controls>
|
|
<b:TextArea placeholder="Resource description" b:id="description"
|
|
title="The description the resource will have on the catalogue"
|
|
ui:field="resourceDescription"></b:TextArea>
|
|
</b:Controls>
|
|
</b:ControlGroup>
|
|
<b:ControlGroup>
|
|
<b:ControlLabel for="format" title="The MIME type">
|
|
<b>Format:</b>
|
|
</b:ControlLabel>
|
|
<b:Controls>
|
|
<b:TextBox placeholder="Resource format" b:id="format"
|
|
title="The MIME type" ui:field="resourceFormat" readOnly="true" />
|
|
</b:Controls>
|
|
</b:ControlGroup>
|
|
<g:HorizontalPanel width="100%" ui:field="commandPanel">
|
|
<!-- <b:Button ui:field="cancelButton">Cancel</b:Button> -->
|
|
<b:Button ui:field="updateResourceButton" type="PRIMARY">Update</b:Button>
|
|
</g:HorizontalPanel>
|
|
<!-- </b:Fieldset> -->
|
|
</b:Form>
|
|
</g:HTMLPanel>
|
|
</ui:UiBinder> |