-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (72 loc) · 2.88 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/scrollbtn.css" rel="stylesheet">
<link href="css/elements.css" rel="stylesheet">
<script src="js/pouchdb-8.0.1.js"></script>
<script>
var db = new PouchDB('WebsifyGR_Movie_Browser');
</script>
<script defer src="js/json-formatter.umd.js" charset="UTF-8"></script>
<script src="js/General_Functions.js"></script>
<script src="js/jQuery_JavaScript_Library_v3.6.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".html-constructor").load("html/Class_Construct.html");
setTimeout(function() {
/* BOF LOAD index.html COMPONENTS */
$(".html-index-movies-container").load("html/HTML_index_movies_container.html");
$(".html-index-json-formatter-containers").load("html/HTML_index_json_formatter_containers.html");
$(".html-search-bar").load("html/HTML_SearchBar.html");
$(".html-legend-backdrop-header").load("html/HTML_legend_backdrop_header.html");
setTimeout(function() {
$("#results").load("html/HTML_movies_initial_landing.html");
}, 200);
/* EOF LOAD index.html COMPONENTS */
/* BOF LOAD GLOBAL COMPONENTS */
$(".html-navigation-header").load("html/HTML_navigation_header.html");
/* EOF LOAD GLOBAL COMPONENTS */
$(".html-tools-header").load("html/HTML_tools_header.html");
/* BOF LOAD GLOBAL METADATA */
$(".html-jsonld-website").load("metatags/WebSite.html");
$(".html-jsonld-oranization-local-business").load("metatags/Organization_Local_Business.html");
/* EOF LOAD GLOBAL METADATA */
}, 200);
});
</script>
<title>Le Brand Media Productions - Movie Browser</title>
</head>
<body>
<span class="html-constructor"></span>
<div class="PouchDBplayground" id="PouchDBplayground">
<div class="playground" id="playground">PouchDB Version 8.0.1 Playground</div>
<script>
db.info().then(function (info) {
console.log(info);
var formatter = new JSONFormatter(JSON.parse(JSON.stringify(info, null, '\t')), 3, { theme: 'dark', hoverPreviewEnabled: true });
document.getElementById('pouchDBresults').appendChild(formatter.render());
document.getElementById('pouchDBresults').style.backgroundColor = "#1E1E1E";
//document.getElementById('pouchDBresults').innerHTML = JSON.stringify(info, null, '\t');
/*
var doc = {
"_id": "mittens",
"name": "Mittens",
"occupation": "kitten",
"age": 3,
"hobbies": [
"playing with balls of yarn",
"chasing laser pointers",
"lookin' hella cute"
]
};
db.put(doc);
*/
})
</script>
<div id="pouchDBresults" style="background-color:#1E1E1E;"></div>
</div>
</body>
</html>