-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappconfig.html
More file actions
34 lines (31 loc) · 1.17 KB
/
appconfig.html
File metadata and controls
34 lines (31 loc) · 1.17 KB
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
<html>
<head>
<title>Rocket Browser - AppConfig</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script src="js/bootstrap.bundle.min.js"></script>
<script src="lib/RocketBrowser.js"></script>
<script src="lib/Card.js"></script>
</head>
<body id="appconfig-screen" class="d-flex flex-column h-100 w-100 bg-dark">
<div id="main" class="container">
</div>
<script>
var container = document.getElementById("main");
let cardList = null;
fusionReady = function () {
cardList = new Card(container);
cardList.add('App Config', 'Loading', 'info');
RocketBrowser.AppConfig.details().then(response => {
cardList.clear();
let data = parseObjectToHTML(response)
cardList.add('App Config', data, 'primary');
}).catch(error => {
cardList.clear();
cardList.add('AppConfig', 'Error' , 'danger');
});
}
</script>
</body>
</html>