aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/view/UserDialog.ui.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-20 22:35:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-20 22:35:43 +1300
commit6801698dfc9c99b34d7ed081ebcfbec4a8853868 (patch)
treececc80f811b6c3a594b9da272a7c65d3a9695315 /src/org/traccar/web/client/view/UserDialog.ui.xml
parent0e766c9024e2457320f64353e29bb5e2d8294b28 (diff)
downloadtrackermap-web-6801698dfc9c99b34d7ed081ebcfbec4a8853868.tar.gz
trackermap-web-6801698dfc9c99b34d7ed081ebcfbec4a8853868.tar.bz2
trackermap-web-6801698dfc9c99b34d7ed081ebcfbec4a8853868.zip
Added account dialog
Diffstat (limited to 'src/org/traccar/web/client/view/UserDialog.ui.xml')
-rw-r--r--src/org/traccar/web/client/view/UserDialog.ui.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/org/traccar/web/client/view/UserDialog.ui.xml b/src/org/traccar/web/client/view/UserDialog.ui.xml
new file mode 100644
index 00000000..c16ad4c3
--- /dev/null
+++ b/src/org/traccar/web/client/view/UserDialog.ui.xml
@@ -0,0 +1,47 @@
+<!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, 140" modal="true" headingText="Account" focusWidget="{saveButton}">
+ <container:VerticalLayoutContainer>
+ <container:child layoutData="{verticalLayoutData}">
+ <form:FieldLabel text="User">
+ <form:widget>
+ <form:TextField ui:field="login" />
+ </form:widget>
+ </form:FieldLabel>
+ </container:child>
+ <container:child layoutData="{verticalLayoutData}">
+ <form:FieldLabel text="Password">
+ <form:widget>
+ <form:PasswordField ui:field="password" />
+ </form:widget>
+ </form:FieldLabel>
+ </container:child>
+ <container:child layoutData="{verticalLayoutData}">
+ <form:FieldLabel text="Administrator">
+ <form:widget>
+ <form:CheckBox ui:field="admin" enabled="false" />
+ </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>