2015-05-09 12:27:45 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
2016-09-02 04:53:04 +02:00
|
|
|
<title>servant-js Example</title>
|
2015-05-09 12:27:45 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Books</h1>
|
2016-09-02 04:53:04 +02:00
|
|
|
<input type="search" name="q" id="q" placeholder="Search author or book title..." autocomplete="off"/>
|
2015-05-09 12:27:45 +02:00
|
|
|
<div>
|
|
|
|
<p>Results for <strong id="query">""</strong></p>
|
|
|
|
<ul id="results">
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<h1>Approximating π</h1>
|
|
|
|
<p>Count: <span id="count">0</span></p>
|
|
|
|
<p>Successes: <span id="successes">0</span></p>
|
|
|
|
<p id="pi"></p>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/jq.js"></script>
|
|
|
|
<script type="text/javascript" src="/api.js"></script>
|
|
|
|
<script type="text/javascript" src="/ui.js"></script>
|
|
|
|
|
2016-09-02 04:53:04 +02:00
|
|
|
</body>
|