From 5ec2486c57ce6de4016f60497562d833dce9aad1 Mon Sep 17 00:00:00 2001 From: Donovan Preston Date: Mon, 24 Sep 2018 12:30:27 -0400 Subject: [PATCH] Add ui for setting max downloads, max time, and password. --- android/android.js | 4 + android/app/app.iml | 5 +- android/app/src/main/assets/index.css | 16 ++++ android/app/src/main/assets/preferences.png | Bin 0 -> 3552 bytes android/app/src/main/assets/top-banner.png | Bin 0 -> 5499 bytes android/pages/error.js | 10 +++ android/pages/home.js | 10 ++- android/pages/options.js | 94 ++++++++++++++++++++ 8 files changed, 134 insertions(+), 5 deletions(-) create mode 100644 android/app/src/main/assets/preferences.png create mode 100644 android/app/src/main/assets/top-banner.png create mode 100644 android/pages/error.js create mode 100644 android/pages/options.js diff --git a/android/android.js b/android/android.js index c7b0c4b4..1055146c 100644 --- a/android/android.js +++ b/android/android.js @@ -24,7 +24,11 @@ app.use(require('./stores/state').default); app.use(require('../app/fileManager').default); app.use(require('./stores/intents').default); app.route('/', require('./pages/home').default); +app.route('/options', require('./pages/options').default); app.route('/upload', require('./pages/upload').default); app.route('/share/:id', require('./pages/share').default); app.route('/preferences', require('./pages/preferences').default); +app.route('/error', require('./pages/error').default); +//app.route('/debugging', require('./pages/debugging').default); +// add /api/filelist app.mount('body'); diff --git a/android/app/app.iml b/android/app/app.iml index 42cb679c..bfc58132 100644 --- a/android/app/app.iml +++ b/android/app/app.iml @@ -22,13 +22,14 @@ - +