-
Notifications
You must be signed in to change notification settings - Fork 125
/
index.html
55 lines (50 loc) · 2.61 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
<!DOCTYPE html>
<html>
<head>
<title>Postbird</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="public/codemirror/codemirror.css" media="all" rel="stylesheet" type="text/css" />
<link href="public/codemirror/addon/dialog/dialog.css" media="all" rel="stylesheet" type="text/css">
<link href="public/codemirror/addon/hint/show-hint.css" media="all" rel="stylesheet" type="text/css" />
<link href="public/style.css" media="all" rel="stylesheet" type="text/css" />
</head>
<body class="platform-">
<script>
(() => {
var electron = require('@electron/remote');
var win = electron.app.mainWindow;
if (!win.isFocused()) {
document.body.classList.add('unfocused');
}
document.body.classList.add("platform-" + process.platform);
if (electron.nativeTheme && electron.nativeTheme.shouldUseDarkColors) {
document.body.classList.add("dark-mode");
}
})();
</script>
<div id="tabs">
</div>
<div id="content">
</div>
<script type="text/javascript" src="public/jquery.js"></script>
<script>
window.$ = window.jQuery = require('./public/jquery.js');
</script>
<script type="text/javascript" src="public/codemirror/codemirror.js"></script>
<script type="text/javascript" src="public/codemirror/addon/hint/show-hint.js"></script>
<script type="text/javascript" src="public/codemirror/addon/hint/sql-hint.js"></script>
<script type="text/javascript" src="public/codemirror/addon/selection/active-line.js"></script>
<script type="text/javascript" src="public/codemirror/addon/edit/matchbrackets.js"></script>
<script type="text/javascript" src="public/codemirror/sql/sql.js"></script>
<script type="text/javascript" src="public/codemirror/javascript/javascript.js"></script>
<script type="text/javascript" src="public/codemirror/addon/dialog/dialog.js"></script>
<script type="text/javascript" src="public/codemirror/addon/search/searchcursor.js"></script>
<script type="text/javascript" src="public/codemirror/addon/search/search.js"></script>
<script type="text/javascript" src="public/codemirror/addon/search/jump-to-line.js"></script>
<script type="text/javascript" src="public/mousetrap.js"></script>
<script type="text/javascript" src="public/highlightjs/highlight.js"></script>
<script type="text/javascript" src="public/highlightjs/languages/sql.js"></script>
<script type="text/javascript" src="public/highlightjs/languages/pgsql.js"></script>
<script type="text/javascript" src="index.js"></script>
</body>
</html>