Skip to content

Commit db19e79

Browse files
committed
Fix smol html malpractices
Signed-off-by: Tristram Gräbener <tristram+git@tristramg.eu>
1 parent 8c84dd5 commit db19e79

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

wasm/html_demo/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,17 @@
5050
<h1>libLRS demonstrator</h1>
5151
<p><a href="https://github.com/OpenRailAssociation/liblrs/">libLRS</a>is a library for modeling Linear
5252
Reference
53-
Systems. Load your data to start testing.</a></p>
53+
Systems. Load your data to start testing.</p>
5454
<div x-data="$store.lrms">
5555
<div x-show="waiting">
5656
<h2>Load your LRS file</h2>
57-
<input type="file" @change="load" />
57+
<input type="file" @change="load">
5858
</div>
5959
<p x-show="loading">Loading in progress</p>
60-
<p x-show="error"><b>An error occurred while loading the LRS file: </b><span x-text="error_text" /></p>
60+
<p x-show="error"><b>An error occurred while loading the LRS file: </b><span x-text="error_text"></span>
61+
</p>
6162
<div x-show="loaded && selectedFeature === null">
62-
<input placeholder="filter" x-model="filter"></input>
63+
<input placeholder="filter" x-model="filter">
6364
<p>File <span x-text="filename"></span> (<span x-text="Math.round(filesize/1000)"></span>&nbsp;kb)
6465
</p>
6566
<ul>
@@ -78,10 +79,9 @@ <h3 x-text="selectedFeature.properties.id"></h3>
7879
<fieldset>
7980
<legend>Define a segment</legend>
8081
<label for="start">Measurement at start</label>
81-
<input id="start" @change="startPkChange" placeholder="10+120"
82-
x-model="pkStart"></input>
82+
<input id="start" @change="startPkChange" placeholder="10+120" x-model="pkStart">
8383
<label for="end">Measurement at end</label>
84-
<input id="end" @change="endPkChange" placeholder="12+120" x-model="pkEnd"></input>
84+
<input id="end" @change="endPkChange" placeholder="12+120" x-model="pkEnd">
8585
</fieldset>
8686
</form>
8787
<h4>List of anchors (or milestones)</h4>

0 commit comments

Comments
 (0)