Skip to content

Commit 9df2d3b

Browse files
I will complete the Promint PHP application with all core functionalities and styling.
1 parent f02d6f7 commit 9df2d3b

File tree

15 files changed

+241
-15
lines changed

15 files changed

+241
-15
lines changed

promint-bank/admin/dashboard.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,19 @@
1111
<html>
1212
<head>
1313
<title>Admin Dashboard</title>
14+
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
1415
</head>
1516
<body>
16-
<h2>Admin Dashboard</h2>
17-
<p>Welcome, Admin!</p>
1817
<ul>
18+
<li><a href="dashboard.php" class="active">Dashboard</a></li>
1919
<li><a href="users.php">Manage Users</a></li>
2020
<li><a href="kyc-review.php">KYC Review</a></li>
2121
<li><a href="settings.php">Settings</a></li>
2222
<li><a href="../logout.php">Logout</a></li>
2323
</ul>
24+
<div class="container">
25+
<h2>Admin Dashboard</h2>
26+
<p>Welcome, Admin!</p>
27+
</div>
2428
</body>
2529
</html>

promint-bank/admin/kyc-review.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,19 @@
2626
<html>
2727
<head>
2828
<title>KYC Review</title>
29+
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
2930
</head>
3031
<body>
31-
<h2>KYC Review</h2>
32-
<table border="1">
32+
<ul>
33+
<li><a href="dashboard.php">Dashboard</a></li>
34+
<li><a href="users.php">Manage Users</a></li>
35+
<li><a href="kyc-review.php" class="active">KYC Review</a></li>
36+
<li><a href="settings.php">Settings</a></li>
37+
<li><a href="../logout.php">Logout</a></li>
38+
</ul>
39+
<div class="container">
40+
<h2>KYC Review</h2>
41+
<table>
3342
<tr>
3443
<th>Username</th>
3544
<th>Document Type</th>

promint-bank/admin/settings.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,19 @@
1111
<html>
1212
<head>
1313
<title>Admin Settings</title>
14+
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
1415
</head>
1516
<body>
16-
<h2>Admin Settings</h2>
17-
<p>Settings page for the admin.</p>
17+
<ul>
18+
<li><a href="dashboard.php">Dashboard</a></li>
19+
<li><a href="users.php">Manage Users</a></li>
20+
<li><a href="kyc-review.php">KYC Review</a></li>
21+
<li><a href="settings.php" class="active">Settings</a></li>
22+
<li><a href="../logout.php">Logout</a></li>
23+
</ul>
24+
<div class="container">
25+
<h2>Admin Settings</h2>
26+
<p>Settings page for the admin.</p>
27+
</div>
1828
</body>
1929
</html>

promint-bank/admin/users.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,19 @@
1515
<html>
1616
<head>
1717
<title>Manage Users</title>
18+
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
1819
</head>
1920
<body>
20-
<h2>Manage Users</h2>
21-
<table border="1">
21+
<ul>
22+
<li><a href="dashboard.php">Dashboard</a></li>
23+
<li><a href="users.php" class="active">Manage Users</a></li>
24+
<li><a href="kyc-review.php">KYC Review</a></li>
25+
<li><a href="settings.php">Settings</a></li>
26+
<li><a href="../logout.php">Logout</a></li>
27+
</ul>
28+
<div class="container">
29+
<h2>Manage Users</h2>
30+
<table>
2231
<tr>
2332
<th>ID</th>
2433
<th>Username</th>

promint-bank/assets/css/style.css

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
body {
2+
font-family: Arial, sans-serif;
3+
background-color: #f4f4f4;
4+
margin: 0;
5+
padding: 0;
6+
}
7+
8+
h2 {
9+
color: #333;
10+
}
11+
12+
table {
13+
width: 100%;
14+
border-collapse: collapse;
15+
margin-top: 20px;
16+
}
17+
18+
table, th, td {
19+
border: 1px solid #ddd;
20+
}
21+
22+
th, td {
23+
padding: 8px;
24+
text-align: left;
25+
}
26+
27+
th {
28+
background-color: #f2f2f2;
29+
}
30+
31+
form {
32+
margin-top: 20px;
33+
}
34+
35+
input[type=text], input[type=password], input[type=email], input[type=number], select {
36+
width: 100%;
37+
padding: 12px 20px;
38+
margin: 8px 0;
39+
display: inline-block;
40+
border: 1px solid #ccc;
41+
border-radius: 4px;
42+
box-sizing: border-box;
43+
}
44+
45+
input[type=submit] {
46+
width: 100%;
47+
background-color: #4CAF50;
48+
color: white;
49+
padding: 14px 20px;
50+
margin: 8px 0;
51+
border: none;
52+
border-radius: 4px;
53+
cursor: pointer;
54+
}
55+
56+
input[type=submit]:hover {
57+
background-color: #45a049;
58+
}
59+
60+
ul {
61+
list-style-type: none;
62+
margin: 0;
63+
padding: 0;
64+
width: 200px;
65+
background-color: #f1f1f1;
66+
height: 100%;
67+
position: fixed;
68+
overflow: auto;
69+
}
70+
71+
li a {
72+
display: block;
73+
color: #000;
74+
padding: 8px 16px;
75+
text-decoration: none;
76+
}
77+
78+
li a.active {
79+
background-color: #4CAF50;
80+
color: white;
81+
}
82+
83+
li a:hover:not(.active) {
84+
background-color: #555;
85+
color: white;
86+
}
87+
88+
.container {
89+
margin-left: 220px;
90+
padding: 1px 16px;
91+
height: 1000px;
92+
}

promint-bank/client/dashboard.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@
77
<html>
88
<head>
99
<title>Client Dashboard</title>
10+
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
1011
</head>
1112
<body>
12-
<h2>Client Dashboard</h2>
13-
<p>Welcome, Client!</p>
1413
<ul>
14+
<li><a href="dashboard.php" class="active">Dashboard</a></li>
1515
<li><a href="deposit.php">Deposit</a></li>
1616
<li><a href="withdraw.php">Withdraw</a></li>
1717
<li><a href="transactions.php">Transactions</a></li>
1818
<li><a href="kyc.php">KYC</a></li>
1919
<li><a href="../logout.php">Logout</a></li>
2020
</ul>
21+
<div class="container">
22+
<h2>Client Dashboard</h2>
23+
<p>Welcome, Client!</p>
24+
</div>
2125
</body>
2226
</html>

promint-bank/client/deposit.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,19 @@
3030
<html>
3131
<head>
3232
<title>Deposit</title>
33+
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
3334
</head>
3435
<body>
35-
<h2>Deposit</h2>
36+
<ul>
37+
<li><a href="dashboard.php">Dashboard</a></li>
38+
<li><a href="deposit.php" class="active">Deposit</a></li>
39+
<li><a href="withdraw.php">Withdraw</a></li>
40+
<li><a href="transactions.php">Transactions</a></li>
41+
<li><a href="kyc.php">KYC</a></li>
42+
<li><a href="../logout.php">Logout</a></li>
43+
</ul>
44+
<div class="container">
45+
<h2>Deposit</h2>
3646
<?php if (isset($success)) { echo "<p>$success</p>"; } ?>
3747
<?php if (isset($error)) { echo "<p>$error</p>"; } ?>
3848
<form method="post" action="">

promint-bank/client/kyc.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,19 @@
5252
<html>
5353
<head>
5454
<title>KYC</title>
55+
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
5556
</head>
5657
<body>
57-
<h2>KYC Submission</h2>
58+
<ul>
59+
<li><a href="dashboard.php">Dashboard</a></li>
60+
<li><a href="deposit.php">Deposit</a></li>
61+
<li><a href="withdraw.php">Withdraw</a></li>
62+
<li><a href="transactions.php">Transactions</a></li>
63+
<li><a href="kyc.php" class="active">KYC</a></li>
64+
<li><a href="../logout.php">Logout</a></li>
65+
</ul>
66+
<div class="container">
67+
<h2>KYC Submission</h2>
5868
<?php if (isset($success)) { echo "<p>$success</p>"; } ?>
5969
<?php if (isset($error)) { echo "<p>$error</p>"; } ?>
6070
<form method="post" action="" enctype="multipart/form-data">

promint-bank/client/transactions.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,20 @@
1616
<html>
1717
<head>
1818
<title>Transactions</title>
19+
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
1920
</head>
2021
<body>
21-
<h2>Transactions</h2>
22-
<table border="1">
22+
<ul>
23+
<li><a href="dashboard.php">Dashboard</a></li>
24+
<li><a href="deposit.php">Deposit</a></li>
25+
<li><a href="withdraw.php">Withdraw</a></li>
26+
<li><a href="transactions.php" class="active">Transactions</a></li>
27+
<li><a href="kyc.php">KYC</a></li>
28+
<li><a href="../logout.php">Logout</a></li>
29+
</ul>
30+
<div class="container">
31+
<h2>Transactions</h2>
32+
<table>
2333
<tr>
2434
<th>ID</th>
2535
<th>Amount</th>

promint-bank/client/withdraw.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,19 @@
4242
<html>
4343
<head>
4444
<title>Withdraw</title>
45+
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
4546
</head>
4647
<body>
47-
<h2>Withdraw</h2>
48+
<ul>
49+
<li><a href="dashboard.php">Dashboard</a></li>
50+
<li><a href="deposit.php">Deposit</a></li>
51+
<li><a href="withdraw.php" class="active">Withdraw</a></li>
52+
<li><a href="transactions.php">Transactions</a></li>
53+
<li><a href="kyc.php">KYC</a></li>
54+
<li><a href="../logout.php">Logout</a></li>
55+
</ul>
56+
<div class="container">
57+
<h2>Withdraw</h2>
4858
<?php if (isset($success)) { echo "<p>$success</p>"; } ?>
4959
<?php if (isset($error)) { echo "<p>$error</p>"; } ?>
5060
<form method="post" action="">

0 commit comments

Comments
 (0)