mirror of
https://github.com/System-End/Team_Website.git
synced 2026-04-20 00:25:24 +00:00
50 lines
1.5 KiB
HTML
50 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en"></html>
|
|
<head>
|
|
<link
|
|
rel="icon"
|
|
type="image/x-icon"
|
|
href="/Resources/Favicons/favicon.png"
|
|
/>
|
|
<link rel="stylesheet" href="/Pages/style.css" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<script>
|
|
window.addEventListener("DOMContentLoaded", (event) => {
|
|
fetch("/Pages/navbar.html")
|
|
.then((response) => response.text())
|
|
.then((data) => {
|
|
document.getElementById("navbar").innerHTML = data;
|
|
});
|
|
fetch("/Pages/socials.html")
|
|
.then((response) => response.text())
|
|
.then((data) => {
|
|
document.getElementById("socials").innerHTML = data;
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<!--Navigation Bar-->
|
|
<div id="navbar"></div>
|
|
<h1></h1>
|
|
<h1></h1>
|
|
<a
|
|
href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?
|
|
client_id=c91a3691-c800-4aed-9e85-1a2c896327de
|
|
&response_type=code
|
|
&grant_type=authorization_code
|
|
&redirect_uri=http://localhost:5500/Pages/Callback.html
|
|
&scope=openid%20offline_access%20Files.ReadWrite.All"
|
|
target="_blank"
|
|
>
|
|
Click here to sign in with Microsoft
|
|
</a>
|
|
<h1>Upload Photos to OneDrive</h1>
|
|
<input type="file" id="fileInput" accept="image/*" />
|
|
<button id="uploadButton">Upload</button>
|
|
|
|
<script src="upload.js"></script>
|
|
<!-- Footer -->
|
|
<div id="socials"></div>
|
|
</body>
|