Repository navigation
Expand file tree
/
Copy pathadmin.html
More file actions
84 lines (84 loc) · 4.74 KB
/
Copy pathadmin.html
File metadata and controls
84 lines (84 loc) · 4.74 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>
<head>
<title>Dan Data Base Admin</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu">
<link rel="stylesheet" href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href=
"https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
<!-- Page Content -->
<div id="adminmain">
<!-- Header/Home -->
<header>
<h1>DanDB Administration</h1>
</header><!-- Database Section -->
<div class="admin" id="dbmodify">
<h2>Modify</h2>
<form action="/php/modify-person.php" method="post" target="modifyresults">
<p><input type="text" placeholder="Username" name="username" required=""></p>
<p><input type="password" placeholder="Password" name="password" required=""></p>
<p style="padding-bottom:24px;"><input type="text" placeholder="id" name="id" required=""></p>
<p><input type="text" placeholder="firstName" name="firstName"></p>
<p><input type="text" placeholder="middleName" name="middleName"></p>
<p><input type="text" placeholder="lastName" name="lastName"></p>
<p><input type="text" placeholder="dateOfBirth (YYYY-MM-DD)" name="dateOfBirth"></p>
<p><input type="text" placeholder="dateOfDeath (YYYY-MM-DD)" name="dateOfDeath"></p>
<p><input type="text" placeholder="placeOfBirth" name="placeOfBirth"></p>
<p><input type="text" placeholder="gender (M or F)" name="gender"></p>
<p><input type="text" placeholder="profession" name="profession"></p>
<p><input type="text" placeholder="misc (1200 characters)" name="misc"></p>
<p><input type="text" placeholder="fatherId" name="fatherId"></p>
<p><input type="text" placeholder="motherId" name="motherId"></p>
<p><button type="submit"><i class="material-icons">person_pin</i> MODIFY</button></p>
<iframe title="Modify Notification" id="modifyresults" name="modifyresults"></iframe>
</form>
</div>
<div class="admin" id="dbadd">
<h2>Add</h2>
<form action="/php/add-person.php" method="post" target="addresults">
<p><input type="text" placeholder="Username" name="username" required=""></p>
<p style="padding-bottom:80px;"><input type="password" placeholder="Password" name="password" required=""></p>
<p><input type="text" placeholder="firstName" name="firstName"></p>
<p><input type="text" placeholder="middleName" name="middleName"></p>
<p><input type="text" placeholder="lastName" name="lastName"></p>
<p><input type="text" placeholder="dateOfBirth (YYYY-MM-DD)" name="dateOfBirth"></p>
<p><input type="text" placeholder="dateOfDeath (YYYY-MM-DD)" name="dateOfDeath"></p>
<p><input type="text" placeholder="placeOfBirth" name="placeOfBirth"></p>
<p><input type="text" placeholder="gender (M or F)" name="gender" required=""></p>
<p><input type="text" placeholder="profession" name="profession"></p>
<p><input type="text" placeholder="misc (1200 characters)" name="misc"></p>
<p><input type="text" placeholder="fatherId" name="fatherId"></p>
<p><input type="text" placeholder="motherId" name="motherId"></p>
<p><button type="submit"><i class="material-icons">person_add</i> ADD</button></p>
<iframe title="Add Notification" id="addresults" name="addresults"></iframe>
</form>
</div>
<div class="admin" id="dbremove">
<h2>Remove</h2>
<form action="/php/remove-person.php" method="post" target="removeresults">
<p><input type="text" placeholder="Username" name="username" required=""></p>
<p style="padding-bottom:80px;"><input type="password" placeholder="Password" name="password" required=""></p>
<p><input type="text" placeholder="Removal String" name="remove" required=""></p>
<p><button type="submit"><i class="material-icons">remove_circle_outline</i> REMOVE</button></p>
<iframe title="Remove Notification" id="removeresults" name="removeresults"></iframe>
</form>
</div>
</div><!-- End Database Section -->
<!--
<footer class="w3-row-padding w3-padding-64 w3-text-grey w3-center">
<p class="w3-medium">Credit where credit is due, powered by <a href=
"https://www.mysql.com" target="_blank" class=
"w3-hover-text-white extlink">MySQL</a>, <a href="https://www.php.net"
target="_blank" class="w3-hover-text-white extlink">PHP</a> and <a href=
"https://www.w3schools.com/w3css/default.asp" target="_blank" class=
"w3-hover-text-white extlink">w3.css</a></p>
</footer>
<-->
</body>
</html>