aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/view/DeviceDialog.ui.xml
blob: 4f7ccc567b85b6d1dcec3d508d4df40f1ec89d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!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:gxt="urn:import:com.sencha.gxt.widget.core.client"
  	xmlns:container="urn:import:com.sencha.gxt.widget.core.client.container"
  	xmlns:form="urn:import:com.sencha.gxt.widget.core.client.form"
  	xmlns:button="urn:import:com.sencha.gxt.widget.core.client.button">

  <ui:with type="com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData" field="verticalLayoutData">
    <ui:attributes width="1" height="-1" />
  </ui:with>
 
  <gxt:Window ui:field="window" pixelSize="300, 130" modal="true" headingText="Device" focusWidget="{saveButton}">
    <container:VerticalLayoutContainer>
      <container:child layoutData="{verticalLayoutData}">
        <form:FieldLabel text="Name">
          <form:widget>
            <form:TextField ui:field="name" />
          </form:widget>
        </form:FieldLabel>
      </container:child>
      <container:child layoutData="{verticalLayoutData}">
        <form:FieldLabel text="Unique Identifier">
          <form:widget>
            <form:TextField ui:field="uniqueId" />
          </form:widget>
        </form:FieldLabel>
      </container:child>
    </container:VerticalLayoutContainer>
      
    <gxt:button>
      <button:TextButton ui:field="saveButton" text="Save" />
    </gxt:button>
    <gxt:button>
      <button:TextButton ui:field="cancelButton" text="Cancel" />
    </gxt:button>
  </gxt:Window>

</ui:UiBinder>