-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbudg_edit.html
79 lines (73 loc) · 3.07 KB
/
budg_edit.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
<!DOCTYPE html>
<html>
<head>
<title>Add Budget | Voyager</title>
<meta charset="utf-8">
<style>
.submit_btn:hover{
background-color: black;
opacity: 50%;
color: white;
}
form{
margin: auto;
margin-top: 30px;
width:450px;
height:500px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align: center;
color: white;
text-shadow: black 2px 2px 2px;;
font-size: 20px;
opacity: 70%;
background-color: black;
box-shadow: 3px 3px 5px 2px rgb(255, 255, 255), 0 0 20px black;
}
.options{
display: flex;
}
.options input{
margin: auto;
}
</style>
</head>
<body style="background-image:url('images/painting-1682416389136-9172.jpg'); background-repeat:no-repeat; background-size:cover; opacity:1;">
<div class="view-page">
<form method="get" action="InsertBudg">
<!--<label for="budget_id" style="font-size: 28px; text-shadow: 2px 2px 2px orangered;">Budget ID: </label>
<br>
<input style="width: 200px; height: 30px;" type="text" name="budget_id" id="budget_id" required placeholder="Enter Budget ID"> -->
<input style="display:none" id="trip_id" name="trip_id">
<br>
<label for="group_name" style="font-size: 28px; text-shadow: 2px 2px 2px orangered;">Budget Group Name: </label>
<br>
<input style="width: 200px; height: 30px;" type="text" name="group_name" id="group_name" required placeholder="Enter Category Name">
<br>
<label for="amt" style="font-size: 28px; text-shadow: 2px 2px 2px orangered;">Budget Amount: </label>
<br>
<input style="width: 200px; height: 30px;" type="text" name="amt" id="amt" required placeholder="Enter New Budget Amount">
<input id="submit_btn" type="submit" value="Add Budget" style="width: 150px;height:30px;margin:auto;margin-top:20px;font-size:20px;background-color:white;opacity:70%;border-radius:5px;box-shadow:0px 0px 2px 2px white;text-shadow:2px 2px 2px white;">
</form>
</div>
<script>
window.onload(load());
var tid;
function load(){
setTimeout(function(){fadein();}, 500);
var url_string = window.location.href;
var url = new URL(url_string);
tid = url.searchParams.get("tid");
document.getElementById("trip_id").value = tid;
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
}
setTimeout(function(){
fadein(n);
}, 300);
};}
</script>
</body>
</html>