Finish Munzee integration
This commit is contained in:
parent
0347247dbe
commit
e659b0fe83
@ -15,14 +15,19 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<iframe id="munzeeoauth" src="about:blank"></iframe>
|
||||
<iframe id="munzeeoauth" src="about:blank" style="background-color: white;"></iframe>
|
||||
|
||||
<script>
|
||||
setTimeout(function () {
|
||||
$('#munzeeoauth').attr('src', 'https://api.munzee.com/oauth?response_type=code&client_id='
|
||||
+ MUNZEE_CLIENT_ID
|
||||
+ '&redirect_uri='
|
||||
+ MUNZEE_REDIRECT
|
||||
+ '&scope=read');// capture_light');
|
||||
}, 1000);
|
||||
$('#munzeeoauth').attr('src', 'https://api.munzee.com/oauth?response_type=code&client_id='
|
||||
+ MUNZEE_CLIENT_ID
|
||||
+ '&redirect_uri='
|
||||
+ MUNZEE_REDIRECT
|
||||
+ '&scope=read capture_light');
|
||||
|
||||
$("#munzeeoauth").load(function () {
|
||||
alert(this.contentWindow.location);
|
||||
if (this.contentWindow.location == "about:closeme") {
|
||||
openscreen("home");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
@ -15,43 +15,43 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<div class="scrollable-box">
|
||||
<div class='list-group'>
|
||||
<div class='list-group-item' onclick='openIntro()'>
|
||||
Show Introduction
|
||||
</div>
|
||||
<div class='list-group-item' onclick='openRules()'>
|
||||
Show Rules
|
||||
</div>
|
||||
<!--<div class='list-group-item' onclick='openscreen("munzeelink")'>
|
||||
Link with Munzee account
|
||||
<br />
|
||||
<span class="small">When you link a Munzee account, any Munzee QR codes you scan will be automatically captured in Munzee as well.</span>
|
||||
</div>-->
|
||||
<div class='list-group-item' onclick='askLogout()'>
|
||||
Logout from app
|
||||
</div>
|
||||
<div class='list-group-item'>
|
||||
<p>
|
||||
<span style='font-weight: bold;'>Data and Libraries Used</span>
|
||||
<br />
|
||||
Map tiles by Stamen Design (stamen.com), under CC BY 3.0 (creativecommons.org/licenses/by/3.0).
|
||||
<br />
|
||||
Map tile data by OpenStreetMap (openstreetmap.org), under CC BY-SA (creativecommons.org/licenses/by-sa/3.0).
|
||||
<br />
|
||||
Places from OpenStreetMap and contributers, licensed under the ODbL (opendatacommons.org/licenses/odbl).
|
||||
<br />
|
||||
Map display is powered by Leaflet (leafletjs.com), copyright (c) 2010-2016, Vladimir Agafonkin and copyright (c) 2010-2011, CloudMade. BSD 2-clause license.
|
||||
<br />
|
||||
Weather data Powered by Forecast (forecast.io).
|
||||
<br />
|
||||
Application developed using Apache Cordova (Apache License 2.0).
|
||||
<br />
|
||||
Barcode scanner code copyright (c) 2010 Matt Kane (MIT License).
|
||||
</p>
|
||||
</div>
|
||||
<div class='list-group-item' onclick="openmodal('licenses', '#license-modal');">
|
||||
Open Source Licenses
|
||||
</div>
|
||||
</div>
|
||||
<div class="scrollable-box">
|
||||
<div class='list-group'>
|
||||
<div class='list-group-item' onclick='openIntro()'>
|
||||
Show Introduction
|
||||
</div>
|
||||
<div class='list-group-item' onclick='openRules()'>
|
||||
Show Rules
|
||||
</div>
|
||||
<div class='list-group-item' onclick='openscreen("munzeelink")'>
|
||||
Link with Munzee account
|
||||
<br />
|
||||
<span class="small">When you link a Munzee account, any Munzee QR codes you scan will be automatically captured in Munzee as well.</span>
|
||||
</div>
|
||||
<div class='list-group-item' onclick='askLogout()'>
|
||||
Logout from app
|
||||
</div>
|
||||
<div class='list-group-item'>
|
||||
<p>
|
||||
<span style='font-weight: bold;'>Data and Libraries Used</span>
|
||||
<br />
|
||||
Map tiles by Stamen Design (stamen.com), under CC BY 3.0 (creativecommons.org/licenses/by/3.0).
|
||||
<br />
|
||||
Map tile data by OpenStreetMap (openstreetmap.org), under CC BY-SA (creativecommons.org/licenses/by-sa/3.0).
|
||||
<br />
|
||||
Places from OpenStreetMap and contributers, licensed under the ODbL (opendatacommons.org/licenses/odbl).
|
||||
<br />
|
||||
Map display is powered by Leaflet (leafletjs.com), copyright (c) 2010-2016, Vladimir Agafonkin and copyright (c) 2010-2011, CloudMade. BSD 2-clause license.
|
||||
<br />
|
||||
Weather data Powered by Forecast (forecast.io).
|
||||
<br />
|
||||
Application developed using Apache Cordova (Apache License 2.0).
|
||||
<br />
|
||||
Barcode scanner code copyright (c) 2010 Matt Kane (MIT License).
|
||||
</p>
|
||||
</div>
|
||||
<div class='list-group-item' onclick="openmodal('licenses', '#license-modal');">
|
||||
Open Source Licenses
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user