mirror of https://github.com/jeelabs/esp-link.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
955 B
36 lines
955 B
10 years ago
|
<div id="main">
|
||
|
<div class="header">
|
||
10 years ago
|
<h1>Debug Log</h1>
|
||
10 years ago
|
</div>
|
||
|
|
||
|
<div class="content">
|
||
10 years ago
|
<div class="pure-g">
|
||
|
<div class="pure-u-1-5">
|
||
|
<p style="padding-top: 0.4em;">
|
||
|
<a id="refresh-button" class="pure-button button-primary" href="#">Refresh</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
<p class="pure-u-4-5">
|
||
|
The debug log shows the 1024 last characters printed by the esp-link software itself to
|
||
|
its own debug log.
|
||
|
</p>
|
||
|
</div>
|
||
|
<pre id="console" class="console" style="margin-top: 0px;"></pre>
|
||
10 years ago
|
</div>
|
||
|
</div>
|
||
10 years ago
|
</div>
|
||
10 years ago
|
|
||
10 years ago
|
<script type="text/javascript">console_url = "/log/text"</script>
|
||
|
<script src="console.js"></script>
|
||
|
<script type="text/javascript">
|
||
10 years ago
|
onLoad(function() {
|
||
10 years ago
|
fetchText(100, false);
|
||
|
|
||
|
$("#refresh-button").addEventListener("click", function(e) {
|
||
|
e.preventDefault();
|
||
|
fetchText(100, false);
|
||
|
});
|
||
10 years ago
|
});
|
||
10 years ago
|
</script>
|
||
10 years ago
|
</body></html>
|