-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
115 lines (94 loc) · 4.99 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Rocket</title>
<!-- Pace pageloader -->
<script src="node_modules/pace-progress/pace.js"></script>
<link rel="stylesheet" href="node_modules/pace-progress/themes/purple/pace-theme-minimal.css">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<!-- Titlebar -->
<nav class="navbar navbar-inverse navbar-static-top" id="titlebar">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#rocket-titlebar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand"><i class="fa fa-rocket fa-fw"></i></span>
</div>
<div class="collapse navbar-collapse" id="rocket-titlebar">
<ul class="nav navbar-nav">
<li id="back"><a href="#"><i class="fa fa-chevron-left fa-fw"></i></a></li>
<li id="forward"><a href="#"><i class="fa fa-chevron-right fa-fw"></i></a></li>
<li id="refresh"><a href="#"><i class="fa fa-refresh fa-fw"></i></a></li>
<!-- <div id="omnibar">
<input class="input" size="60" type="text" name="omnibar" id="omniurl" placeholder="search or enter url">
</div> -->
<!-- <div contenteditable id="omniurl"></div> -->
<p class="navbar-text" contenteditable id="omniurl"></p>
</ul>
<ul class="nav navbar-nav navbar-right">
<!-- <li id="snip"><a href="#"><i class="fa fa-bookmark-o fa-fw"></i></a></li>
<li id="console"><a href="#"><i class="fa fa-terminal fa-fw"></i></a></li>
<li id="settings"><a href="#"><i class="fa fa-gear fa-fw"></i></a></li> -->
<!-- <p class="navbar-text" id="httpslock"><i class="fa fa-fw fa-lock text-success"></i> Secure</p> -->
<p class="navbar-text" id="httpslock"><i class="fa fa-fw fa-lock text-success"></i> <span data-toggle="tooltip" data-placement="bottom" title="This site is secure with a valid SSL certificate">Secure</span></p>
<li id="snip"><a href="#"><i class="fa fa-bookmark-o fa-fw"></i></a></li>
<li><a href="#" data-toggle="modal" data-target="#settingsModal"><i class="fa fa-gear fa-fw"></i></a></li>
<!-- Only for non-macOS -->
<li id="ctx-minimize"><a href="#"><i class="fa fa-window-minimize fa-fw"></i></a></li>
<li id="ctx-maximize"><a href="#"><i class="fa fa-window-restore fa-fw"></i></a></li>
<li id="ctx-close"><a href="#"><i class="fa fa-close fa-fw"></i></a></li>
<!-- End context menu buttons -->
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<!-- WebView -->
<webview id="view" src="https://start.duckduckgo.com/?k1=-1&kae=d" disableguestresize></webview>
<!-- Settings modal -->
<!-- <div class="modal" id="settingsModal">
<div class="modal-background"></div>
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title">Rocket Settings</p>
<button class="delete" id="close-settingsModal" aria-label="close"></button>
</header>
<section class="modal-card-body">
</section>
<footer class="modal-card-foot">
<button class="button is-success">Save changes</button>
<button class="button">Cancel</button>
</footer>
</div>
</div> -->
<!-- Settings modal -->
<div class="modal fade" id="settingsModal" tabindex="-1" role="dialog" aria-labelledby="settingsModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="settingsModalLabel"><i class="fa fa-rocket fa-fw"></i> Rocket settings</h4>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default btn-sm" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary btn-sm">Save</button>
</div>
</div>
</div>
</div>
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script>require('./renderer.js')</script>
<script>if (window.module) module = window.module</script>
</body>
</html>