From defe5a09982d1af300e8300ed7593642d40bd9d7 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 2 May 2020 17:09:56 -0600 Subject: [PATCH] Update license headers, implement "fancy" API support --- config.xml | 6 ++ nbproject/project.properties | 1 + scripts/generate_credits.sh | 4 + scripts/npm_prepare.sh | 4 + scripts/remove_bloat.sh | 5 ++ scripts/www_npm_install.sh | 4 + www/assets/css/app.css | 9 ++- www/assets/css/backdrop.css | 1 + www/assets/css/oled.css | 1 + www/assets/css/profiles.css | 35 +++++++++ www/assets/css/tablet.css | 9 ++- www/assets/css/web-barcode.css | 9 ++- www/assets/iframeloading.html | 1 + www/assets/js/autofill.js | 1 + www/assets/js/discover.js | 1 + www/assets/js/location.js | 26 +++---- www/assets/js/login.js | 1 + www/assets/js/main.js | 9 ++- www/assets/js/map.js | 1 + www/assets/js/map_leaflet.js | 1 + www/assets/js/map_mapbox.js | 7 +- www/assets/js/maptab.js | 1 + www/assets/js/platform.js | 26 ++++++- www/assets/js/settings.js | 2 +- www/assets/js/storage.js | 4 +- www/assets/js/sync.js | 2 +- www/assets/js/util.js | 39 ++++++++++ www/index.html | 11 ++- www/pages/credits.html | 75 ++++++++++--------- www/pages/credits.template.html | 9 ++- www/pages/discover.html | 10 ++- www/pages/login.html | 10 ++- www/pages/main.html | 27 ++++--- www/pages/parts/ballot.html | 6 ++ www/pages/profile.html | 9 ++- www/pages/settings.html | 9 ++- .../tabs/{ranking.html => discover.html} | 29 +++++-- www/pages/tabs/map.html | 6 ++ www/pages/tabs/myprofile.html | 18 +++++ www/pages/welcome.html | 9 ++- www/routes.js | 5 +- www/settings.js | 5 +- 42 files changed, 327 insertions(+), 121 deletions(-) create mode 100644 www/assets/css/profiles.css rename www/pages/tabs/{ranking.html => discover.html} (64%) diff --git a/config.xml b/config.xml index e4f19db..b55423a 100644 --- a/config.xml +++ b/config.xml @@ -1,4 +1,10 @@ + Lecte diff --git a/nbproject/project.properties b/nbproject/project.properties index d396bab..60fe758 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -3,4 +3,5 @@ auxiliary.org-netbeans-modules-cordova.phonegap=true file.reference.Lecte-test=test file.reference.Lecte-www=www files.encoding=UTF-8 +project.license=mpl site.root.folder=${file.reference.Lecte-www} diff --git a/scripts/generate_credits.sh b/scripts/generate_credits.sh index 68f5f69..9c937b6 100755 --- a/scripts/generate_credits.sh +++ b/scripts/generate_credits.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2020 Netsyms Technologies. +# 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/. echo "Generating credits files..." diff --git a/scripts/npm_prepare.sh b/scripts/npm_prepare.sh index f5e85a1..6f53ab1 100755 --- a/scripts/npm_prepare.sh +++ b/scripts/npm_prepare.sh @@ -1,4 +1,8 @@ #!/bin/sh +# Copyright 2020 Netsyms Technologies. +# 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/. ./scripts/www_npm_install.sh ./scripts/generate_credits.sh diff --git a/scripts/remove_bloat.sh b/scripts/remove_bloat.sh index 6b831e0..986628e 100755 --- a/scripts/remove_bloat.sh +++ b/scripts/remove_bloat.sh @@ -1,4 +1,9 @@ #!/bin/bash +# Copyright 2020 Netsyms Technologies. +# 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/. +# # This script removes some stuff in `www/node_modules` that the app doesn't need to run. # It removes about 6MB from the build size. diff --git a/scripts/www_npm_install.sh b/scripts/www_npm_install.sh index 6e6aefe..d47f7d2 100755 --- a/scripts/www_npm_install.sh +++ b/scripts/www_npm_install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2020 Netsyms Technologies. +# 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/. echo "Installing node modules in www/..." diff --git a/www/assets/css/app.css b/www/assets/css/app.css index 642ac64..f40de01 100644 --- a/www/assets/css/app.css +++ b/www/assets/css/app.css @@ -1,8 +1,9 @@ /* -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/. -*/ + * Copyright 2020 Netsyms Technologies. + * 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/. + */ /* Framework7 and FontAwesome both have a .fab class diff --git a/www/assets/css/backdrop.css b/www/assets/css/backdrop.css index 0da3d9c..d21c215 100644 --- a/www/assets/css/backdrop.css +++ b/www/assets/css/backdrop.css @@ -1,4 +1,5 @@ /* + * Copyright 2020 Netsyms Technologies. * 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/. diff --git a/www/assets/css/oled.css b/www/assets/css/oled.css index f24fcb8..369a7a4 100644 --- a/www/assets/css/oled.css +++ b/www/assets/css/oled.css @@ -1,4 +1,5 @@ /* + * Copyright 2020 Netsyms Technologies. * 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/. diff --git a/www/assets/css/profiles.css b/www/assets/css/profiles.css new file mode 100644 index 0000000..010285e --- /dev/null +++ b/www/assets/css/profiles.css @@ -0,0 +1,35 @@ +/* + * Copyright 2020 Netsyms Technologies. + * 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/. + */ +/* + Created on : Apr 29, 2020, 9:29:20 PM + Author : Skylar Ittner +*/ + +.profile-card .card-header { + display: block; +} + +.profile-card .profile-image { + float: left; + width: 80px; + max-width: 25%; + position: relative; + margin-right: 2rem; +} + +.profile-card .profile-image img { + width: 100%; +} + +.profile-card .profile-name { + +} + +.profile-card .profile-location { + color: #8e8e93; + font-size: 90%; +} \ No newline at end of file diff --git a/www/assets/css/tablet.css b/www/assets/css/tablet.css index 51fa052..881c5b8 100644 --- a/www/assets/css/tablet.css +++ b/www/assets/css/tablet.css @@ -1,8 +1,9 @@ /* -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/. -*/ + * Copyright 2020 Netsyms Technologies. + * 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/. + */ /* Created on : Apr 3, 2020, 11:55:50 AM Author : Skylar Ittner diff --git a/www/assets/css/web-barcode.css b/www/assets/css/web-barcode.css index 35f563b..def219d 100644 --- a/www/assets/css/web-barcode.css +++ b/www/assets/css/web-barcode.css @@ -1,8 +1,9 @@ /* -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/. -*/ + * Copyright 2020 Netsyms Technologies. + * 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/. + */ #web-barcode-ui { diff --git a/www/assets/iframeloading.html b/www/assets/iframeloading.html index 5eabc55..f263877 100644 --- a/www/assets/iframeloading.html +++ b/www/assets/iframeloading.html @@ -1,5 +1,6 @@ + Lecte @@ -22,6 +25,8 @@ + +
diff --git a/www/pages/credits.html b/www/pages/credits.html index 0d34162..8a3527a 100644 --- a/www/pages/credits.html +++ b/www/pages/credits.html @@ -1,6 +1,9 @@ - +