-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.php
63 lines (63 loc) · 3.06 KB
/
settings.php
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
<?php
require "../sso/common.php";
validate_token("https://infotoast.org/budget/settings.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Budget Settings</title>
<script type="text/javascript" src="resources/js/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="resources/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/sso/resources/node_modules/js-cookie/dist/js.cookie.min.js"></script>
<script type="text/javascript" src="/sso/resources/login-box.js"></script>
<script type="text/javascript" src="resources/js/settingsPage.js"></script>
<link type="text/css" rel="stylesheet" href="resources/css/jquery-ui.min.css"/>
<link type="text/css" rel="stylesheet" href="/global-resources/mallory.css"/>
<link type="text/css" rel="stylesheet" href="/sso/resources/login-box.css"/>
<link type="text/css" rel="stylesheet" href="resources/css/global.css"/>
<link type="text/css" rel="stylesheet" href="resources/css/local.css"/>
</head>
<body>
<div class="top">
<div class="topleft">
<h1>Budget Settings</h1>
</div>
<div class="topright">
<div class="loginbutton"></div>
</div>
</div>
<div class="theBody">
<div class="iconBodyHeader" id="firstHeader">
<h2>⚙️Choose your Settings:</h2>
</div>
<p class="errorMsg" id="errorMsg"></p>
<div class="iconSet">
<h4>Your monthly income:</h4><br>
<input type="text" id="incomeBox" class="loginTextBox" name="income" placeholder="5000.00"><br>
<h5>Rent/Utilities:</h5><br>
<input type="text" id="utilBox" class="loginTextBox" name="util" placeholder="1500.00"><br>
<h5>Food:</h5><br>
<input type="text" id="foodBox" class="loginTextBox" name="util" placeholder="500.00"><br>
<h5>Household Supply:</h5><br>
<input type="text" id="supplyBox" class="loginTextBox" name="supply" placeholder="300.00"><br>
<h5>Travel:</h5><br>
<input type="text" id="travelBox" class="loginTextBox" name="travel" placeholder="700.00"><br>
<h5>Software:</h5><br>
<input type="text" id="softwareBox" class="loginTextBox" name="software" placeholder="200.00"><br>
<h5>Luxury:</h5><br>
<input type="text" id="luxuryBox" class="loginTextBox" name="luxury" placeholder="300.00"><br>
<h5>Enable Google Chart?</h5>
<p>Displays a google chart of your budget allocation, but your browser sends a request to Google in the process.</p>
<label class="switch">
<input type="checkbox" id="googleChartBox" name="googleChart">
<span class="slider"></span>
</label>
<p><i>Extra money can be left for saving/investments.</i></p>
<div class="continuebtnfloat" id="continuebtn">
<button class="continue" id="continue" onclick="onSettingsSubmit();">Submit</button>
</div>
</div>
</div>
</body>
</html>