Browse Source

Rebrand

master
Skylar Ittner 1 year ago
parent
commit
1344dd0abd
  1. 100
      nbproject/build.xml
  2. 6
      nbproject/project.properties
  3. 2
      nbproject/project.xml
  4. 4
      www/assets/js/main.js
  5. 2
      www/index.html
  6. 2
      www/pages/credits.template.html
  7. 2
      www/pages/discover.html
  8. 2
      www/pages/main.html
  9. 2
      www/pages/profile.html
  10. 2
      www/pages/welcome.html

100
nbproject/build.xml

@ -22,7 +22,7 @@
<!--
Generated file; DO NOT EDIT.
-->
<project name="Lecte" basedir="..">
<project name="CommunityVotingApp" basedir="..">
<property file="nbproject/configs/${config}.properties" />
<scriptdef name="checkVersion" language="javascript">
@ -35,7 +35,7 @@
}
]]>
</scriptdef>
<scriptdef name="forDevice" language="javascript">
<![CDATA[
var dev = project.getProperty("device");
@ -53,7 +53,7 @@
</or>
</condition>
</target>
<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}" />
<delete dir="${java.io.tmpdir}/nb_temp_project"/>
@ -61,8 +61,8 @@
<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}"/>
<arg value="-d"/>
<arg value="create"/>
<arg value="${java.io.tmpdir}/nb_temp_project"/>
<arg value="create"/>
<arg value="${java.io.tmpdir}/nb_temp_project"/>
<arg value="com.coolappz.${project.name}"/>
<arg value="${project.name}" />
</exec>
@ -82,8 +82,8 @@
<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}"/>
<arg value="-d"/>
<arg value="create"/>
<arg value="www_nb_temp"/>
<arg value="create"/>
<arg value="www_nb_temp"/>
<arg value="com.coolappz.${project.name}"/>
<arg value="${project.name}" />
</exec>
@ -93,26 +93,26 @@
<delete dir="www_nb_temp"/>
<delete file="www/config.xml"/>
</target>
<taskdef
classname="org.netbeans.modules.cordova.updatetask.ReadConfigTask"
<taskdef
classname="org.netbeans.modules.cordova.updatetask.ReadConfigTask"
classpath="${update.task.jar}"
name="readconfig"/>
<taskdef
classname="org.netbeans.modules.cordova.updatetask.PluginTask"
<taskdef
classname="org.netbeans.modules.cordova.updatetask.PluginTask"
classpath="${update.task.jar}"
name="plugintask"/>
<target name="check-cordova-version">
<property environment="env"/>
<property environment="env"/>
<checkVersion first="${cordova.version}" property="cordova.ver.3"/>
<fail message="Cordova version 3 or greater required." unless="cordova.ver.3"/>
<readconfig/>
<forDevice/>
</target>
<target name="check-android-template">
<available file="platforms/android" property="android.generated.exists"/>
</target>
@ -120,27 +120,27 @@
<target name="check-ios-template">
<available file="platforms/ios" property="ios.generated.exists"/>
</target>
<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"/>
<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="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/>
<arg value="platform"/>
<arg value="add"/>
<arg value="platform"/>
<arg value="add"/>
<arg value="android"/>
</exec>
</target>
<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"/>
<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="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/>
<arg value="platform"/>
<arg value="add"/>
<arg value="platform"/>
<arg value="add"/>
<arg value="ios"/>
</exec>
</target>
@ -154,23 +154,23 @@
<exec executable="xcodebuild" dir="platforms/ios" failonerror="true">
<arg value="-project"/>
<arg value="${project.name}.xcodeproj"/>
<arg value="ARCHS=${ios.build.arch}"/>
<arg value="ARCHS=${ios.build.arch}"/>
<arg value="-target"/>
<arg value="${project.name}"/>
<arg value="-configuration"/>
<arg value="-configuration"/>
<arg value="Release"/>
<arg value="-sdk"/>
<arg value="-sdk"/>
<arg value="${ios.build.sdk}" />
<arg value="build"/>
<arg value="CONFIGURATION_BUILD_DIR=${path}"/>
</exec>
</target>
<target name="build-ios-ipa" if="build.for.device">
<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" />
<arg value="-sdk"/>
<arg value="${ios.build.sdk}" />
<arg value="${ios.build.sdk}" />
<arg value="PackageApplication"/>
<arg value="-v"/>
<arg value="${project.name}.app"/>
@ -184,15 +184,15 @@
<available file="${basedir}/platforms/ios/build/${project.name}.ipa" property="ipa.found"/>
<fail unless="ipa.found" message="PackageApplication failed."/>
</target>
<target name="sim-ios" depends="build-ios,ios-run-device,ios-run-simulator">
</target>
<target name="ios-run-device" if="build.for.device">
<echo>
Install "${basedir}/platforms/ios/build/${project.name}.ipa" through iTunes and run it.
</echo>
Install "${basedir}/platforms/ios/build/${project.name}.ipa" through iTunes and run it.
</echo>
<exec executable="open" failonerror="true">
<arg value="${basedir}/platforms/ios/build/${project.name}.ipa"/>
</exec>
@ -204,13 +204,13 @@
</exec>
<exec executable="${ios.sim.exec}" dir="platforms/ios/build">
<arg line="launch ${project.name}.app ${ios.device.args} --exit"/>
</exec>
</exec>
</target>
<target name="update-plugins">
<plugintask/>
</target>
</target>
<target name="update-android">
<echo level="info" message="${cordova.command} prepare android"/>
@ -220,9 +220,9 @@
<arg value="prepare"/>
<arg value="android"/>
</exec>
</target>
</target>
<target name="update-ios">
<echo level="info" message="${cordova.command} prepare ios"/>
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
@ -231,21 +231,21 @@
<arg value="prepare"/>
<arg value="ios"/>
</exec>
</target>
<target name="rebuild-android" depends="clean-android,build-android"/>
</target>
<target name="rebuild-android" depends="clean-android,build-android"/>
<target name="build-android" depends="create-android,update-plugins">
<echo level="info" message="${cordova.command} -d build android"/>
<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="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/>
<arg value="build"/>
<arg value="android"/>
<arg value="-d"/>
<arg value="build"/>
<arg value="android"/>
</exec>
</target>
</target>
<target name="sim-android" depends="create-android,update-plugins">
<echo level="info" message="${cordova.command} -d ${android.target.device.arg} android"/>
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
@ -253,16 +253,16 @@
<env key="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/>
<arg value="${android.target.device.arg}"/>
<arg value="android"/>
<arg value="android"/>
</exec>
</target>
<target name="clean-android" depends="check-android-template" if="android.generated.exists">
<exec executable="./gradlew" dir="platforms/android">
<arg value="clean" />
</exec>
</target>
<target name="clean-ios" depends="check-ios-template" if="ios.generated.exists">
<exec executable="platforms/ios/cordova/clean" />
</target>

6
nbproject/project.properties

@ -1,7 +1,7 @@
auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=52
auxiliary.org-netbeans-modules-cordova.phonegap=true
file.reference.Lecte-test=test
file.reference.Lecte-www=www
file.reference.CommunityVotingApp-test=test
file.reference.CommunityVotingApp-www=www
files.encoding=UTF-8
project.license=mpl
site.root.folder=${file.reference.Lecte-www}
site.root.folder=${file.reference.CommunityVotingApp-www}

2
nbproject/project.xml

@ -3,7 +3,7 @@
<type>org.netbeans.modules.web.clientproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
<name>Lecte</name>
<name>CommunityVotingApp</name>
</data>
</configuration>
</project>

4
www/assets/js/main.js

@ -13,8 +13,8 @@ initPlatform();
var app = new Framework7({
root: "#app",
name: "Lecte",
id: "vote.lecte.Lecte",
name: "CommunityVotingApp",
id: "com.netsyms.CommunityVotingApp",
theme: platform_theme,
card: {
swipeToClose: false

2
www/index.html

@ -5,7 +5,7 @@ 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/.
-->
<title>Lecte</title>
<title>CommunityVotingApp</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="assets/images/icons/logo.svg" />

2
www/pages/credits.template.html

@ -22,7 +22,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<div class="block">
<p>This program is licensed under the Mozilla Public License 2.0.
To get the source code, visit https://source.netsyms.com/Netsyms/Lecte.
To get the source code, visit https://source.netsyms.com/Netsyms/CommunityVotingApp.
<br>
This application relies on and is bundled with third-party code.
See below for the their licenses and where to find source code.

2
www/pages/discover.html

@ -15,7 +15,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<span class="if-not-md">Back</span>
</a>
</div> -->
<div class="title">Lecte</div>
<div class="title">CommunityVotingApp</div>
</div>
</div>

2
www/pages/main.html

@ -10,7 +10,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<div class="navbar">
<div class="navbar-bg"></div>
<div class="navbar-inner">
<div class="title">Lecte</div>
<div class="title">CommunityVotingApp</div>
</div>
</div>

2
www/pages/profile.html

@ -10,7 +10,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<div class="navbar">
<div class="navbar-bg"></div>
<div class="navbar-inner">
<div class="title">Lecte</div>
<div class="title">CommunityVotingApp</div>
</div>
</div>

2
www/pages/welcome.html

@ -10,7 +10,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<div class="navbar">
<div class="navbar-bg"></div>
<div class="navbar-inner">
<div class="title">Lecte</div>
<div class="title">CommunityVotingApp</div>
</div>
</div>

Loading…
Cancel
Save