This repository has been archived by the owner on Dec 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logout.html
155 lines (135 loc) · 3.96 KB
/
logout.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
155
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title id="title">gAImeMaster Client</title>
<link rel="stylesheet" href="dep/slick/slick.css">
<link rel="stylesheet" href="dep/noty/noty.css">
<link rel="stylesheet" href="dep/noty/themes/metroui.css">
<link rel="stylesheet" href="dep/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="dep/iziModal-master/css/iziModal.css">
<link rel="stylesheet" href="dep/w3.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="login.css">
</head>
<body>
<style>
#topBar {
height: 29px;
/*border:3px solid black;*/
margin: 0px;
background-color: #222;
}
#handle {
-webkit-app-region: drag;
width: calc(100% - 174px);
height: 29px;
position: absolute;
z-index: 998;
}
.header-button {
height: 29px;
width: 58px;
background-color: white;
color: black;
border-radius: 0%;
border: none;
outline: none;
float: right;
font-size: 12pt
}
#MM {
background-image: url("maximize.svg");
background-repeat: no-repeat;
background-position: center;
background-color: #222;
}
#MM:hover {
background-color: #333;
color: white;
}
#MINM {
background-image: url("minimize.svg");
background-repeat: no-repeat;
background-position: center;
background-color: #222;
}
#MINM:hover {
background-color: #333;
color: white;
}
#X {
/*background-color: #222;*/
background-image: url("close.svg");
background-repeat: no-repeat;
background-position: center;
background-color: #222;
}
#X:hover {
color: white;
background-color: red;
}
#titleBar {
color: white;
text-align: center;
width: 100%;
margin: auto;
font-family: Verdana, sans-serif;
font-size: 12px;
margin-left: auto;
margin-right: auto;
margin-top: auto;
margin-bottom: auto;
line-height: 29px;
}
</style>
<header id="topBar">
<div id="handle">
<div id="titleBar"></div>
</div>
<div class="header-buttons">
<button id="X" class="header-button" onclick="quit()"></button>
<button id="MINM" class="header-button" onclick="minimize()"></button>
</div>
</header>
<script>
const ipc = require('electron').ipcRenderer;
function quit() {
ipc.send("close");
}
function minimize() {
ipc.send("minimize");
}
document.getElementById("titleBar").innerHTML = document.getElementById("title").innerHTML;
</script>
<div class="container">
</div>
<script>
</script>
<script>
if (typeof module === 'object') {
window.module = module;
module = undefined;
}
</script>
<script src="dep/jquery.js"></script>
<script src="dep/noty/noty.js"></script>
<script src="dep/slick/slick.js"></script>
<script src="dep/iziModal-master/js/iziModal.min.js"></script>
<script src="dep/bootstrap/js/bootstrap.js"></script>
<script>
if (window.module) {
module = window.module;
}
</script>
<script>
$("a").click(function(e) {
window.titlebr.dispose();
});
</script>
<script>
localStorage.setItem("loggedin", false);
location.href = "login.html";
</script>
</body>
</html>