-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview.html
40 lines (38 loc) · 1.6 KB
/
view.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/spark-md5/3.0.2/spark-md5.min.js"></script>
<title>OpenProfile Card</title>
</head>
<body>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="view.html">View</a></li>
<li><a href="https://docs.sctech.localplayer.dev/openprofile/">Docs</a></li>
</ul>
</nav>
<div class="profile">
<h1 class="center-text">User Profile</h1>
<div id="badge-container" style="display: flex; justify-content: center;">
<!-- dummy div for openprofile+ badge -->
</div>
<div id="profile-info" aria-live="polite"></div>
<button id="load-file">Load Profile from File</button>
<input type="file" id="file-input" accept=".json" style="display: none;">
<button id="save-file">Save Profile as .json</button>
</div>
<!--- TODO: qr support <script src="https://cdn.jsdelivr.net/npm/qrcode/build/qrcode.min.js"></script> --->
<script src="js/script.js"></script>
<script src="js/view.js"></script>
<footer>
<div class="footer-content">
<p>(ↄ) OpenProfile 2024-2025 v3.2 - <a href="privacy.html">Privacy Policy</a> - <a href="https://github.com/openprofileproject/openprofile">Source</a></p>
</div>
</footer>
</body>
</html>