Added synchronizer daemon
Former-commit-id: ee3100d97cad83de5498f38467ac61a922398cb6
This commit is contained in:
parent
6c5a5585c2
commit
c27620d63d
7 changed files with 32 additions and 29 deletions
|
|
@ -12,7 +12,7 @@
|
|||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="css/main.css" rel="stylesheet">
|
||||
|
||||
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
|
||||
<script src="js/jquery-1.11.3.min.js"></script>
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
</head>
|
||||
|
|
@ -49,6 +49,7 @@
|
|||
<div class="panel-heading">Profile Information</div>
|
||||
<div class="panel-body">
|
||||
<form>
|
||||
<hidden id="id" value="{{user.getId()}}">
|
||||
<div class="form-group col-md-4">
|
||||
<label for="username">Username</label>
|
||||
<input type="text" class="form-control" id="username" value="{{user.username}}">
|
||||
|
|
|
|||
|
|
@ -13,16 +13,19 @@
|
|||
<link href="css/main.css" rel="stylesheet">
|
||||
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
|
||||
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
|
||||
<script src="js/jquery-1.11.3.min.js"></script>
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<script src="js/morris.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
chartData("min-power-chart",
|
||||
[{{#minData}}
|
||||
{ y: {{.timestamp}}, {{.username}}: {{.data}}/1000 },
|
||||
{{/minData}}]
|
||||
[
|
||||
{{#minData}}
|
||||
{ y: {{.timestamp}}, {{.username}}: {{.data}}/1000 },
|
||||
{{/minData}}
|
||||
{ y: Date.now() },
|
||||
]
|
||||
);
|
||||
chartData("hour-power-chart",
|
||||
[{{#hourData}}
|
||||
|
|
@ -31,7 +34,7 @@
|
|||
);
|
||||
chartData("day-power-chart",
|
||||
[{{#dayData}}
|
||||
{ y: {{.timestamp}}, {{.username}}: {{.data}}/1000 },
|
||||
{ y: {{.timestamp}}, {{.username}}: {{.data}}/1000 },
|
||||
{{/dayData}}]
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue