<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>Simple JDBC Statistics</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <link href="/resources/css/bootstrap.css" rel="stylesheet"> <link href="/resources/css/jdbc-stats.css" rel="stylesheet"> <link href="/resources/css/bootstrap-responsive.css" rel="stylesheet"> <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script type="text/javascript" src="/resources/js/html5.js"></script> <![endif]--> <script type="text/javascript" src="/resources/js/jquery.js"></script> <script type="text/javascript" src="/resources/js/smoothie.js"></script> <script type="text/javascript"> Sjs = function() { function submit_ajax(action, actionValue) { var params = 'ajax=true&action=' + encodeURIComponent(action) + '&actionValue=' + encodeURIComponent(actionValue) + '&' + $("#form").serialize(); if(document.selection && document.selection.empty) { document.selection.empty(); } else if(window.getSelection) { var sel = window.getSelection(); sel.removeAllRanges(); } $("#loading").show(); $.post("?ts="+new Date().getMilliseconds(), params, function(data) { $("#content").html(data); $("#loading").hide(); }, "html") .error(function(data) { $("#content").html(data.responseText); $("#loading").hide(); }); return false; } return { submit: function(action, actionValue) { return submit_ajax(action, actionValue); }, log: function(p1,p2,p3,p4,p5) { if (console.log) { console.log(p1,p2,p3,p4,p5); } } }; }(); </script> </head> <body> <form name="form" id="form" action="/" method="post" class="form-horizontal"> <div id="content">