forked from alairon/SwitchRP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (78 loc) · 3.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Toggle what Discord displays for the current user's status">
<title>Switch RP</title>
<!-- CSS files used by the screen -->
<link rel="stylesheet" href="./index.css">
<link rel="stylesheet" href="bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="fontawesome/css/fontawesome.min.css">
<link rel="stylesheet" href="fontawesome/css/solid.min.css">
<link rel="stylesheet" href="fontawesome/css/regular.min.css">
<link rel="stylesheet" href="fontawesome/css/brands.min.css">
</head>
<body id="bodyMain" class="body-light">
<div class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<div class="navbar-header justify-content-between">
<span class="navbar-brand">Switch RP</span>
<span class="navbar-text">v0.5.2</span>
</div>
<div class="navbar-header">
<button class="btn btn-light" type="button" id="lightToggle" value="0" onclick="toggleScheme()"><i class="far fa-lightbulb"></i></button>
<button class="btn btn-warning" type="button" id="noticesButton" value="0" onclick="readMail()"><i class="fas fa-envelope"></i></button>
<button class="btn btn-info" type="button" onclick="alert('Select a one title from the dropdown menu, then click on the Update Status button')"><i class="far fa-question-circle"></i></button>
</div>
</div>
</div>
<div id="notices" class="noticeBoard" style="display:none">
<div class="container-fluid">
<span>This is an early development build. Descriptions and custom entries are currently disabled.</span>
</div>
</div>
<!-- Game Selection -->
<div class="gameSelect">
<button class="btn btn-primary dropdown-toggle" type="button" id="titleName" value="" data-toggle="dropdown" arias-haspopup="true" aria-expanded="false">
<i class="fas fa-gamepad"></i> Select your game
</button>
<div class="dropdown-menu" id="gameList">
</div>
</div>
<!-- Presence Information -->
<div class="presenceInfo">
<form>
<div class="form-row form-group">
<div class="col">
<label for="gameName">Game Title</label>
<input type="text" class="form-control" id="gameName" placeholder="Game Name" disabled>
</div>
<div class="col">
<label for="gameID">Discord Application ID</label>
<input type="text" class="form-control" id="gameID" placeholder="Discord application ID" disabled>
</div>
</div>
<div class="form-group">
<div class="col">
<label for="gameDetails">Game Details</label>
<input type="text" class="form-control" id="gameDetails" placeholder="Describe what you're doing in-game (optional)">
</div>
</div>
</form>
</div>
<!-- Control buttons -->
<div class="control">
<button type="button" id="reset-btn" class="btn btn-outline-dark" onclick="resetValues()">
<i class="fas fa-undo-alt"></i> Reset Values
</button>
<button type="button" id="updateStatus" class="btn btn-success" data-toggle="false" aria-pressed="false">
<i class="fas fa-broadcast-tower"></i> Update Status
</button>
</div>
<!-- JavaScript files used by the application -->
<script src="jquery/jquery-3.2.1.slim.min.js" onload="window.$ = window.jQuery = module.exports;"></script>
<script src="bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="./index.js"></script>
</body>
</html>