2015-03-16 06:05:27 +00:00
|
|
|
<!-- TODO Precompile ember templates -->
|
|
|
|
|
|
|
|
<script type="text/x-handlebars" data-template-name="demo">
|
2015-04-23 01:48:24 +00:00
|
|
|
{{outlet}}
|
2015-03-16 06:05:27 +00:00
|
|
|
</script>
|
|
|
|
|
2015-04-22 22:09:12 +00:00
|
|
|
<script type="text/x-handlebars" data-template-name="demo/step">
|
2015-04-23 03:21:15 +00:00
|
|
|
|
2015-04-23 01:48:24 +00:00
|
|
|
<div class="instruction-wrapper">
|
2015-04-22 22:09:12 +00:00
|
|
|
<div class="instruction">
|
2015-04-23 03:21:15 +00:00
|
|
|
<p>
|
|
|
|
<strong>{{model.humanName}}</strong>
|
|
|
|
</p>
|
|
|
|
|
2015-04-22 22:09:12 +00:00
|
|
|
{{partial model.instructionTemplate}}
|
2015-03-16 06:05:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-04-23 03:21:15 +00:00
|
|
|
<span class="close-terminal" {{action "close"}}>X</span>
|
2015-04-23 01:48:24 +00:00
|
|
|
|
2015-04-23 19:16:17 +00:00
|
|
|
<div {{bind-attr class=":demo-terminal fullscreen:fullscreen" }}>
|
2015-04-23 01:48:24 +00:00
|
|
|
<div class="log">{{renderedLogs}}</div>
|
|
|
|
|
|
|
|
<form {{action "submitText" on="submit"}}>
|
2016-12-15 16:00:44 +00:00
|
|
|
{{#unless isLoading}}${{/unless}} {{input value=currentText class="shell" autocomplete="off" spellcheck="false"}}
|
2015-04-23 01:48:24 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
{{#if isLoading}}
|
|
|
|
<div class="loading-bar"></div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2015-03-16 06:05:27 +00:00
|
|
|
</script>
|