Skip to content

Instantly share code, notes, and snippets.

@gregpayne
Created April 22, 2013 06:05
Show Gist options
  • Save gregpayne/289744e50cef90eed3c5 to your computer and use it in GitHub Desktop.
Save gregpayne/289744e50cef90eed3c5 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Raspberry Pi Test Page</title>
<link type="text/css" href="bootstrap.min.css" rel="stylesheet">
<link type="text/css" href="jquery-ui-1.10.2.custom.css" rel="stylesheet">
<script src="jquery-1.9.1.js"></script>
<script src="jquery-ui-1.10.2.custom.js"></script>
<script>
$(function()
{
$( "#dateFrom" ).datepicker();
$( "#dateTo" ).datepicker();
});
</script>
</head>
<body>
<div class="navbar">
<div class="navbar-inner">
<ul class="nav">
<li><a href="/home">Home Page</a></li>
<li><a href="/test">Test Page</a></li>
<li><a href="/testgraph">Test Graph</a></li>
<li><a href="/logout">Logout</a></li>
</ul>
</div>
</div>
<div class="container">
<h1>Page used for testing code and processes</h1>
<p>IP address is: {{ ipaddr }}</p>
<br/><br/><br/>
<form action="/test" method="get">
<div class="row-fluid">
<div class="span3">
<label>Date From</label>
<input type="text" id="dateFrom" name="from"/>
</div>
<div class="span3">
<label>Date to</label>
<input type="text" id="dateTo" name="to"/>
</div>
<div class="span3">
<input type="submit" class"btn" name="selectedDates" value="Submit Dates">
</div>
</div>
</form>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment