This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathindex.html
77 lines (75 loc) · 2.89 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
<!DOCTYPE html>
<html>
<head>
<title>Twint OSINT Explorer</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/uikit.min.css" />
<script src="js/uikit.min.js"></script>
<script src="js/uikit-icons.min.js"></script>
<link rel="stylesheet" href="photon/css/photon.min.css">
<style>
body {
color: #d3d3d3;
font: 12pt arial;
min-height: 100px;
min-width: 100px;
}
#pane {
width: auto;
height: auto;
min-width: 400px;
min-height: 400px;
overflow:hidden;
}
#includedContent {
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
</head>
<body>
<div class="window">
<div class="window-content">
<div class="pane-group">
<nav class="nav-group">
<h5 class="nav-group-title">Favorites</h5>
<a class="nav-group-item" id="loadHome">
<span class="icon icon-home"></span>
</a>
<span class="nav-group-item" id="dashboard">
<ul class="uk-iconnav uk-iconnav-vertical">
<li><a href="#" uk-icon="icon: image"> Dashboard </a></li>
</ul>
</span>
<span class="nav-group-item" id="twint">
<ul class="uk-iconnav uk-iconnav-vertical">
<li><a href="#" uk-icon="icon: social"> Graph </a></li>
</ul>
</span>
</nav>
<div class="pane" id="pane">
<div id="includedContent"></div>
<script>window.$ = window.jQuery = require('jquery');</script>
<script>
const {ipcRenderer} = require('electron');
$("#twint").click(function(){
$("#includedContent").load("pages/form.html");
});
$("#dashboard").click(function(){
$("#includedContent").load("pages/dashboard.html");
});
$(document).ready(function(){
$("#includedContent").load("pages/home.html");
});
$("#loadHome").click(function(){
$("#includedContent").load("pages/home.html");
});
</script>
</div>
</div>
</div>
</div>
</body>
</html>