-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
53 lines (50 loc) · 1.71 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
<!-- template.html -->
<html>
<head>
<title>Flits</title>
<script src="http://fb.me/react-with-addons-0.10.0.js"></script>
<script src="http://fb.me/JSXTransformer-0.10.0.js"></script>
<script src="http://code.jquery.com/jquery-1.10.0.js"></script>
<script type="text/jsx" src="/components/machine-item.js"></script>
<script type="text/jsx" src="/components/machine-list.js"></script>
<script type="text/jsx" src="/components/unit-item.js"></script>
<script type="text/jsx" src="/components/unit-list.js"></script>
<script type="text/jsx" src="/components/systemd-status.js"></script>
<script type="text/jsx" src="/components/dashboard.js"></script>
<link rel="stylesheet" href="//bootswatch.com/lumen/bootstrap.min.css"/>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<style>
.unit-enter, .machine-enter {
opacity: 0.01;
transition: opacity .5s ease-in;
}
.unit-enter.unit-enter-active, .machine-enter.machine-enter-active {
opacity: 1;
}
.unit-leave, .machine-leave {
opacity: 1;
transition: opacity .5s ease-in;
}
.unit-leave.unit-leave-active, .machine-leave.machine-leave-active {
opacity: 0.01;
}
</style>
</head>
<body>
<div class="container">
<div class="navbar navbar-default">
<div class="navbar-header">
<a class="navbar-brand" href="/">flits</a>
</div>
</div>
<div id="app"></div>
</div>
<script type="text/jsx">
/** @jsx React.DOM */
React.renderComponent(
<Dashboard />,
document.getElementById('app')
);
</script>
</body>
</html>