This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{_id: "4da96f65dfecf6edd329269c3799de60", | |
_rev: "1-3a49c260576c26c758742c8842d5b9ca", | |
loadAvgHourlyNI: 8404.7, | |
hourEnd: 1, | |
loadAvgHourlyDUQ: 1263.2, | |
loadAvgHourlyDAY: 1392.2, | |
loadAvgHourlyMIDATL: 22126.6, | |
loadAvgHourlyDOM: 7162.4, | |
loadAvgHourlyAEP: 10855.8, | |
loadAvgHourlyAP: 3834.5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id": "_design/tests", | |
"_rev": "2-9712dcb1e76a5cc7ab0e0e0b5bf7a70a", | |
"language": "javascript", | |
"views": { | |
"id": { | |
"map": "function(doc) {\n emit(doc._id, doc);\n}" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"total_rows":24, | |
"offset":0, | |
"rows":[ | |
{ | |
"id":"4da96f65dfecf6edd329269c3799de60", | |
"key":"pjm-20100405-01", | |
"value":{ | |
"_id":"4da96f65dfecf6edd329269c3799de60", | |
"_rev":"1-3a49c260576c26c758742c8842d5b9ca", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript" charset="utf-8"></script> | |
<!-- <script src="http://69.164.211.38:8080/_utils/script/jquery.js?1.4.2"></script> --> | |
<script src="jquery.couch-view.js" type="text/javascript" ></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table id="table-1" bgcolor="gray"> | |
<thead> | |
<tr bgcolor="lightgray"> | |
<th>Id</th> | |
<th>Date</th> | |
<th>Hour</th> | |
<th>Load</th> | |
</tr> | |
</thead> | |
<tbody> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<title>Couch View</title> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript" charset="utf-8"></script> | |
<script type="text/javascript" src="jquery.couch-view.js"></script> | |
<script> | |
$(document).ready(function() { | |
$(".grid-test").couchview({ | |
url: "http://69.164.211.38:8080/mydb/_design/tests/_view/", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table id="example-1" bgcolor="gray" class="grid-test"> | |
<thead> | |
<tr bgcolor="lightgray" class="header-row"> | |
<th>Id</th> | |
<th>Date</th> | |
<th>Hour</th> | |
<th>Load</th> | |
</tr> | |
</thead> | |
<tbody class="data-body"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="table-1" class="grid grid-test" > | |
<div class="grid header-row" > | |
<div class="span_4 first column data-sort" id="id" >Id</div> | |
<div class="span_3 column data-sort" id="date" >Date</div> | |
<div class="span_1 column data-sort" id="hourEnd" >Hour</div> | |
<div class="span_2 last column data-sort" id="loadAvgHourlyDAY" >Load</div> | |
</div> | |
<div class="grid data-body"> | |
<div class="grid data-row" > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tfoot> | |
<tr bgcolor="white"> | |
<th ><button class="pager-prev-page">prev</button></th> | |
<th colspan="2"><span class="pager-page"></span> | |
of <span class="pager-page-total"></span></th> | |
<th ><button class="pager-next-page">next</button></th> | |
</tr> | |
</tfoot> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id": "_design/tests", | |
"_rev": "7-33b9ed5cb7a82e86d440f83f00cd341e", | |
"language": "javascript", | |
"views": { | |
"id": { | |
"map": "function(doc) {\n emit(doc._id, doc);\n}" | |
}, | |
"date": { | |
"map": "function(doc) {\n emit(doc.date, doc);\n}" |
OlderNewer