summaryrefslogtreecommitdiff
path: root/mobile-ns/app/main-page.xml
diff options
context:
space:
mode:
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>