made status into own view
This commit is contained in:
@ -35,18 +35,6 @@
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<div class="status-view">
|
||||
<h4> Interpreter </h4>
|
||||
Instruction {{ page._interpreter._clock}}
|
||||
<button e-click="tick"> Next </button>
|
||||
<br/>
|
||||
<span> State </span>
|
||||
<span> {{page._interpreter._state}} </span>
|
||||
<br/>
|
||||
<span> Link: {{page._interpreter._link}} </span>
|
||||
<br/>
|
||||
Stdout <br/>
|
||||
<span> {{page._interpreter._stdout}} </span>
|
||||
</div>
|
||||
<:status interpreter="{{ @interpreter }}"/>
|
||||
|
||||
<:registers interpreter="{{ @interpreter }}"/>
|
||||
|
17
app/main/views/status/index.html
Normal file
17
app/main/views/status/index.html
Normal file
@ -0,0 +1,17 @@
|
||||
<:Title>
|
||||
status index
|
||||
|
||||
<:Body>
|
||||
<div class="status-view">
|
||||
<h4> Interpreter </h4>
|
||||
Instruction {{ _clock}}
|
||||
<button e-click="tick"> Next </button>
|
||||
<br/>
|
||||
<span> State </span>
|
||||
<span> {{_state}} </span>
|
||||
<br/>
|
||||
<span> Link: {{_link}} </span>
|
||||
<br/>
|
||||
Stdout <br/>
|
||||
<span> {{_stdout}} </span>
|
||||
</div>
|
Reference in New Issue
Block a user