-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (41 loc) · 1.63 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Package Manager, Librarie.js Sample View</title>
<style>
body {
padding: 0;
margin: 0;
background-color: #353535;
}
</style>
</head>
<body>
<link rel="stylesheet" href="./dist/resources/fonts/font-awesome-4.7.0/css/font-awesome.min.css"/>
<link rel="stylesheet" href="./dist/resources/packageManagerStyle.css" />
<script src="https://unpkg.com/react@15/dist/react.min.js"></script>
<script src="https://unpkg.com/react-dom@15/dist/react-dom.min.js"></script>
<!-- Placeholders must exist before all other scripts that try to access them -->
<div class="OuterMostContainer">
<div id="leftContentPlaceholder" class="LeftContainer">This space will host lib/pm</div>
<div id="rightContentPlaceholder" class="RightContainer">This will be the detailed space
</div>
</div>
<script src='./dist/bundle.js'></script>
<script>
let tabControlConfig = {
htmlElementId: "leftContentPlaceholder"
};
let tabControl = new PackageManagerEntryPoint.TabControl(tabControlConfig);
// tabControl.insertTab("Library", null);
// tabControl.insertTab("Packages", null);
let detailedConfig = {
htmlElementId: "rightContentPlaceholder"
};
let detailedView = new PackageManagerEntryPoint.DetailedView(detailedConfig);
detailedView.setActivePackageId("583d8ad8fdef23aa6e000037");
</script>
</body>
</html>