Web Interfaces of PROSUME

price_history.ctp 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. Price 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" => "1,2",
  35. "columnTimestamp"=>0
  36. ]) ?>
  37. <table id="valueTable" class="table table-bordered table-striped">
  38. <thead>
  39. <tr>
  40. <th>Timestamp</th>
  41. <th>From</th>
  42. <th>To</th>
  43. <th>Buy Price</th>
  44. <th>Sell Price</th>
  45. </tr>
  46. </thead>
  47. <tbody>
  48. </tbody>
  49. </table>
  50. </div>
  51. <!-- /.box-body -->
  52. </div>
  53. <!-- /.box -->
  54. </div>
  55. <!-- /.col -->
  56. </div>
  57. <!-- /.row -->
  58. </section>
  59. <!-- /.content -->
  60. </div>
  61. <!-- /.content-wrapper -->
  62. <?= $this->element('Eprosume/footer') ?>
  63. </div>
  64. <!-- ./wrapper -->
  65. <?= $this->element('Eprosume/scripts') ?>
  66. <?= $this->element('Eprosume/Views/datatable', array("dataTableConfiguration" => "priceHistoryDataTableConfiguration")) ?>
  67. <script>
  68. $('tr.blockRow').on('click touch',function(){
  69. })
  70. </script>
  71. </body>
  72. </html>