Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 2baa3de80a108e84b263f8c836a42544a3238cc2 gtowey committed Aug 2, 2012
Showing with 18,434 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +21 −0 conf/config.inc.php
  3. +111 −0 css/bootstrap-combobox.css
  4. +567 −0 css/bootstrap-responsive.css
  5. +3,365 −0 css/bootstrap.css
  6. +35 −0 index.php
  7. +136 −0 js/bootstrap-collapse.js
  8. +160 −0 js/bootstrap-combobox.js
  9. +92 −0 js/bootstrap-dropdown.js
  10. +130 −0 js/bootstrap-tab.js
  11. +271 −0 js/bootstrap-typeahead.js
  12. +179 −0 js/flot/jquery.colorhelpers.js
  13. +1 −0 js/flot/jquery.colorhelpers.min.js
  14. +167 −0 js/flot/jquery.flot.crosshair.js
  15. +1 −0 js/flot/jquery.flot.crosshair.min.js
  16. +183 −0 js/flot/jquery.flot.fillbetween.js
  17. +1 −0 js/flot/jquery.flot.fillbetween.min.js
  18. +238 −0 js/flot/jquery.flot.image.js
  19. +1 −0 js/flot/jquery.flot.image.min.js
  20. +2,599 −0 js/flot/jquery.flot.js
  21. +6 −0 js/flot/jquery.flot.min.js
  22. +336 −0 js/flot/jquery.flot.navigate.js
  23. +1 −0 js/flot/jquery.flot.navigate.min.js
  24. +750 −0 js/flot/jquery.flot.pie.js
  25. +1 −0 js/flot/jquery.flot.pie.min.js
  26. +60 −0 js/flot/jquery.flot.resize.js
  27. +1 −0 js/flot/jquery.flot.resize.min.js
  28. +344 −0 js/flot/jquery.flot.selection.js
  29. +1 −0 js/flot/jquery.flot.selection.min.js
  30. +184 −0 js/flot/jquery.flot.stack.js
  31. +1 −0 js/flot/jquery.flot.stack.min.js
  32. +70 −0 js/flot/jquery.flot.symbol.js
  33. +1 −0 js/flot/jquery.flot.symbol.min.js
  34. +103 −0 js/flot/jquery.flot.threshold.js
  35. +1 −0 js/flot/jquery.flot.threshold.min.js
  36. +4 −0 js/jquery-1.7.1.min.js
  37. +194 −0 js/jquery-ui-1.8.16.custom.min.js
  38. +85 −0 js/jquery-ui-sliderAccess.js
  39. +1,326 −0 js/jquery-ui-timepicker-addon.js
  40. +2,599 −0 js/jquery.flot.js
  41. +319 −0 js/jquery.ui.core.js
  42. +1,826 −0 js/jquery.ui.datepicker.js
  43. +272 −0 js/jquery.ui.widget.js
  44. +57 −0 js/lang-sql.js
  45. +78 −0 lib/Helpers.php
  46. +50 −0 lib/Loader.php
  47. +410 −0 lib/RainGauge.php
  48. +470 −0 lib/RainGaugeModel.php
  49. +3 −0 views/footer.php
  50. +62 −0 views/header.php
  51. +76 −0 views/index.php
  52. +23 −0 views/navbar.php
  53. +258 −0 views/sample.php
  54. +160 −0 views/server.php
  55. +30 −0 views/server_list_samples.php
  56. +1 −0 views/server_list_samples_json.php
  57. +12 −0 views/upload_test.php
@@ -0,0 +1 @@
+collected
@@ -0,0 +1,21 @@
+<?php
+$conf['collection_dir'] = 'collected';
+$conf['base_dir'] = dirname($_SERVER['SCRIPT_FILENAME']);
+$conf['tmp_dir'] = "/tmp";
+
+$conf['non_delta_status_vars'] = array('Threads_running', 'Innodb_data_pending_fsyncs', 'Innodb_data_pending_writes','Innodb_data_pending_reads');
+
+$conf['status_presets'] = array(
+ 'Bandwidth' => array( 'Bytes_sent', 'Bytes_received' ),
+ 'Threads' => array( 'Threads_connected', 'Threads_running'),
+ 'DML' => array( 'Questions', 'Com_select', 'Com_insert','Com_update','Com_delete', 'Com_replace'),
+ 'Select_Types' => array('Select_full_join', 'Select_full_range_join','Select_range','Select_range_check','Select_scan'),
+ 'Os_Waits' => array( 'Innodb_mutex_os_waits', 'Innodb_x_lock_os_waits', 'Innodb_s_lock_os_waits'),
+ 'LSN' => array( 'Innodb_lsn_current', 'Innodb_lsn_flushed', 'Innodb_lsn_last_checkpoint'),
+ 'Log' => array( 'Innodb_log_writes','Innodb_log_write_requests', 'Innodb_log_waits'),
+ 'Pages' => array( 'Innodb_pages_created', 'Innodb_pages_read','Innodb_pages_written'),
+ 'Rows' => array( 'Innodb_rows_read','Innodb_rows_updated','Innodb_rows_inserted','Innodb_rows_deleted'),
+ 'Pending' => array( 'Innodb_data_pending_fsyncs', 'Innodb_data_pending_writes','Innodb_data_pending_reads'),
+ 'Binlog' => array( 'binlog_commits', 'binlog_group_commits'),
+);
+?>
@@ -0,0 +1,111 @@
+.combobox-container {
+ margin-bottom: 5px;
+ *zoom: 1;
+}
+.combobox-container:before, .combobox-container:after {
+ display: table;
+ content: "";
+}
+.combobox-container:after {
+ clear: both;
+}
+.combobox-container input, .combobox-container .uneditable-input {
+ -webkit-border-radius: 0 3px 3px 0;
+ -moz-border-radius: 0 3px 3px 0;
+ border-radius: 0 3px 3px 0;
+}
+.combobox-container input:focus, .combobox-container .uneditable-input:focus {
+ position: relative;
+ z-index: 2;
+}
+.combobox-container .uneditable-input {
+ border-left-color: #ccc;
+}
+.combobox-container .add-on {
+ float: left;
+ display: block;
+ width: auto;
+ min-width: 16px;
+ height: 18px;
+ margin-right: -1px;
+ padding: 4px 5px;
+ font-weight: normal;
+ line-height: 18px;
+ color: #999999;
+ text-align: center;
+ text-shadow: 0 1px 0 #ffffff;
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ -webkit-border-radius: 3px 0 0 3px;
+ -moz-border-radius: 3px 0 0 3px;
+ border-radius: 3px 0 0 3px;
+}
+.combobox-container .active {
+ background-color: #a9dba9;
+ border-color: #46a546;
+}
+.combobox-container input, .combobox-container .uneditable-input {
+ float: left;
+ -webkit-border-radius: 3px 0 0 3px;
+ -moz-border-radius: 3px 0 0 3px;
+ border-radius: 3px 0 0 3px;
+}
+.combobox-container .uneditable-input {
+ border-left-color: #eee;
+ border-right-color: #ccc;
+}
+.combobox-container .add-on {
+ margin-right: 0;
+ margin-left: -1px;
+ -webkit-border-radius: 0 3px 3px 0;
+ -moz-border-radius: 0 3px 3px 0;
+ border-radius: 0 3px 3px 0;
+}
+.combobox-container input:first-child {
+ *margin-left: -160px;
+}
+.combobox-container input:first-child + .add-on {
+ *margin-left: -21px;
+}
+.combobox-container select {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ border: 0;
+ padding: 0;
+ margin: 0;
+ float: left;
+ text-indent: -99999px;
+ *text-indent: 0;
+}
+.combobox-selected .combobox-clear {
+ display: inline-block;
+}
+.combobox-selected .caret {
+ display: none;
+}
+.combobox-clear {
+ display: none;
+ width: 14px;
+ height: 14px;
+ line-height: 14px;
+ vertical-align: top;
+ opacity: 0.3;
+ filter: alpha(opacity=30);
+}
+.dropdown:hover .combobox-clear, .open.dropdown .combobox-clear {
+ opacity: 1;
+ filter: alpha(opacity=100);
+}
+.btn .combobox-clear {
+ margin-top: 1px;
+ margin-left: 1px;
+}
+.btn:hover .combobox-clear, .open.btn-group .combobox-clear {
+ opacity: 1;
+ filter: alpha(opacity=100);
+}
+.typeahead-long {
+ max-height: 300px;
+ overflow-y: auto;
+}
Oops, something went wrong.

0 comments on commit 2baa3de

Please sign in to comment.