summaryrefslogtreecommitdiff
path: root/mobile-ns/app/main-page.xml
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-26 14:51:36 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-26 14:52:57 +0100
commitd3bf2d09f740221771806789b00bf915c9f5f2e3 (patch)
tree95f99eabd763dff1907f107393504ee75aa747d7 /mobile-ns/app/main-page.xml
parent466d03a38cb01e9ff9a2d11be113a81c2bdce34a (diff)
initial commitHEADmain
Diffstat (limited to 'mobile-ns/app/main-page.xml')
-rw-r--r--mobile-ns/app/main-page.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/mobile-ns/app/main-page.xml b/mobile-ns/app/main-page.xml
new file mode 100644
index 0000000..03fff55
--- /dev/null
+++ b/mobile-ns/app/main-page.xml
@@ -0,0 +1,17 @@
+<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo">
+ <ActionBar title="Image Sync" icon="">
+ <ActionItem
+ text="Galleries"
+ tap="{{ goToGalleries }}"
+ />
+ </ActionBar>
+
+ <StackLayout class="p-20">
+ <Label text="Login" class="h1 text-center" />
+
+ <TextField hint="Server" text="{{ server }}" class="h2" />
+ <TextField hint="Username" text="{{ username }}" class="h2" />
+ <TextField hint="Password" text="{{ password }}" secure="true" class="h2" />
+ <Button text="Login" tap="{{ onLogin }}" class="-primary" />
+ </StackLayout>
+</Page>