-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (82 loc) · 3.32 KB
/
index.html
File metadata and controls
84 lines (82 loc) · 3.32 KB
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
<!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="style.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<title>WishSim</title>
</head>
<body>
<!-- Added icon container fixed at top left -->
<div class="icon-container">
<div class="settings-icon">
<i class="fas fa-cog"></i>
</div>
<div class="about-icon">
<i class="fas fa-info-circle"></i>
</div>
</div>
<div class="history-icon">
<i class="fas fa-history"></i>
</div>
<!-- removed separate icon divs from inside main-content if present -->
<div class="background-overlay"></div>
<div class="main-content">
<div class="config">
<span class="page-title">WishSim<sup>v4</sup></span>
<div class="banners">
<button id="venti-button">Venti</button>
<button id="standard-button">Standard</button>
</div>
<button id="wish-button" disabled>WISH</button>
<!-- Added counter element -->
<div id="counter" class="counter">Wishes until guaranteed 5-star: 90</div>
</div>
<div class="output"></div>
</div>
<div id="settings-popup" class="popup">
<span class="close-button">×</span>
<span class="page-subtitle">Settings</span>
<div class="input-container">
<label for="background-select">Background:</label>
<select id="background-select">
<option value="default">Default</option>
<option value="mondstadt">Mondstadt</option>
<option value="liyue">Liyue</option>
<option value="custom">Custom</option>
</select>
</div>
<div id="custom-url-container" class="input-container" style="display: none;">
<input type="text" id="custom-url-input" placeholder="Enter image URL">
<button id="save-custom-url">Save</button>
</div>
</div>
<div id="about-popup" class="popup" style="display: none;">
<span class="close-button">×</span>
<h2>About This Project</h2>
<p>Yes this is the FOURTH time I've built this project. Each time I've learnt something new, which is probably normal and good :D <br/><br/>Anyway, here's the <a href="https://github.com/sunrayyourdev/wish-simulator" target="_blank">repo</a>. Ingat!</p>
</div>
<!-- New History Popup -->
<div id="history-popup" class="popup" style="display: none;">
<span class="close-button">×</span>
<h2>History</h2>
<div class="history-table-container">
<table id="history-table">
<thead>
<tr>
<th>Banner</th>
<th>Item Name</th>
<th>Rarity</th>
</tr>
</thead>
<tbody>
<!-- dynamically populated -->
</tbody>
</table>
</div>
</div>
<script src="script.js"></script>
</body>
</html>