Move App HTML into Separate Template
This commit is contained in:
parent
3780e61453
commit
843dad6cbb
3 changed files with 14 additions and 14 deletions
14
lib/app_component.html
Normal file
14
lib/app_component.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<h1>Cellular Automata - The Rules of Life</h1>
|
||||
<div id="rules-input">
|
||||
Ruleset: <input type="text" title="ruleset" content="S23/B3">
|
||||
</div>
|
||||
<div id="output">
|
||||
<canvas #caCanvas width="500" height="500"></canvas>
|
||||
</div>
|
||||
<div id="controls">
|
||||
<button id="run" >Run</button>
|
||||
<button id="step">Step</button>
|
||||
<button id="reset">Reset</button>
|
||||
<button id="random">Random</button>
|
||||
Speed: <input type="text" title="speed" value="1">
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue