-
Notifications
You must be signed in to change notification settings - Fork 0
/
standaloneAfterMake.html
67 lines (63 loc) · 1.81 KB
/
standaloneAfterMake.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Graibomongo</title>
<!-- Fonts -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<!-- application -->
<script src="./bin/mongobrowser-withDependencies.min.js"></script>
<link href="./bin/mongobrowser-withDependencies.min.css" rel='stylesheet'/>
<script src="./bin/mongo-shell.js"></script>
</head>
<body>
<script>
m = MongoBrowser($("body")[0],
{connectionPresets: [ {name: "withauth",
host: "faui00q",
port: 27017,
performAuth: true,
auth: {
adminDatabase: "admin",
username: "test",
password: "secret",
method: "scram-sha-1"
}},
{name: "without",
host: "faui00q",
port: 27017,
performAuth: false,
auth: {
adminDatabase: "admin",
username: "",
password: "",
method: "scram-sha-1"
}}],
window: "resizable",
assetPrefix: "bin/"})
// MongoBrowser($("body"),
// {connectionPresets: [ {name: "withauth",
// host: "faui00q",
// port: 27017,
// performAuth: true,
// auth: {
// adminDatabase: "admin",
// username: "test",
// password: "secret",
// method: "scram-sha-1"
// }},
// {name: "without",
// host: "faui00q",
// port: 27017,
// performAuth: false,
// auth: {
// adminDatabase: "admin",
// username: "",
// password: "",
// method: "scram-sha-1"
// }}],
// window:"moveable"})
</script>
</body>
</html>