-
Notifications
You must be signed in to change notification settings - Fork 0
/
array.html
31 lines (31 loc) · 1.75 KB
/
array.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
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>List of Unique Mnemonics/Opcodes</title>
<link crossorigin="anonymous" href="//cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<link crossorigin="anonymous" href="https://bootswatch.com/3/lumen/bootstrap.css" rel="stylesheet" type="text/css" />
<link crossorigin="anonymous" href="main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container-fluid">
<div class="fluid-row">
<div class="col-xs-4 col-xs-offset-4">
<table class="table table-bordered table-striped" id="data-table">
</table>
</div>
</div>
</div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.js"></script><script type="text/javascript" src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/crossfilter/1.3.12/crossfilter.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/dc/2.0.0-beta.32/dc.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore.js"></script><script type="text/javascript">
var localArray = JSON.parse(localStorage.getItem('array'));
var htmlTags = '';
for (var i = localArray.length - 1; i >= 0; i--) {
htmlTags += '<tr>';
items = localArray[i].split('|');
for (var j = 0; j < items.length; j++) {
htmlTags += '<td>' + items[j] + '</td>';
}
htmlTags += '</tr>';
}
document.getElementById("data-table").innerHTML = htmlTags;
</script></body>
</html>