forked from ayahea/faceted-network-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
141 lines (109 loc) · 5.12 KB
/
index.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>Muhaddithat</title>
<link href="font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap.min.css">
<link href="style.css" rel="stylesheet">
<link rel="shortcut icon" type="image/png" href="icon.png">
</head>
<body>
<div id="cy"></div>
<div id="loading">
<span class="fa fa-refresh fa-spin"></span>
</div>
<div id="search-wrapper">
<input type="text" class="form-control" id="search" placeholder=" Search">
</div>
<div id="info">
</div>
<script src="fastclick.min.js"></script>
<script src="jquery.min.js"></script>
<script src="cytoscape.min.js"></script>
<script src="jquery.qtip.min.js"></script>
<link href="jquery.qtip.min.css" rel="stylesheet" type="text/css" />
<script src="cytoscape-qtip.js"></script>
<script src="bluebird.min.js"></script>
<script src="bootstrap.min.js"></script>
<script src="typeahead.bundle.js"></script>
<script src="handlebars.min.js"></script>
<script src="lodash.min.js"></script>
<script src="demo.js"></script>
<button id="reset" class="btn btn-default"><i class="fa fa-arrows-h"></i></button>
<button id="filter" class="btn btn-default"><i class="fa fa-filter"></i></button>
<button id="about" class="btn btn-default"><i class="fa fa-info"></i></button>
<button id="graph-dropdown" class="btn btn-default"><i class="fa-solid fa-users"></i></button>
<div id="about-content">
<p>This app was made using <a target="_blank" href="http://js.cytoscape.org">Cytoscape.js <i
class="fa fa-external-link"></i></a>.</p>
<p><a target="_blank"
href="https://muhaddithat.net/about">About the Muhaddithat project<i class="fa fa-external-link"></i></a></p>
<p><a target="_blank"
href="https://github.com/muhaddithat/interactive-graph-app/">Source code<i class="fa fa-external-link"></i></a></p>
</div>
<ul class="legend">
<li><span class="male"></span>male narrator</li>
<li><span class="female"></span>female narrator</li>
<li><span class="pointer"></span>A → B means A taught B</li>
</ul>
<div id="filters">
<div class="filterset-section-title">Gender</div>
<div class="filtersets">
<div class="filterset">
<input id="male" type="checkbox" checked></input><label for="male">Male</label><br />
<input id="female" type="checkbox" checked></input><label for="female">Female</label>
</div>
</div>
</div>
<div id="dropdown-content">
<div class='dropdown-title'>Choose a graph to view</div>
<div class='dropdown'>
<form>
<select id = "dropdown-list" onchange = "changeGraph()" >
<option> Choose a graph </option>
<option value="aishah_53"> ʿAʾishah bint Abi Bakr </option>
<option value="hafsah54">Ḥafṣah bint ʿUmar</option>
<option value="umsalamah56">Umm Salamah</option>
<option value="ramlah59">Umm Ḥabībah Ramlah</option>
<option value="asma70">Asmāʾ bint Abi Bakr</option>
<option value="safiyyah2802">Ṣafiyyah bint Shaybah</option>
<option value="amrah11455">ʿAmrah bint ʿAbd ur-Raḥmān</option>
<option value="nusaybah71">Nasībah Umm ʿAṭiyyah al-Anṣāriyyah</option>
<option value="fatimah10526">Fāṭimah bint al-Munthir ibn al-Zubayr</option>
<option value="hafsah11039">Ḥafṣah bint Sīrīn</option>
<option value="asma69">Asmāʾ bint ʿUmays</option>
<option value="asma84">Asmāʾ bint Yazīd</option>
<option value="khayrah10737">Khayrah Umm al-Hasan al-Baṣri</option>
<option value="umdarda11457">Umm ad-Dardāʾ aṣ-Ṣughrā</option>
<option value="various">Various</option>
</select>
</form>
</div>
</div>
<script id="node-info" type="text/x-handlebars-template">
<div class='node-info-fullname'>Full Name: {{fullname}}</div>
<div class='node-info-fullname'>Arabic Name: {{arabicname}}</div>
<div class='node-info-gender'>Gender: {{gender}}</div>
<div class='node-info-info'>{{info}}</div>
<div class='node-info-more'><a target="_blank" href='https://muslimscholars.info/manage.php?submit=scholar&ID={{id}}'>More information</a></div>
</script>
<!--3/27/23-->
<script id="edge-info" type="text/x-handlebars-template">
<div class='edge-info-from'>Narrated from: {{narratedfrom}}</div>
<div class='edge-info-to'>Narrated to: {{narratedto}}</div>
<div class='edge-info-more'><a target="_blank" href={{hadithurl}}>View the narrated hadith</a></div>
</script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-155159-12', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>