Browse Source

Add Google Play graphics

master
Skylar Ittner 5 years ago
parent
commit
84b2d70d58
  1. BIN
      platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock
  2. BIN
      platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin
  3. BIN
      platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin
  4. BIN
      platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin
  5. 4
      platforms/android/assets/www/config/api.json
  6. 5
      platforms/android/assets/www/config/merchant.json
  7. 3
      platforms/android/assets/www/css/main.css
  8. BIN
      platforms/android/assets/www/img/launcher.png
  9. BIN
      platforms/android/assets/www/img/logo.png
  10. 55
      platforms/android/assets/www/img/logo.svg
  11. 3
      platforms/android/assets/www/index.html
  12. 13
      platforms/android/assets/www/js/main.js
  13. 6
      platforms/android/assets/www/screens/home.html
  14. 11
      platforms/android/assets/www/screens/login.html
  15. BIN
      platforms/android/res/drawable-mdpi/icon.png
  16. 2
      platforms/android/res/values/strings.xml
  17. 4
      platforms/android/res/xml/config.xml
  18. BIN
      www/img/googleplay-banner.png
  19. 125
      www/img/googleplay-banner.svg

BIN
platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock

BIN
platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin

BIN
platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin

BIN
platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin

4
platforms/android/assets/www/config/api.json

@ -1,4 +0,0 @@
{
"baseurl": "https://apis.noidpay.net/",
"urlappend": "?format=json"
}

5
platforms/android/assets/www/config/merchant.json

@ -1,5 +0,0 @@
{
"merchantname": "Test Merchant",
"merchantid": "1",
"balancetype": "1"
}

3
platforms/android/assets/www/css/main.css

@ -0,0 +1,3 @@
.item-hidden {
display: none;
}

BIN
platforms/android/assets/www/img/launcher.png

Before

Width: 512  |  Height: 512  |  Size: 24 KiB

After

Width: 512  |  Height: 512  |  Size: 16 KiB

BIN
platforms/android/assets/www/img/logo.png

Before

Width: 512  |  Height: 512  |  Size: 16 KiB

After

Width: 512  |  Height: 512  |  Size: 8.3 KiB

55
platforms/android/assets/www/img/logo.svg

@ -58,10 +58,10 @@
id="layer1"
transform="translate(0,-540.36216)">
<g
transform="matrix(3.7143661,0,0,3.7143661,88.257371,535.89675)"
transform="matrix(3.6879875,0,0,4.5507116,89.44864,529.40604)"
id="g4151">
<rect
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#53c9ff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="rect4137"
width="115.95353"
height="66.815598"
@ -80,37 +80,28 @@
id="path4141"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
</g>
<g
transform="matrix(2.0150178,0,0,2.0150178,70.96495,224.43728)"
id="layer1-1"
inkscape:label="Layer 1">
<path
inkscape:connector-curvature="0"
id="path4830"
d="m 110.52379,399.26698 c -1.0095,-1.00951 -0.76031,-18.90124 0.37374,-26.83333 1.22411,-8.56197 6.17343,-19.30346 11.81948,-25.6518 3.57853,-4.02364 13.85409,-11.8482 15.55958,-11.8482 0.31929,0 0.58053,6.075 0.58053,13.5 0,7.425 0.33751,13.48569 0.75,13.4682 0.4125,-0.0175 1.5375,-0.6296 2.5,-1.36025 1.51078,-1.14683 1.75,-3.12806 1.75,-14.49294 l 0,-13.16451 2.75,-1.10699 c 3.21564,-1.29443 19.50191,-1.69255 23.5,-0.57446 l 2.75,0.76905 0,34.00841 0,34.0084 -14.25,-0.27745 -14.25,-0.27746 -0.28078,-12.25 c -0.15443,-6.7375 -0.60442,-12.23569 -1,-12.2182 -0.39556,0.0175 -1.50671,0.6296 -2.46922,1.36025 -1.48244,1.12532 -1.75,3.03164 -1.75,12.46819 l 0,11.13976 -13.83333,0 c -7.60834,0 -14.13334,-0.3 -14.5,-0.66667 z m 68,0 c -0.36667,-0.36666 -0.66667,-15.24699 -0.66667,-33.06738 l 0,-32.40073 2.25,0.69929 c 3.72021,1.15622 12.44981,7.32956 15.86511,11.21937 10.09957,11.50278 12.88489,20.11096 12.88489,39.82145 l 0,14.39467 -14.83333,0 c -8.15834,0 -15.13333,-0.3 -15.5,-0.66667 z"
style="fill:#810226" />
</g>
<g
id="g4189"
transform="matrix(0.35064044,0,0,0.35064044,986.67247,1071.6322)">
<g
id="g4191"
style="fill:#45b820;fill-opacity:1"
transform="translate(-2397.9496,-1345.8848)">
<g
id="g4193"
style="fill:#45b820;fill-opacity:1">
<g
id="g4195"
style="fill:#45b820;fill-opacity:1">
<path
id="path4197"
d="m 99.777,446.086 c -6.699,12.031 -12.031,30.133 -12.031,41.539 0,2.648 0,6.016 0.656,10.688 L 4.676,354.32 C 1.996,349.648 0,342.945 0,336.906 0,330.859 1.996,323.508 4.676,318.828 L 44.871,248.5 0,223.07 146.016,220.367 217,348.281 171.473,322.164 99.777,446.086 Z M 164.09,40.227 c 12.715,-22.125 33.496,-34.18 58.926,-34.18 27.48,0 48.918,12.742 64.312,38.828 L 310.105,83.047 231.054,219.711 103.14,145.359 164.09,40.227 Z m 9.351,521.718 c -38.172,0 -69.645,-31.477 -69.645,-69.648 0,-10.719 4.703,-28.82 11.402,-40.195 l 21.41,-38.172 158.758,0 0,148.016 -121.925,0 z M 300.727,36.18 C 290.691,18.789 277.293,6.703 261.215,0 l 164.746,0 c 14.738,0 26.113,6.047 32.84,17.445 l 40.852,69.648 44.191,-26.141 -71.016,127.281 -145.305,-2.047 44.871,-25.43 L 300.727,36.18 Z M 554.59,415.273 c 20.07,0 36.832,-5.359 50.887,-16.055 l -83.07,144.648 c -6.699,11.375 -18.73,18.078 -32.789,18.078 l -78.395,0 0,51.57 -75.004,-125.234 75.004,-125.266 0,52.258 143.367,0 z m 64.258,-120.562 c 6.043,10.719 9.406,22.094 9.406,34.156 0,24.117 -15.422,49.57 -36.832,61.602 -10.062,5.391 -24.145,8.75 -38.172,8.75 l -44.242,0 -79,-136.664 127.918,-73.008 60.922,105.164 z"
inkscape:connector-curvature="0"
style="fill:#45b820;fill-opacity:1" />
</g>
</g>
id="g4190"
transform="translate(1.9308968,-0.34088195)">
<ellipse
ry="16.204638"
rx="20.831064"
cy="46.620235"
cx="43.229603"
id="path4173"
style="fill:none;fill-opacity:1;stroke:#008eff;stroke-width:7.14497852;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:open="true"
d="m 25.978814,55.40957 a 20.831064,16.204638 0 0 1 0.530999,-18.930602 20.831064,16.204638 0 0 1 23.246221,-5.615046 20.831064,16.204638 0 0 1 14.22127,15.367241"
sodipodi:end="0"
sodipodi:start="2.5394541"
sodipodi:ry="16.204638"
sodipodi:rx="20.831064"
sodipodi:cy="46.231163"
sodipodi:cx="43.14624"
sodipodi:type="arc"
id="path4173-9"
style="fill:none;fill-opacity:1;stroke:#00a6ff;stroke-width:7.14497852;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</g>

3
platforms/android/assets/www/index.html

@ -16,6 +16,9 @@
<!-- FontAwesome -->
<link href="css/font-awesome.css" rel="stylesheet">
<!-- Other styles -->
<link href="css/main.css" rel="stylesheet">
<!-- jQuery Version 1.11.1 -->
<script src="js/jquery.js"></script>

13
platforms/android/assets/www/js/main.js

@ -7,7 +7,8 @@
/**
* API base URL
*/
APIURL = "http://snipe-mobile-api/snipeapi/app/";
APIURL = "";
//APIURL = "http://snipe-mobile-api/snipeapi/app/";
//APIURL = "http://localhost:8000/";
username = "";
@ -35,7 +36,16 @@ function dologin() {
if ($('#usernameBox').val() === "") {
$('#errormsg').text("Error: Missing username.");
$('#errorbase').css('display', 'block');
$('#loginBtn').html('<i class="fa fa-sign-in"></i> Login');
return;
}
if ($('#urlBox').val() === "") {
$('#errormsg').text("Error: Missing API address.");
$('#errorbase').css('display', 'block');
$('#loginBtn').html('<i class="fa fa-sign-in"></i> Login');
return;
}
APIURL = $('#urlBox').val();
$.ajax({
type: "POST",
url: mkApiUrl("login"),
@ -50,6 +60,7 @@ function dologin() {
if (data.status === 'OK') {
username = $('#usernameBox').val();
localStorage.setItem("username", username);
localStorage.setItem("apiurl", APIURL);
openscreen("home");
} else {
$('#loginBtn').html('<i class="fa fa-sign-in"></i> Login');

6
platforms/android/assets/www/screens/home.html

@ -47,8 +47,8 @@
</select>
</div>
<br class="item-only-asset"/>
<div class="input-group item-only-asset">
<br class="item-only-asset item-hidden"/>
<div class="input-group item-only-asset item-hidden">
<span class="input-group-addon"><i class="fa fa-fw fa-hdd-o"></i></span>
<input type="text" class="form-control" id="item-hdd-secure" placeholder="Hard Drive Secure (Y/N)" />
</div>
@ -105,7 +105,7 @@
<li><a href="#" onclick="additem('asset');" id="addassetbtn"><i class="fa fa-fw fa-desktop"></i> Asset</a></li>
<li><a href="#" onclick="additem('accessory');" id="addaccessorybtn"><i class="fa fa-fw fa-keyboard-o"></i> Accessory</a></li>
<li><a href="#" onclick="additem('consumable');" id="addconsumablebtn"><i class="fa fa-fw fa-tint"></i> Consumable</a></li>
<li><a href="#" onclick="additem('hdd');" id="addassetbtn"><i class="fa fa-fw fa-hdd-o"></i> Hard Drive</a></li>
<li class="item-hidden"><a href="#" onclick="additem('hdd');" id="addassetbtn"><i class="fa fa-fw fa-hdd-o"></i> Hard Drive</a></li>
</ul>
</div>
</div>

11
platforms/android/assets/www/screens/login.html

@ -10,6 +10,12 @@
<div id="errorbase" class="alert alert-danger alert-dismissable" style="display: none;">
<p id="errormsg">An error occurred.</p>
</div>
<br />
<div class="input-group">
<span class="input-group-addon" id="basic-addon-globeicon"><i class="fa fa-globe"></i></span>
<input type="text" placeholder="API Address" id="urlBox" class="form-control" aria-describedby="basic-addon-globeicon" value="" />
</div>
<br />
<div class="input-group">
<span class="input-group-addon" id="basic-addon-usericon"><i class="fa fa-user"></i></span>
<input type="text" placeholder="Username" id="usernameBox" class="form-control" aria-describedby="basic-addon-usericon"/>
@ -32,6 +38,11 @@
} else {
$('#usernameBox').val(localStorage.getItem("username"));
}
if (localStorage.getItem("apiurl") === null) {
} else {
$('#urlBox').val(localStorage.getItem("apiurl"));
}
$("#usernameBox").keydown(function (event) {
if (event.keyCode == 13) {

BIN
platforms/android/res/drawable-mdpi/icon.png

Before

Width: 512  |  Height: 512  |  Size: 24 KiB

After

Width: 512  |  Height: 512  |  Size: 16 KiB

2
platforms/android/res/values/strings.xml

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<resources>
<string name="app_name">E-Recycle Tracker</string>
<string name="app_name">SnipeIT</string>
<string name="launcher_name">@string/app_name</string>
<string name="activity_name">@string/launcher_name</string>
</resources>

4
platforms/android/res/xml/config.xml

@ -35,9 +35,9 @@
<param name="android-package" value="com.phonegap.plugins.barcodescanner.BarcodeScanner" />
</feature>
<allow-intent href="market:*" />
<name>E-Recycle Tracker</name>
<name>SnipeIT</name>
<description>
Helena Industries Big Sky E-Recycling asset/inventory tracking app, integrated with custom SnipeIT database API
Asset/inventory tracking app, integrated with custom SnipeIT database API
</description>
<icon src="www/img/launcher.png" />
<author email="admin@netsyms.com" href="https://netsyms.com">

BIN
www/img/googleplay-banner.png

After

Width: 1024  |  Height: 500  |  Size: 27 KiB

125
www/img/googleplay-banner.svg

@ -0,0 +1,125 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="1024"
height="500"
viewBox="0 0 1024 500.00001"
id="svg4148"
version="1.1"
inkscape:version="0.91 r"
sodipodi:docname="googleplay-banner.svg"
inkscape:export-filename="/home/skylar/NetBeansProjects/SnipeITMobile/www/img/googleplay-banner.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4150" />
<sodipodi:namedview
id="base"
pagecolor="#46b8ff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="-55"
inkscape:cy="520"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1019"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata4153">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-552.36216)">
<g
transform="matrix(1.997633,0,0,2.4649355,700.2629,657.76288)"
id="g4151">
<rect
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#53c9ff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="rect4137"
width="115.95353"
height="66.815598"
x="-12.816265"
y="12.663981" />
<rect
y="81.607796"
x="36.212296"
height="22.148317"
width="17.896412"
id="rect4139"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6.90457582;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
<path
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 11.474059,104.66102 67.372881,0"
id="path4141"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<g
id="g4190"
transform="translate(1.9308968,-0.34088195)">
<ellipse
ry="16.204638"
rx="20.831064"
cy="46.620235"
cx="43.229603"
id="path4173"
style="fill:none;fill-opacity:1;stroke:#008eff;stroke-width:7.14497852;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:open="true"
d="m 25.978814,55.40957 a 20.831064,16.204638 0 0 1 0.530999,-18.930602 20.831064,16.204638 0 0 1 23.246221,-5.615046 20.831064,16.204638 0 0 1 14.22127,15.367241"
sodipodi:end="0"
sodipodi:start="2.5394541"
sodipodi:ry="16.204638"
sodipodi:rx="20.831064"
sodipodi:cy="46.231163"
sodipodi:cx="43.14624"
sodipodi:type="arc"
id="path4173-9"
style="fill:none;fill-opacity:1;stroke:#00a6ff;stroke-width:7.14497852;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:99.10398865px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="83.763855"
y="767.72534"
id="text4729"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4731"
x="83.763855"
y="767.72534"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">Snipe-IT</tspan><tspan
sodipodi:role="line"
x="83.763855"
y="891.60535"
id="tspan4733"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">Mobile App</tspan></text>
</g>
</svg>
Loading…
Cancel
Save