forked from thecuriousteam/PyLibLog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
138 lines (122 loc) · 5.57 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PyLibLog</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.1/css/fontawesome.min.css">
<link rel="stylesheet" href="style.css">
<!-- <script src = "logic.js"></script> -->
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- Leave those next 4 lines if you care about users using IE8 -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
<a class="navbar-brand" href="#">PyLibLog</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Dropdown
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#">Disabled</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<!-- Loading indicator -->
<div class="progress" style="height: 3px; position: fixed; top: 57px; left: 0; width: 100%; display: none;">
<div class="custom-progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<!-- Middle Section -->
<div class="container" style="display: flex;">
<!-- <div class = "scrollbar-link">
<a href = #home id="aa">Home</a>
<a href = #about id = "aa">About</a>
<a href = #contact id = "aa">Contact</a>
<a href = #home id="aa">Home</a>
<a href = #about id = "aa">About</a>
<a href = #contact id = "aa">Contact</a>
<a href = #home id="aa">Home</a>
<a href = #about id = "aa">About</a>
<a href = #contact id = "aa">Contact</a>
<a href = #home id="aa">Home</a>
<a href = #about id = "aa">About</a>
<a href = #contact id = "aa">Contact</a>
</div>
<div id = "aa">Hello</div>
<div id = "about">About</div>
<div id = "contact">Contact</div> -->
<div class="sidebar scrollbar-link">
<a href="#" onclick="showContent('assets/BeautifulSoup.html')">Beautiful Soup</a>
<a href="#" onclick="showContent('assets/Django.html')">Django</a>
<a href="#" onclick="showContent('assets/Flask.html')">Flask</a>
<a href="#" onclick="showContent('assets/Keras.html')">Keras</a>
<a href="#" onclick="showContent('assets/Matplotlib.html')">Matplotlib</a>
<a href="#" onclick="showContent('assets/Numpy.html')">Numpy</a>
<a href="#" onclick="showContent('assets/Pandas.html')">Pandas</a>
<a href="#" onclick="showContent('assets/Requests.html')">Requests</a>
<a href="#" onclick="showContent('assets/ScikitLearn.html')">Scikit-learn</a>
<a href="#" onclick="showContent('assets/Tensorflow.html')">Tensorflow</a>
</div>
<div class="content" id="content">
Home
</div>
</div>
<script>
function showContent(contentFileName) {
var contentDiv = document.getElementById('content');
var loader = document.querySelector('.progress');
loader.style.display = 'block';
contentDiv.style.display = 'none';
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function () {
if (xhr.readyState === 4 && xhr.status === 200) {
contentDiv.innerHTML = xhr.responseText;
setTimeout(function () {
loader.style.display = 'none';
contentDiv.style.display = 'block';
}, 1000);
}
};
xhr.open('GET', contentFileName, true);
xhr.send();
}
</script>
<!-- footer -->
<p align="center">© Copyright, Curious Ecosystem</p>
<!-- Including Bootstrap JS (with its jQuery dependency) so that dynamic components work -->
<script src="https://code.jquery.com/jquery-1.12.4.min.js"
integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</body>
</html>