mirror of
https://github.com/falk-werner/webfuse
synced 2026-03-02 03:40:24 +00:00
add javascript example
This commit is contained in:
@@ -3,15 +3,35 @@
|
||||
<head>
|
||||
<title>Webfuse Example</title>
|
||||
<script type="module" src="js/startup.js"></script>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Webfuse</h1>
|
||||
<h1>Webfuse Example</h1>
|
||||
|
||||
<p>
|
||||
This example provides a single file "README.md", which
|
||||
contents can be altered below.
|
||||
</p>
|
||||
|
||||
<h2>Connection</h2>
|
||||
<p>
|
||||
<label for="url">Url:</label>
|
||||
<input type="text" id="url" value="ws://localhost:8081"/>
|
||||
</p>
|
||||
<p>
|
||||
<label for="token">Token:</label>
|
||||
<input type="text" id="token" value="" />
|
||||
</p>
|
||||
<p>
|
||||
<input type="button" id="connect" value="Connect"/>
|
||||
<span id="state">disconnected</span>
|
||||
</p>
|
||||
|
||||
<h2>README.md</h2>
|
||||
<p>
|
||||
<textarea id="contents"># Webfuse
|
||||
This is a sample text.
|
||||
</textarea>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user