Web Interfaces of PROSUME

history.ctp 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. $this->layout = false;
  3. ?>
  4. <!DOCTYPE html>
  5. <html>
  6. <?= $this->element('Eprosume/header') ?>
  7. <body class="hold-transition skin-green sidebar-mini">
  8. <div class="wrapper">
  9. <?= $this->element('Eprosume/mainHeader') ?>
  10. <!-- Left side column. contains the logo and sidebar -->
  11. <?= $this->element('Eprosume/leftSideColumn') ?>
  12. <!-- Content Wrapper. Contains page content -->
  13. <div class="content-wrapper">
  14. <!-- Content Header (Page header) -->
  15. <section class="content-header">
  16. <h1>
  17. History
  18. <small></small>
  19. </h1>
  20. <ol class="breadcrumb">
  21. <li><a href="/"><i class="fa fa-dashboard"></i> <?= $app_name ?></a></li>
  22. <li class="active"><a href="/history">History</a></li>
  23. </ol>
  24. </section>
  25. <!-- Main content -->
  26. <section class="content">
  27. <div class="row">
  28. <div class="col-xs-12">
  29. <div class="box">
  30. <!-- /.box-header -->
  31. <div class="box-body">
  32. <?= $this->element('Eprosume/dataTableToolbar', [
  33. "prosumers" => $prosumers,
  34. "column" => "2,3",
  35. "columnTimestamp"=>0
  36. ]) ?>
  37. <table id="valueTable" class="table table-bordered table-striped">
  38. <thead>
  39. <tr>
  40. <th>Timestamp</th>
  41. <th>TX ID</th>
  42. <th>From</th>
  43. <th>To</th>
  44. <th>Asset</th>
  45. <th>Type</th>
  46. <th>Value</th>
  47. <th>Purchased/Sold Energy</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. </tbody>
  52. </table>
  53. </div>
  54. <!-- /.box-body -->
  55. </div>
  56. <!-- /.box -->
  57. </div>
  58. <!-- /.col -->
  59. </div>
  60. <!-- /.row -->
  61. </section>
  62. <!-- /.content -->
  63. </div>
  64. <!-- /.content-wrapper -->
  65. <?= $this->element('Eprosume/footer') ?>
  66. </div>
  67. <!-- ./wrapper -->
  68. <?= $this->element('Eprosume/scripts') ?>
  69. <?= $this->element('Eprosume/Views/datatable', array("dataTableConfiguration" => "historyDataTableConfiguration")) ?>
  70. </body>
  71. </html>