Finish Munzee integration

master
Skylar Ittner 8 years ago
parent 0347247dbe
commit e659b0fe83

@ -15,14 +15,19 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<iframe id="munzeeoauth" src="about:blank"></iframe> <iframe id="munzeeoauth" src="about:blank" style="background-color: white;"></iframe>
<script> <script>
setTimeout(function () { $('#munzeeoauth').attr('src', 'https://api.munzee.com/oauth?response_type=code&client_id='
$('#munzeeoauth').attr('src', 'https://api.munzee.com/oauth?response_type=code&client_id=' + MUNZEE_CLIENT_ID
+ MUNZEE_CLIENT_ID + '&redirect_uri='
+ '&redirect_uri=' + MUNZEE_REDIRECT
+ MUNZEE_REDIRECT + '&scope=read capture_light');
+ '&scope=read');// capture_light');
}, 1000); $("#munzeeoauth").load(function () {
alert(this.contentWindow.location);
if (this.contentWindow.location == "about:closeme") {
openscreen("home");
}
});
</script> </script>

@ -15,43 +15,43 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<div class="scrollable-box"> <div class="scrollable-box">
<div class='list-group'> <div class='list-group'>
<div class='list-group-item' onclick='openIntro()'> <div class='list-group-item' onclick='openIntro()'>
Show Introduction Show Introduction
</div> </div>
<div class='list-group-item' onclick='openRules()'> <div class='list-group-item' onclick='openRules()'>
Show Rules Show Rules
</div> </div>
<!--<div class='list-group-item' onclick='openscreen("munzeelink")'> <div class='list-group-item' onclick='openscreen("munzeelink")'>
Link with Munzee account Link with Munzee account
<br /> <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> <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>
<div class='list-group-item' onclick='askLogout()'> <div class='list-group-item' onclick='askLogout()'>
Logout from app Logout from app
</div> </div>
<div class='list-group-item'> <div class='list-group-item'>
<p> <p>
<span style='font-weight: bold;'>Data and Libraries Used</span> <span style='font-weight: bold;'>Data and Libraries Used</span>
<br /> <br />
Map tiles by Stamen Design (stamen.com), under CC BY 3.0 (creativecommons.org/licenses/by/3.0). Map tiles by Stamen Design (stamen.com), under CC BY 3.0 (creativecommons.org/licenses/by/3.0).
<br /> <br />
Map tile data by OpenStreetMap (openstreetmap.org), under CC BY-SA (creativecommons.org/licenses/by-sa/3.0). Map tile data by OpenStreetMap (openstreetmap.org), under CC BY-SA (creativecommons.org/licenses/by-sa/3.0).
<br /> <br />
Places from OpenStreetMap and contributers, licensed under the ODbL (opendatacommons.org/licenses/odbl). Places from OpenStreetMap and contributers, licensed under the ODbL (opendatacommons.org/licenses/odbl).
<br /> <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. 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 /> <br />
Weather data Powered by Forecast (forecast.io). Weather data Powered by Forecast (forecast.io).
<br /> <br />
Application developed using Apache Cordova (Apache License 2.0). Application developed using Apache Cordova (Apache License 2.0).
<br /> <br />
Barcode scanner code copyright (c) 2010 Matt Kane (MIT License). Barcode scanner code copyright (c) 2010 Matt Kane (MIT License).
</p> </p>
</div> </div>
<div class='list-group-item' onclick="openmodal('licenses', '#license-modal');"> <div class='list-group-item' onclick="openmodal('licenses', '#license-modal');">
Open Source Licenses Open Source Licenses
</div> </div>
</div> </div>
</div> </div>