-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
107 lines (88 loc) · 4.95 KB
/
index.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="https://highseas.hackclub.com/doubloon.svg">
<title>Doubloon Finance</title>
<meta name="description" content="Website to keep track your HackClub HighSeas earnings">
<meta property="og:title" content="Doubloon Finance">
<meta property="og:description" content="Website to keep track your HackClub HighSeas earnings">
<meta property="og:image" content="https://highseas.hackclub.com/doubloon.svg">
<meta property="og:site_name" content="Doubloon Finance">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Doubloon Finance">
<meta name="twitter:description" content="Website to keep track your HackClub HighSeas earnings">
<meta name="twitter:image" content="https://highseas.hackclub.com/doubloon.svg">
<link rel="stylesheet" href="https://fonts.bunny.net/css?family=rethink-sans:400&display=swap">
<link rel="stylesheet" href="static/style.css">
</head>
<body>
<header>
<h1 id="title">Doubloon Finance</h1>
</header>
<main>
<div id="projectsContainer" class="container">
<div id="projectsContainerTop">
<h2 id="projectsContainerTitle">Projects and Earnings</h2>
<div class="button-container">
<button type="submit" class="customButton" id="importButton">Import</button>
<button type="submit" class="customButton" id="exportButton">Export</button>
</div>
</div>
<form id="projectForm" class="project-form">
<input type="text" id="projectName" placeholder="Project Name" required>
<input type="number" step="1" id="projectEarnings" placeholder="Earnings" required>
<input type="number" step="0.01" id="projectHours" placeholder="Hours Spent" required>
<div class="form-submit-container">
<input type="checkbox" id="isBlessed">
<button type="submit" id="submitButton">Add Project</button>
</div>
</form>
<ul id="projectsList" class="projects-list"></ul>
<p id="totalEarnings" class="info">Total Earnings: 0</p>
<p id="totalHours" class="info">Total Hours: 0</p>
<p id="averageHourlyRate" class="info">Hourly Rate: 0 /hour</p>
<p id="averageVotes" class="info">Average Votes: 0</p>
</div>
<div id="extraDoubloonsContainer" class="container">
<h2>Extra Doubloons</h2>
<input type="number" step="1" id="extraDoubloons" placeholder="Extra doubloons earned">
</div>
<div id="spendingsContainer" class="container">
<h2>Purchases</h2>
<form id="spendingsForm" class="project-form">
<label for="selectedItemDropdown" id="selectedItemLabel">Item:</label>
<select name="selectedItemDropdown" id="selectedItem" required>
</select>
<button type="submit" id="itemSubmitButton">Add</button>
</form>
<ul id="spendingsList"></ul>
<strong id="totalSpent" class="info">Total Spent: 0</strong>
</div>
<div id="goalContainer" class="container">
<h2>Goal</h2>
<img src="" alt="" draggable="false" id="goalImage">
<p id="goalName" class="info">None (0)</p>
<p id="doubloonsLeft" class="info">Doubloons until goal: 0</p>
<p id="timeLeft" class="info">Estimated hours left: 0</p>
<p style="display:inline;">Can buy: </p><p style="display:inline;" id="canBuyGoal">No (0%)</p>
</div>
<div class="filter-container">
<label for="locationFilter">Location:</label>
<select id="locationFilter">
<option value="All">️🏴☠️ all across the 7 seas</option>
<option value="Us">🇺🇸 US</option>
<option value="Eu">🇪🇺 EU + 🇬🇧 UK</option>
<option value="In">🇮🇳 India</option>
<option value="Ca">🍁 Canada</option>
<option value="Xx">🗺 other countries worldwide...</option>
</select>
</div>
<div id="shopContainer" class="shop-container"></div>
<a id="scrollToTop" class="hidden" href="#">⇑</a>
</main>
</body>
<script src="static/main.js"></script>
</html>