This commit is contained in:
Arjun Patel
2017-10-07 23:45:16 -07:00
parent 9255e1eb3c
commit 9c7cbb794b
3 changed files with 29 additions and 1 deletions
+16
View File
@@ -15,3 +15,19 @@ function directionsURL(inCommand) {
$('#input').unbind();
});
}
/*
var x = document.getElementById("input");
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
x.innerHTML = "Geolocation is not supported by this browser.";
}
}
function showPosition(position) {
x.innerHTML = "Latitude: " + position.coords.latitude +
"<br>Longitude: " + position.coords.longitude;
}
*/
+11
View File
@@ -3,6 +3,7 @@
<head>
<title>DoEverythingBar</title>
<script type="text/javascript" src="https://secure.skypeassets.com/i/scom/js/skype-uri.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
@@ -14,6 +15,16 @@
<button id="authorize-button" style="display: none;">Sign-In</button>
<button id="signout-button" style="display: none;">Sign-Out</button>
<button id="create-event" style="display: none;">Create-Event</button>
<button id="SkypeButton_Call_justinkimchi77_1" style="display:none;">
<script type="text/javascript">
Skype.ui({
"name": "call",
"element": "SkypeButton_Call_justinkimchi77_1",
"participants": [""]
});
</script>
</button>
<div class="container main-bg" id="content">
<div class="row">
+2 -1
View File
@@ -17,7 +17,8 @@ var dict = {
"gcal": makeEvent,
"googlecalendar": makeEvent,
"mapsd": directionsURL,
"directions": directionsURL
"directions": directionsURL,
"skype": skypeCall
};
function error() {