-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
154 lines (132 loc) · 6.29 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
142
143
144
145
146
147
148
149
150
151
152
153
154
<head>
<link rel="stylesheet" href="custom.css">
<script src="//unpkg.com/three"></script>
<script src="//unpkg.com/3d-force-graph"></script>
<!-- <script src="https://requirejs.org/docs/release/2.3.5/minified/require.js"></script> -->
<!--<script src="dist/3d-force-graph.js"></script>-->
<script src="//d3js.org/d3-dsv.v1.min.js"></script>
<script src="//d3js.org/d3-fetch.v1.min.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<!-- <link rel="icon" type="image/png" href="images/icons/favicon.ico"/> -->
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/animate/animate.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/perfect-scrollbar/perfect-scrollbar.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="css/util.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<!--===============================================================================================-->
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400" rel="stylesheet" />
<!-- <link href="css/main.css" rel="stylesheet" /> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="top text">
<h1 id="gtype" class="topChild info"> 3D Image </h1>
<select id="gselect" class="topChild">
<option value="None">-- Select --</option>
<option value="1" selected>3D Image</option>
<option value="2">3D Group</option>
<option value="3">Price</option>
<option value="4">Year</option>
<option value="5">Game Series</option>
<option value="6">Price & Series</option>
<option value="7">Year & Series</option>
<option value="8">Rating</option>
<option value="9">Tag</option>
<option value="10">On Sale</option>
</select>
</div>
<div id="left-float">
<h2 class="text info">SteamArt</h2>
<h3 id="name" class="text info">Portal 2 (id:620)</h3>
<h4 class="text info">Please try right click the nodes.</h4>
<a id="link" href="https://steamdb.info/app/620/info/" target="_blank"><img id="poster" class="info" src="img/10.jpg" style="width:100%; "></a>
<div class="table100 ver3 info" style="width:100%; ">
<div class="table100-head">
<table>
<thead>
<tr class="row100 head">
<th class="cell100 column1">Price (USD)</th>
<th class="cell100 column2">Company</th>
<th class="cell100 column3">Release Year</th>
<th class="cell100 column4">Rating</th> </tr>
</thead>
</table>
</div>
<div class="table100-body js-pscroll">
<table>
<tbody>
<tr class="row100 body">
<td id="tprice" class="cell100 column1">5</td>
<td id="tcompany" class="cell100 column2">None</td>
<td id="tyear" class="cell100 column3">2xxx</td>
<td id="trating" class="cell100 column4">96.57%</td>
</tr>
</tbody>
</table>
</div>
</div>
<h2 class="text info">Similar Neighbors:</h2>
<div id="neighbors">
</div>
</div>
<button class="leftbtn" onclick="openNavLeft()">☰ Detail Info</button>
<button class="rightbtn" onclick="openNavRight()">☰ Cluster Info</button>
<div id="right-float">
<!-- <a href="javascript:void(0)" class="closebtn text" onclick="closeNav()">×</a> -->
<h2 class="text info" id="cluster">Cluster: 1</h2>
<h2 class="text info" id="member" >All members:</h2>
<div id="members"> </div>
</div>
<div id="bottom-float">
<div class="table100 ver3 info">
<div class="table100-head">
<table>
<thead>
<tr class="row100 head">
<th class="cell100 column1">ID</th>
<th class="cell100 column2">Name</th>
<th class="cell100 column3">Price (USD)</th>
<th class="cell100 column4">Company</th>
<th class="cell100 column5">Release Year</th>
<th class="cell100 column6">Rating</th>
</tr>
</thead>
</table>
</div>
<div class="table100-body js-pscroll" style="height:85%;">
<table>
<tbody id="mrows">
<tr class="row100 body">
<td class="cell100 column1">620</td>
<td class="cell100 column2">Portal 2</td>
<td class="cell100 column3">5</td>
<td class="cell100 column4">None</td>
<td class="cell100 column5">2xxx</td>
<td class="cell100 column6">96.57%</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="top-search-bar">
<form class="example" style="margin:auto;max-width:300px" onsubmit="false">
<input type="text" placeholder="Search by AppID..." id="searchbar">
<input id="hiddenText" type="text" style="display:none" />
<button type="button" onclick="searchGame()"><i class="fa fa-search"></i></button>
</form>
</div>
<div id="3d-graph" class="right-half">
</div>
<script type="text/javascript" src="page.js"></script>
</body>