-
Notifications
You must be signed in to change notification settings - Fork 1
/
members.html
121 lines (107 loc) · 5.05 KB
/
members.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Chitransh BTPS</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' href='./css/style.css'>
<link rel='stylesheet' type='text/css' href='./css/mobile-style.css'>
<script src='./script/script.js'></script>
<script src="./data/members.js"></script>
</head>
<body>
<header>
<div class="container-fluid p-0">
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="./index.html">
कायस्थ - ज्ञान विवेक शौर्य।</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<div class="mr-auto"></div>
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="./index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="./history.html">History</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./members.html">Members</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./event.html">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./contactus.html">Connect</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="./oops.html">Donate</a>
</li> -->
</ul>
</div>
</nav>
</div>
</header>
<hr>
<div class="text-center font-weight-bold" style="font-size: 2em;">List of Members</div>
<div style="margin: 0 3%;">
<table class="table table-bordered table-striped" style="box-shadow: 5px 5px 5px 1px whitesmoke;">
<thead>
<tr>
<th scope="col" style="width:10%">Serial No</th>
<th scope="col">Name</th>
<th scope="col">Phone No</th>
</tr>
</thead>
<tbody id='member-list'>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
</tr>
</tbody>
</table>
</div>
<div id="copyright">
<div class="container" style="text-align: center;">
© 2021 Chitransh BTPS<br><b>Made with ❤️ by : Aditi Sneh D/O Sunil Kumar (Chotu)
</div>
</div>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s"
crossorigin="anonymous">
</script>
</body>
<script>
const tableBody = document.querySelector('#member-list')
var tempData = ""
members.forEach(item => {
tempData += "<tr>";
tempData += "<th scope='row'>";
tempData += item.uid;
tempData += "</th>"
tempData += "<td>";
tempData += item.name;
tempData += "</td>"
tempData += "<td>";
tempData += item.mob
tempData += "</td>"
tempData += "</tr>"
});
tableBody.innerHTML = tempData
</script>
</html>