adds button and blocks tick over

This commit is contained in:
Torsten Ruger
2015-07-30 10:27:27 +03:00
parent d8a3657365
commit bb24a6cae5
5 changed files with 11 additions and 21 deletions

View File

@ -28,13 +28,14 @@
</div>
{{ page._blocks.each do |b| }}
<div class="{{b._class_name}}">
{{b._string}}
{{b._name}}
</div>
{{ end }}
</div>
<div class="status-view">
<div>
button.bright { "next" }.on(:click) { interpreter.tick }
<button e-click="tick">Next</button>
</div>
<div>
<h4> Status </h4>