Add dashboard app skeleton
This commit is contained in:
parent
663eca857f
commit
123d3b0bdb
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
tmp
|
tmp
|
||||||
|
dashboard/node_modules
|
||||||
|
dashboard/jsx/build
|
||||||
|
43
dashboard/css/app.css
Normal file
43
dashboard/css/app.css
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
body {
|
||||||
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#app {
|
||||||
|
width: 1000px;
|
||||||
|
margin: 0 auto;
|
||||||
|
/*background-color: #eee;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.daemon {
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.daemon h1 {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.daemon .stats {
|
||||||
|
width: 305px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.daemon dt, .daemon dd {
|
||||||
|
margin: 0;
|
||||||
|
float: left;
|
||||||
|
line-height: 20px;
|
||||||
|
}
|
||||||
|
.daemon dt {
|
||||||
|
width: 75px;
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
.daemon dt.narrow {
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
|
.daemon dd {
|
||||||
|
width: 80px;
|
||||||
|
margin-right: 10px;
|
||||||
|
font-family: monospace;
|
||||||
|
text-align: right;
|
||||||
|
}
|
16
dashboard/index.html
Normal file
16
dashboard/index.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Daemons</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="node_modules/normalize.css/normalize.css">
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/app.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script type="text/javascript" src="node_modules/react/dist/react.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/react-dom/dist/react-dom.js"></script>
|
||||||
|
<script type="text/javascript" src="js/http.js"></script>
|
||||||
|
<script type="text/javascript" src="js/format.js"></script>
|
||||||
|
<script type="text/javascript" src="jsx/build/app.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
12
dashboard/package.json
Normal file
12
dashboard/package.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"name": "satan",
|
||||||
|
"private": true,
|
||||||
|
"dependencies": {
|
||||||
|
"react": "0.14.0",
|
||||||
|
"react-dom": "0.14.0",
|
||||||
|
"react-tools": "0.13.3",
|
||||||
|
"normalize.css": "3.0.3",
|
||||||
|
"uglify-js": "2.5.0",
|
||||||
|
"clean-css": "3.4.6"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user