summaryrefslogtreecommitdiff
path: root/mobile/app/main-page.xml
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-25 20:40:16 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-25 20:40:16 +0100
commit466d03a38cb01e9ff9a2d11be113a81c2bdce34a (patch)
treed584482d4ed5e9b8fe569af7ce25594c1bd51d63 /mobile/app/main-page.xml
initial commit
Diffstat (limited to 'mobile/app/main-page.xml')
-rw-r--r--mobile/app/main-page.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/mobile/app/main-page.xml b/mobile/app/main-page.xml
new file mode 100644
index 0000000..03fff55
--- /dev/null
+++ b/mobile/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>