aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/view/ApplicationSettingsDialog.ui.xml
blob: effdc4ad6754be0102f2e102ac800ac7316b1d92 (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
<!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, 110" modal="true" headingText="Global Settings" focusWidget="{saveButton}">
    <container:VerticalLayoutContainer>
      <container:child layoutData="{verticalLayoutData}">
        <form:FieldLabel text="Registration">
          <form:widget>
            <form:CheckBox ui:field="registrationEnabled" />
          </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>