Compare commits
12 Commits
Framework7
...
master
Author | SHA1 | Date | |
---|---|---|---|
6391d9261d | |||
5dd6ec9403 | |||
c617940c40 | |||
c1ffdc7a5d | |||
d006684147 | |||
07614c76f6 | |||
5c549225c7 | |||
36acd0ff06 | |||
7963613cd3 | |||
136e7fa660 | |||
ae9fdb2654 | |||
21479f2940 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@ nbproject/private
|
|||||||
platforms
|
platforms
|
||||||
plugins
|
plugins
|
||||||
node_modules
|
node_modules
|
||||||
/www/old/
|
/www/old/
|
||||||
|
build.json
|
@ -3,7 +3,7 @@ Netsyms Mobile
|
|||||||
|
|
||||||
A mobile app for easy and secure access to the Netsyms Apps on the go.
|
A mobile app for easy and secure access to the Netsyms Apps on the go.
|
||||||
|
|
||||||
https://netsyms.biz/apps/bizmobile
|
https://netsyms.biz/apps/netsymsmobile
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<widget id="com.netsyms.apps.Mobile" version="2.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
<widget id="com.netsyms.apps.Mobile" version="2.0.3" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
<name>Netsyms</name>
|
<name>Netsyms</name>
|
||||||
<description>
|
<description>
|
||||||
Securely use the Netsyms Apps from your phone or tablet.
|
Securely use the Netsyms Apps from your phone or tablet.
|
||||||
@ -33,7 +33,7 @@
|
|||||||
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
|
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
|
||||||
<application android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" />
|
<application android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" />
|
||||||
</edit-config>
|
</edit-config>
|
||||||
<resource-file src="res/android/values/ic_launcher_background.xml" target="app/src/main/res/values/ic_launcher_background.xml" />
|
<resource-file src="res/android/drawable/ic_launcher_background.xml" target="app/src/main/res/drawable/ic_launcher_background.xml" />
|
||||||
<resource-file src="res/android/drawable/ic_launcher_foreground.xml" target="app/src/main/res/drawable/ic_launcher_foreground.xml" />
|
<resource-file src="res/android/drawable/ic_launcher_foreground.xml" target="app/src/main/res/drawable/ic_launcher_foreground.xml" />
|
||||||
<resource-file src="res/android/mipmap-anydpi-v26/ic_launcher.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" />
|
<resource-file src="res/android/mipmap-anydpi-v26/ic_launcher.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" />
|
||||||
<resource-file src="res/android/mipmap-anydpi-v26/ic_launcher_round.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml" />
|
<resource-file src="res/android/mipmap-anydpi-v26/ic_launcher_round.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml" />
|
||||||
|
@ -46,7 +46,7 @@ made subject to such option by the copyright holder.
|
|||||||
<!--
|
<!--
|
||||||
Generated file; DO NOT EDIT.
|
Generated file; DO NOT EDIT.
|
||||||
-->
|
-->
|
||||||
<project name="BusinessMobile" basedir="..">
|
<project name="NetsymsMobile" basedir="..">
|
||||||
<property file="nbproject/configs/${config}.properties" />
|
<property file="nbproject/configs/${config}.properties" />
|
||||||
|
|
||||||
<scriptdef name="checkVersion" language="javascript">
|
<scriptdef name="checkVersion" language="javascript">
|
||||||
@ -59,7 +59,7 @@ made subject to such option by the copyright holder.
|
|||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
</scriptdef>
|
</scriptdef>
|
||||||
|
|
||||||
<scriptdef name="forDevice" language="javascript">
|
<scriptdef name="forDevice" language="javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var dev = project.getProperty("device");
|
var dev = project.getProperty("device");
|
||||||
@ -77,7 +77,7 @@ made subject to such option by the copyright holder.
|
|||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="upgrade-to-cordova-project" depends="check-cordova-project,check-cordova-version" unless="cordova.project">
|
<target name="upgrade-to-cordova-project" depends="check-cordova-project,check-cordova-version" unless="cordova.project">
|
||||||
<echo level="info" message="${cordova.command} -d create ${java.io.tmpdir}/nb_temp_project com.coolappz.${project.name} ${project.name}" />
|
<echo level="info" message="${cordova.command} -d create ${java.io.tmpdir}/nb_temp_project com.coolappz.${project.name} ${project.name}" />
|
||||||
<delete dir="${java.io.tmpdir}/nb_temp_project"/>
|
<delete dir="${java.io.tmpdir}/nb_temp_project"/>
|
||||||
@ -85,8 +85,8 @@ made subject to such option by the copyright holder.
|
|||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||||
<arg value="-d"/>
|
<arg value="-d"/>
|
||||||
<arg value="create"/>
|
<arg value="create"/>
|
||||||
<arg value="${java.io.tmpdir}/nb_temp_project"/>
|
<arg value="${java.io.tmpdir}/nb_temp_project"/>
|
||||||
<arg value="com.coolappz.${project.name}"/>
|
<arg value="com.coolappz.${project.name}"/>
|
||||||
<arg value="${project.name}" />
|
<arg value="${project.name}" />
|
||||||
</exec>
|
</exec>
|
||||||
@ -106,8 +106,8 @@ made subject to such option by the copyright holder.
|
|||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||||
<arg value="-d"/>
|
<arg value="-d"/>
|
||||||
<arg value="create"/>
|
<arg value="create"/>
|
||||||
<arg value="www_nb_temp"/>
|
<arg value="www_nb_temp"/>
|
||||||
<arg value="com.coolappz.${project.name}"/>
|
<arg value="com.coolappz.${project.name}"/>
|
||||||
<arg value="${project.name}" />
|
<arg value="${project.name}" />
|
||||||
</exec>
|
</exec>
|
||||||
@ -117,26 +117,26 @@ made subject to such option by the copyright holder.
|
|||||||
<delete dir="www_nb_temp"/>
|
<delete dir="www_nb_temp"/>
|
||||||
<delete file="www/config.xml"/>
|
<delete file="www/config.xml"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<taskdef
|
<taskdef
|
||||||
classname="org.netbeans.modules.cordova.updatetask.ReadConfigTask"
|
classname="org.netbeans.modules.cordova.updatetask.ReadConfigTask"
|
||||||
classpath="${update.task.jar}"
|
classpath="${update.task.jar}"
|
||||||
name="readconfig"/>
|
name="readconfig"/>
|
||||||
|
|
||||||
<taskdef
|
<taskdef
|
||||||
classname="org.netbeans.modules.cordova.updatetask.PluginTask"
|
classname="org.netbeans.modules.cordova.updatetask.PluginTask"
|
||||||
classpath="${update.task.jar}"
|
classpath="${update.task.jar}"
|
||||||
name="plugintask"/>
|
name="plugintask"/>
|
||||||
|
|
||||||
|
|
||||||
<target name="check-cordova-version">
|
<target name="check-cordova-version">
|
||||||
<property environment="env"/>
|
<property environment="env"/>
|
||||||
<checkVersion first="${cordova.version}" property="cordova.ver.3"/>
|
<checkVersion first="${cordova.version}" property="cordova.ver.3"/>
|
||||||
<fail message="Cordova version 3 or greater required." unless="cordova.ver.3"/>
|
<fail message="Cordova version 3 or greater required." unless="cordova.ver.3"/>
|
||||||
<readconfig/>
|
<readconfig/>
|
||||||
<forDevice/>
|
<forDevice/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="check-android-template">
|
<target name="check-android-template">
|
||||||
<available file="platforms/android" property="android.generated.exists"/>
|
<available file="platforms/android" property="android.generated.exists"/>
|
||||||
</target>
|
</target>
|
||||||
@ -144,27 +144,27 @@ made subject to such option by the copyright holder.
|
|||||||
<target name="check-ios-template">
|
<target name="check-ios-template">
|
||||||
<available file="platforms/ios" property="ios.generated.exists"/>
|
<available file="platforms/ios" property="ios.generated.exists"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="create-android" depends="check-android-template,check-cordova-version,upgrade-to-cordova-project" unless="android.generated.exists">
|
<target name="create-android" depends="check-android-template,check-cordova-version,upgrade-to-cordova-project" unless="android.generated.exists">
|
||||||
<echo level="info" message="${cordova.command} -d platform add android"/>
|
<echo level="info" message="${cordova.command} -d platform add android"/>
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||||
<arg value="-d"/>
|
<arg value="-d"/>
|
||||||
<arg value="platform"/>
|
<arg value="platform"/>
|
||||||
<arg value="add"/>
|
<arg value="add"/>
|
||||||
<arg value="android"/>
|
<arg value="android"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="create-ios" depends="check-ios-template,check-cordova-version,upgrade-to-cordova-project" unless="ios.generated.exists">
|
<target name="create-ios" depends="check-ios-template,check-cordova-version,upgrade-to-cordova-project" unless="ios.generated.exists">
|
||||||
<echo level="info" message="${cordova.command} -d platform add ios"/>
|
<echo level="info" message="${cordova.command} -d platform add ios"/>
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" dir="." failonerror="true">
|
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" dir="." failonerror="true">
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||||
<arg value="-d"/>
|
<arg value="-d"/>
|
||||||
<arg value="platform"/>
|
<arg value="platform"/>
|
||||||
<arg value="add"/>
|
<arg value="add"/>
|
||||||
<arg value="ios"/>
|
<arg value="ios"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
@ -178,23 +178,23 @@ made subject to such option by the copyright holder.
|
|||||||
<exec executable="xcodebuild" dir="platforms/ios" failonerror="true">
|
<exec executable="xcodebuild" dir="platforms/ios" failonerror="true">
|
||||||
<arg value="-project"/>
|
<arg value="-project"/>
|
||||||
<arg value="${project.name}.xcodeproj"/>
|
<arg value="${project.name}.xcodeproj"/>
|
||||||
<arg value="ARCHS=${ios.build.arch}"/>
|
<arg value="ARCHS=${ios.build.arch}"/>
|
||||||
<arg value="-target"/>
|
<arg value="-target"/>
|
||||||
<arg value="${project.name}"/>
|
<arg value="${project.name}"/>
|
||||||
<arg value="-configuration"/>
|
<arg value="-configuration"/>
|
||||||
<arg value="Release"/>
|
<arg value="Release"/>
|
||||||
<arg value="-sdk"/>
|
<arg value="-sdk"/>
|
||||||
<arg value="${ios.build.sdk}" />
|
<arg value="${ios.build.sdk}" />
|
||||||
<arg value="build"/>
|
<arg value="build"/>
|
||||||
<arg value="CONFIGURATION_BUILD_DIR=${path}"/>
|
<arg value="CONFIGURATION_BUILD_DIR=${path}"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build-ios-ipa" if="build.for.device">
|
<target name="build-ios-ipa" if="build.for.device">
|
||||||
<exec executable="xcrun" dir="platforms/ios/build" failonerror="true">
|
<exec executable="xcrun" dir="platforms/ios/build" failonerror="true">
|
||||||
<env key="CODESIGN_ALLOCATE" value="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate" />
|
<env key="CODESIGN_ALLOCATE" value="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate" />
|
||||||
<arg value="-sdk"/>
|
<arg value="-sdk"/>
|
||||||
<arg value="${ios.build.sdk}" />
|
<arg value="${ios.build.sdk}" />
|
||||||
<arg value="PackageApplication"/>
|
<arg value="PackageApplication"/>
|
||||||
<arg value="-v"/>
|
<arg value="-v"/>
|
||||||
<arg value="${project.name}.app"/>
|
<arg value="${project.name}.app"/>
|
||||||
@ -208,15 +208,15 @@ made subject to such option by the copyright holder.
|
|||||||
<available file="${basedir}/platforms/ios/build/${project.name}.ipa" property="ipa.found"/>
|
<available file="${basedir}/platforms/ios/build/${project.name}.ipa" property="ipa.found"/>
|
||||||
<fail unless="ipa.found" message="PackageApplication failed."/>
|
<fail unless="ipa.found" message="PackageApplication failed."/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="sim-ios" depends="build-ios,ios-run-device,ios-run-simulator">
|
<target name="sim-ios" depends="build-ios,ios-run-device,ios-run-simulator">
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="ios-run-device" if="build.for.device">
|
<target name="ios-run-device" if="build.for.device">
|
||||||
<echo>
|
<echo>
|
||||||
Install "${basedir}/platforms/ios/build/${project.name}.ipa" through iTunes and run it.
|
Install "${basedir}/platforms/ios/build/${project.name}.ipa" through iTunes and run it.
|
||||||
</echo>
|
</echo>
|
||||||
<exec executable="open" failonerror="true">
|
<exec executable="open" failonerror="true">
|
||||||
<arg value="${basedir}/platforms/ios/build/${project.name}.ipa"/>
|
<arg value="${basedir}/platforms/ios/build/${project.name}.ipa"/>
|
||||||
</exec>
|
</exec>
|
||||||
@ -228,13 +228,13 @@ made subject to such option by the copyright holder.
|
|||||||
</exec>
|
</exec>
|
||||||
<exec executable="${ios.sim.exec}" dir="platforms/ios/build">
|
<exec executable="${ios.sim.exec}" dir="platforms/ios/build">
|
||||||
<arg line="launch ${project.name}.app ${ios.device.args} --exit"/>
|
<arg line="launch ${project.name}.app ${ios.device.args} --exit"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="update-plugins">
|
<target name="update-plugins">
|
||||||
<plugintask/>
|
<plugintask/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="update-android">
|
<target name="update-android">
|
||||||
<echo level="info" message="${cordova.command} prepare android"/>
|
<echo level="info" message="${cordova.command} prepare android"/>
|
||||||
|
|
||||||
@ -244,9 +244,9 @@ made subject to such option by the copyright holder.
|
|||||||
<arg value="prepare"/>
|
<arg value="prepare"/>
|
||||||
<arg value="android"/>
|
<arg value="android"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="update-ios">
|
<target name="update-ios">
|
||||||
<echo level="info" message="${cordova.command} prepare ios"/>
|
<echo level="info" message="${cordova.command} prepare ios"/>
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||||
@ -255,21 +255,21 @@ made subject to such option by the copyright holder.
|
|||||||
<arg value="prepare"/>
|
<arg value="prepare"/>
|
||||||
<arg value="ios"/>
|
<arg value="ios"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="rebuild-android" depends="clean-android,build-android"/>
|
<target name="rebuild-android" depends="clean-android,build-android"/>
|
||||||
|
|
||||||
<target name="build-android" depends="create-android,update-plugins">
|
<target name="build-android" depends="create-android,update-plugins">
|
||||||
<echo level="info" message="${cordova.command} -d build android"/>
|
<echo level="info" message="${cordova.command} -d build android"/>
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||||
<arg value="-d"/>
|
<arg value="-d"/>
|
||||||
<arg value="build"/>
|
<arg value="build"/>
|
||||||
<arg value="android"/>
|
<arg value="android"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="sim-android" depends="create-android,update-plugins">
|
<target name="sim-android" depends="create-android,update-plugins">
|
||||||
<echo level="info" message="${cordova.command} -d ${android.target.device.arg} android"/>
|
<echo level="info" message="${cordova.command} -d ${android.target.device.arg} android"/>
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||||
@ -277,16 +277,16 @@ made subject to such option by the copyright holder.
|
|||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||||
<arg value="-d"/>
|
<arg value="-d"/>
|
||||||
<arg value="${android.target.device.arg}"/>
|
<arg value="${android.target.device.arg}"/>
|
||||||
<arg value="android"/>
|
<arg value="android"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean-android" depends="check-android-template" if="android.generated.exists">
|
<target name="clean-android" depends="check-android-template" if="android.generated.exists">
|
||||||
<exec executable="./gradlew" dir="platforms/android">
|
<exec executable="./gradlew" dir="platforms/android">
|
||||||
<arg value="clean" />
|
<arg value="clean" />
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean-ios" depends="check-ios-template" if="ios.generated.exists">
|
<target name="clean-ios" depends="check-ios-template" if="ios.generated.exists">
|
||||||
<exec executable="platforms/ios/cordova/clean" />
|
<exec executable="platforms/ios/cordova/clean" />
|
||||||
</target>
|
</target>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=52
|
auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=52
|
||||||
auxiliary.org-netbeans-modules-cordova.phonegap=false
|
auxiliary.org-netbeans-modules-cordova.phonegap=false
|
||||||
file.reference.BusinessMobile-test=test
|
file.reference.NetsymsMobile-test=test
|
||||||
file.reference.BusinessMobile-www=www
|
file.reference.NetsymsMobile-www=www
|
||||||
files.encoding=UTF-8
|
files.encoding=UTF-8
|
||||||
project.licensePath=nbproject/mplheader.txt
|
project.licensePath=nbproject/mplheader.txt
|
||||||
site.root.folder=${file.reference.BusinessMobile-www}
|
site.root.folder=${file.reference.NetsymsMobile-www}
|
||||||
test.folder=${file.reference.BusinessMobile-test}
|
test.folder=${file.reference.NetsymsMobile-test}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "com.netsyms.apps.Mobile",
|
"name": "com.netsyms.apps.Mobile",
|
||||||
"displayName": "Netsyms Apps for Mobile",
|
"displayName": "Netsyms Apps for Mobile",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"description": "Securely use the Netsyms Apps from your phone or tablet.",
|
"description": "Securely use the Netsyms Apps from your phone or tablet.",
|
||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
"author": "Netsyms Technologies",
|
"author": "Netsyms Technologies",
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
<background android:drawable="@drawable/ic_launcher_background"/>
|
||||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
<background android:drawable="@drawable/ic_launcher_background"/>
|
||||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<resources>
|
|
||||||
<color name="ic_launcher_background">#2196F3</color>
|
|
||||||
</resources>
|
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Business F7</string>
|
<string name="app_name">Netsyms</string>
|
||||||
<string name="launcher_name">@string/app_name</string>
|
<string name="launcher_name">@string/app_name</string>
|
||||||
<string name="activity_name">@string/launcher_name</string>
|
<string name="activity_name">@string/launcher_name</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<script src="cordova.js"></script>
|
<script src="cordova.js"></script>
|
||||||
|
|
||||||
<script src="vendor/js/jquery-3.2.1.min.js"></script>
|
<script src="vendor/js/jquery-3.4.1.min.js"></script>
|
||||||
<script src="vendor/js/framework7.min.js"></script>
|
<script src="vendor/js/framework7.min.js"></script>
|
||||||
<script src="vendor/js/fontawesome/fontawesome.min.js"></script>
|
<script src="vendor/js/fontawesome/fontawesome.min.js"></script>
|
||||||
<script src="vendor/js/fontawesome/solid.min.js"></script>
|
<script src="vendor/js/fontawesome/solid.min.js"></script>
|
||||||
|
@ -49,10 +49,14 @@ function recoveraccounts(callback) {
|
|||||||
/**
|
/**
|
||||||
* Switch to a different account.
|
* Switch to a different account.
|
||||||
* @param {int} account The selected account index from localStorage.getItem('accounts')
|
* @param {int} account The selected account index from localStorage.getItem('accounts')
|
||||||
|
* @param {boolean} showmsg [HAS NO EFFECT] Whether to show the "switched accounts" alert dialog. Default True.
|
||||||
* @returns {undefined}
|
* @returns {undefined}
|
||||||
*/
|
*/
|
||||||
function switchaccount(account) {
|
function switchaccount(account, showmsg) {
|
||||||
// If there isn't an accounts list yet, this shouldi take us back to the setup
|
if (typeof showmsg != 'boolean') {
|
||||||
|
showmsg = true;
|
||||||
|
}
|
||||||
|
// If there isn't an accounts list yet, this should take us back to the setup
|
||||||
if (!isconfigvalid()) {
|
if (!isconfigvalid()) {
|
||||||
restartApplication();
|
restartApplication();
|
||||||
}
|
}
|
||||||
@ -69,7 +73,9 @@ function switchaccount(account) {
|
|||||||
accountid = account;
|
accountid = account;
|
||||||
|
|
||||||
restartApplication();
|
restartApplication();
|
||||||
navigator.notification.alert("Successfully switched accounts.", null, "Switched", 'OK');
|
if (showmsg == true) {
|
||||||
|
//navigator.notification.alert("Successfully switched accounts.", null, "Switched", 'OK');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -125,12 +131,12 @@ function getuserinfo(callback) {
|
|||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
router.navigate("/loaderror");
|
||||||
navigator.notification.alert(data.msg, null, "Error", 'Dismiss');
|
navigator.notification.alert(data.msg, null, "Error", 'Dismiss');
|
||||||
openscreen("homeloaderror");
|
|
||||||
}
|
}
|
||||||
}, "json").fail(function () {
|
}, "json").fail(function () {
|
||||||
navigator.notification.alert("Could not connect to the server. Try again later.", null, "Error", 'Dismiss');
|
navigator.notification.alert("Could not connect to the server. Try again later.", null, "Error", 'Dismiss');
|
||||||
openscreen("homeloaderror");
|
router.navigate("/loaderror");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,18 +10,20 @@ setuppassword = "";
|
|||||||
setupsynckey = "";
|
setupsynckey = "";
|
||||||
setupsyncurl = "";
|
setupsyncurl = "";
|
||||||
|
|
||||||
netsymscomurl = "https://account.netsyms.com/mobile/index.php";
|
netsymscomurl = "https://apps.netsyms.com/account/mobile/index.php";
|
||||||
|
netsymsbizurl = "https://BIZID.netsyms.biz/accounthub/mobile/index.php";
|
||||||
|
|
||||||
if (localStorage.getItem("firstrun") === null) {
|
if (localStorage.getItem("firstrun") === null) {
|
||||||
$("#setuptitle").text("Setup");
|
$("#setuptitle").text("Setup");
|
||||||
$(".firstrun-only").css("display", "");
|
$(".firstrun-only").css("display", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#use-security').click(function () {
|
$('#use-security-checkbox-li').click(function () {
|
||||||
if (this.checked) {
|
// Event fires before the checkbox is changed, so we need to do the opposite
|
||||||
$('#protocol-select').text("https://");
|
if ($("#use-security").prop("checked")) {
|
||||||
} else {
|
|
||||||
$('#protocol-select').text("http://");
|
$('#protocol-select').text("http://");
|
||||||
|
} else {
|
||||||
|
$('#protocol-select').text("https://");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -115,7 +117,7 @@ function personalsetup() {
|
|||||||
if (result.status == "OK") {
|
if (result.status == "OK") {
|
||||||
var code = result.code;
|
var code = result.code;
|
||||||
var accid = addaccount(username, password, netsymscomurl, code);
|
var accid = addaccount(username, password, netsymscomurl, code);
|
||||||
switchaccount(accid);
|
switchaccount(accid, false);
|
||||||
localStorage.setItem("firstrun", "1");
|
localStorage.setItem("firstrun", "1");
|
||||||
navigator.notification.alert("Account connected!", null, "Success", 'Continue');
|
navigator.notification.alert("Account connected!", null, "Success", 'Continue');
|
||||||
restartApplication();
|
restartApplication();
|
||||||
@ -130,6 +132,39 @@ function personalsetup() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function businesssetup() {
|
||||||
|
app.preloader.show();
|
||||||
|
var username = $("#personal_username").val();
|
||||||
|
var password = $("#personal_password").val();
|
||||||
|
var url = netsymsbizurl.replace("BIZID", $("#bizid").val());
|
||||||
|
|
||||||
|
$.post(url, {
|
||||||
|
username: username,
|
||||||
|
password: password,
|
||||||
|
key: "NOKEY",
|
||||||
|
desc: device.platform + " " + device.model + " " + device.serial,
|
||||||
|
action: "generatesynccode"
|
||||||
|
}, function (result) {
|
||||||
|
app.preloader.hide();
|
||||||
|
if (result.status == "OK") {
|
||||||
|
var code = result.code;
|
||||||
|
var accid = addaccount(username, password, url, code);
|
||||||
|
switchaccount(accid, false);
|
||||||
|
localStorage.setItem("firstrun", "1");
|
||||||
|
navigator.notification.alert("Account connected!", null, "Success", 'Continue');
|
||||||
|
restartApplication();
|
||||||
|
} else if (result.status == "ERROR") {
|
||||||
|
navigator.notification.alert(result.msg, null, "Error", 'Dismiss');
|
||||||
|
} else {
|
||||||
|
navigator.notification.alert("Something went wrong, please try again.", null, "Error", 'Dismiss');
|
||||||
|
}
|
||||||
|
}, "json").fail(function () {
|
||||||
|
app.preloader.hide();
|
||||||
|
navigator.notification.alert("Something went wrong, please try again.", null, "Error", 'Dismiss');
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
function scanCode() {
|
function scanCode() {
|
||||||
try {
|
try {
|
||||||
cordova.plugins.barcodeScanner.scan(
|
cordova.plugins.barcodeScanner.scan(
|
||||||
|
@ -15,7 +15,7 @@ function savePassword() {
|
|||||||
if (data.status === 'OK') {
|
if (data.status === 'OK') {
|
||||||
setuppassword = $('#passbox').val();
|
setuppassword = $('#passbox').val();
|
||||||
var accid = addaccount(setupusername, setuppassword, setupsyncurl, setupsynckey);
|
var accid = addaccount(setupusername, setuppassword, setupsyncurl, setupsynckey);
|
||||||
switchaccount(accid);
|
switchaccount(accid, false);
|
||||||
localStorage.setItem("firstrun", "1");
|
localStorage.setItem("firstrun", "1");
|
||||||
navigator.notification.alert("Account connected!", null, "Success", 'Continue');
|
navigator.notification.alert("Account connected!", null, "Success", 'Continue');
|
||||||
restartApplication();
|
restartApplication();
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<ul id="accountlist">
|
<ul id="accountlist">
|
||||||
{{#each accounts}}
|
{{#each accounts}}
|
||||||
<li class="swipeout accountlist-item" data-id="{{id}}">
|
<li class="swipeout accountlist-item" data-id="{{id}}">
|
||||||
<div class="item-content swipeout-content">
|
<div class="item-content swipeout-content" data-id="{{id}}">
|
||||||
<div class="item-media"><img src="img/accounticons/{{icon}}.svg" width="44"/></div>
|
<div class="item-media"><img src="img/accounticons/{{icon}}.svg" width="44"/></div>
|
||||||
<div class="item-inner">
|
<div class="item-inner">
|
||||||
<div class="item-title-row">
|
<div class="item-title-row">
|
||||||
|
36
www/pages/loaderror.html
Normal file
36
www/pages/loaderror.html
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
<div class="page" data-name="loaderror">
|
||||||
|
|
||||||
|
<div class="navbar">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="title">Netsyms</div>
|
||||||
|
|
||||||
|
<div class="right">
|
||||||
|
<a href="#" onclick="loadOTPPage()" class="link icon-only">
|
||||||
|
<i class="fas fa-key"></i>
|
||||||
|
</a>
|
||||||
|
<a href="/settings" class="link icon-only">
|
||||||
|
<i class="fas fa-cog"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="page-content">
|
||||||
|
<div class="block" style="text-align: center;">
|
||||||
|
<p style="color: rgba(0,0,0,0.5);"><i class="material-icons" style="font-size: 30vw;">cloud_off</i></p>
|
||||||
|
<h3>Can't connect to the server.</h3>
|
||||||
|
<div class="row">
|
||||||
|
<a href="#" class="button col button-raised button-fill button-round" onclick="restartApplication()">Try Again</a>
|
||||||
|
<a href="#" class="button col button-raised button-round" onclick="openAccountSwitcher(false)">Switch Account</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
loadingProgressDialog.close();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</div>
|
@ -6,6 +6,11 @@
|
|||||||
|
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<div class="navbar-inner">
|
<div class="navbar-inner">
|
||||||
|
<div class="left">
|
||||||
|
<a href="#" class="link icon-only back">
|
||||||
|
<i class="icon icon-back"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<div class="title">Welcome!</div>
|
<div class="title">Welcome!</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -22,7 +27,8 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="#" class="item-link" onclick='router.navigate("/setup/1", {
|
<a href="#" class="item-link" onclick='router.navigate("/setup/1", {
|
||||||
context: {
|
context: {
|
||||||
personal: true
|
personal: true,
|
||||||
|
business: false
|
||||||
}
|
}
|
||||||
});'>
|
});'>
|
||||||
<div class="item-content">
|
<div class="item-content">
|
||||||
@ -41,7 +47,12 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/setup/1" class="item-link">
|
<a href="#" class="item-link" onclick='router.navigate("/setup/1", {
|
||||||
|
context: {
|
||||||
|
personal: false,
|
||||||
|
business: true
|
||||||
|
}
|
||||||
|
});'>
|
||||||
<div class="item-content">
|
<div class="item-content">
|
||||||
<div class="item-media">
|
<div class="item-media">
|
||||||
<img src="img/accounticons/business.svg" width="44"/>
|
<img src="img/accounticons/business.svg" width="44"/>
|
||||||
|
@ -6,6 +6,11 @@
|
|||||||
|
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<div class="navbar-inner">
|
<div class="navbar-inner">
|
||||||
|
<div class="left">
|
||||||
|
<a href="#" class="link icon-only back">
|
||||||
|
<i class="icon icon-back"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<div class="title">Link Account</div>
|
<div class="title">Link Account</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -14,95 +19,129 @@
|
|||||||
<div class="page-content">
|
<div class="page-content">
|
||||||
|
|
||||||
<div class="block">
|
<div class="block">
|
||||||
{{#if personal}}
|
{{#js_if "this.personal == true || this.business == true"}}
|
||||||
<p>Type your netsyms.com username and password.</p>
|
<div class="card">
|
||||||
|
<div class="card-content card-content-padding">
|
||||||
|
{{#if personal}}
|
||||||
|
<p>Type your netsyms.com username and password.</p>
|
||||||
|
{{/if}}
|
||||||
|
{{#if business}}
|
||||||
|
<p>Type your netsyms.biz username, password, and business ID.</p>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<div class="list no-hairlines">
|
<div class="list no-hairlines">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="item-content item-input">
|
<li class="item-content item-input">
|
||||||
<div class="item-inner">
|
<div class="item-inner">
|
||||||
<div class="item-input-wrap">
|
<div class="item-title item-floating-label">Username</div>
|
||||||
<input type="text" id="personal_username" placeholder="Username" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
<div class="item-input-wrap">
|
||||||
<span class="input-clear-button"></span>
|
<input type="text" id="personal_username" placeholder="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
||||||
</div>
|
<span class="input-clear-button"></span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="item-content item-input">
|
<li class="item-content item-input">
|
||||||
<div class="item-inner">
|
<div class="item-inner">
|
||||||
<div class="item-input-wrap">
|
<div class="item-title item-floating-label">Password</div>
|
||||||
<input type="password" id="personal_password" placeholder="Password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
<div class="item-input-wrap">
|
||||||
<span class="input-clear-button"></span>
|
<input type="password" id="personal_password" placeholder="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
||||||
</div>
|
<span class="input-clear-button"></span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</div>
|
||||||
</ul>
|
</li>
|
||||||
|
|
||||||
|
{{#if business}}
|
||||||
|
<li class="item-content item-input">
|
||||||
|
<div class="item-inner">
|
||||||
|
<div class="item-title item-floating-label">Business ID (____.netsyms.biz)</div>
|
||||||
|
<div class="item-input-wrap">
|
||||||
|
<input type="text" id="bizid" placeholder="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
||||||
|
<span class="input-clear-button"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<div class="button button-fill button-raised button-round" onclick="{{#if personal}}personalsetup(){{else}}businesssetup(){{/if}}">
|
||||||
|
Continue
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="button button-fill" onclick="personalsetup()">
|
<p style="text-align: center; font-size: 120%;">- or -</p>
|
||||||
Continue
|
{{/js_if}}
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr />
|
<div class="card">
|
||||||
|
<div class="card-content card-content-padding">
|
||||||
|
{{#if personal}}
|
||||||
|
<p>Scan a QR code with your phone camera. Open your account dashboard on another device (like a computer) and go to Sync settings. Generate a mobile sync code, then press the button below to scan it.</p>
|
||||||
|
{{else}}
|
||||||
|
<p>Open AccountHub on another device and go to Sync settings. Generate a mobile sync code, then press the button below to scan it.</p>
|
||||||
|
{{/if}}
|
||||||
|
<div class="row">
|
||||||
|
<button class="col button button-fill button-raised button-round" onclick="scanCode()" id="scancodebtn">Scan Code</button>
|
||||||
|
<button class="col button button-raised button-round" onclick="manualshow()" id="manualsetupbtn">Manual Setup</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p>Or, scan a QR code with your phone camera. Open your account dashboard on another device (like a computer) and go to Sync settings. Generate a mobile sync code, then press the button below to scan it.</p>
|
<div id="manual_setup" class="block" style="display: none; padding-top: 20px; padding-bottom: 20px;">
|
||||||
{{else}}
|
|
||||||
<p>Open AccountHub on another device and go to Sync settings. Generate a mobile sync code, then press the button below to scan it.</p>
|
|
||||||
{{/if}}
|
|
||||||
<div class="row">
|
|
||||||
<button class="col button button-fill" onclick="scanCode()" id="scancodebtn">Scan Code</button>
|
|
||||||
<button class="col button" onclick="manualshow()" id="manualsetupbtn">Manual Setup</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
<div class="list">
|
||||||
|
<ul>
|
||||||
|
<li class="item-content item-input">
|
||||||
|
<div class="item-inner">
|
||||||
|
<div class="item-title item-floating-label">Username</div>
|
||||||
|
<div class="item-input-wrap">
|
||||||
|
<input type="text" id="username" placeholder="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
||||||
|
<span class="input-clear-button"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
<div id="manual_setup" class="block" style="display: none;">
|
<li class="item-content item-input">
|
||||||
|
<div class="item-inner">
|
||||||
|
<div class="item-title item-floating-label">Key</div>
|
||||||
|
<div class="item-input-wrap">
|
||||||
|
<input type="text" id="key" placeholder="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
||||||
|
<span class="input-clear-button"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
<div class="list">
|
<li class="item-content item-input">
|
||||||
<ul>
|
<div class="item-inner">
|
||||||
<li class="item-content item-input">
|
<div class="item-title item-floating-label" id="protocol-select">https://</div>
|
||||||
<div class="item-inner">
|
<div class="item-input-wrap">
|
||||||
<div class="item-input-wrap">
|
<input type="url" id="syncurl" placeholder="URL" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
||||||
<input type="text" id="username" placeholder="Username" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
<span class="input-clear-button"></span>
|
||||||
<span class="input-clear-button"></span>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li id="use-security-checkbox-li">
|
||||||
|
<label class="item-checkbox item-content">
|
||||||
|
<input type="checkbox" id="use-security" checked="checked" />
|
||||||
|
<i class="icon icon-checkbox"></i>
|
||||||
|
<span class="item-inner">
|
||||||
|
<span class="item-title">Use secure connection</span>
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="item-content item-input">
|
<div class="button button-fill button-raised button-round" onclick="manualsetup()">
|
||||||
<div class="item-inner">
|
Continue
|
||||||
<div class="item-input-wrap">
|
|
||||||
<input type="text" id="key" placeholder="Key" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
|
||||||
<span class="input-clear-button"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
<li class="item-content item-input">
|
</div>
|
||||||
<div class="item-inner">
|
|
||||||
<div class="item-title item-floating-label" id="protocol-select">https://</div>
|
|
||||||
<div class="item-input-wrap">
|
|
||||||
<input type="url" id="syncurl" placeholder="URL" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
|
||||||
<span class="input-clear-button"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<label class="item-checkbox item-content">
|
|
||||||
<input type="checkbox" id="use-security" checked="checked" />
|
|
||||||
<i class="icon icon-checkbox"></i>
|
|
||||||
<span class="item-inner">
|
|
||||||
<span class="item-title">Use secure connection</span>
|
|
||||||
</span>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="button button-fill" onclick="manualsetup()">
|
|
||||||
Continue
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,6 +6,11 @@
|
|||||||
|
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<div class="navbar-inner">
|
<div class="navbar-inner">
|
||||||
|
<div class="left">
|
||||||
|
<a href="#" class="link icon-only back">
|
||||||
|
<i class="icon icon-back"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<div class="title">Link Account</div>
|
<div class="title">Link Account</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -14,23 +19,28 @@
|
|||||||
<div class="page-content">
|
<div class="page-content">
|
||||||
|
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<p>Enter your password, then tap Finish.</p>
|
<div class="card">
|
||||||
|
<div class="card-content card-content-padding">
|
||||||
|
<p>Enter your password, then tap Finish.</p>
|
||||||
|
|
||||||
<div class="list">
|
<div class="list no-hairlines">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="item-content item-input">
|
<li class="item-content item-input">
|
||||||
<div class="item-media"><i class="fas fa-key"></i></div>
|
<div class="item-inner">
|
||||||
<div class="item-inner">
|
<div class="item-title item-floating-label">Password</div>
|
||||||
<div class="item-input-wrap">
|
<div class="item-input-wrap">
|
||||||
<input type="password" id="passbox" placeholder="Password">
|
<input type="password" id="passbox" placeholder="">
|
||||||
<span class="input-clear-button"></span>
|
<span class="input-clear-button"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<button class="button button-fill button-raised button-round" onclick="savePassword()">Finish</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button class="button button-fill" onclick="savePassword()">Finish</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,4 +56,9 @@ var routes = [
|
|||||||
url: './pages/credits.html',
|
url: './pages/credits.html',
|
||||||
name: 'credits'
|
name: 'credits'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/loaderror',
|
||||||
|
url: './pages/loaderror.html',
|
||||||
|
name: 'loaderror'
|
||||||
|
},
|
||||||
];
|
];
|
4
www/vendor/js/jquery-3.2.1.min.js
vendored
4
www/vendor/js/jquery-3.2.1.min.js
vendored
File diff suppressed because one or more lines are too long
2
www/vendor/js/jquery-3.4.1.min.js
vendored
Normal file
2
www/vendor/js/jquery-3.4.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user