diff options
Diffstat (limited to 'src/org/traccar/web/client/view/UserDialog.ui.xml')
-rw-r--r-- | src/org/traccar/web/client/view/UserDialog.ui.xml | 47 |
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> |