2015-03-16 06:05:27 +00:00
|
|
|
<!-- TODO Precompile ember templates -->
|
|
|
|
|
|
|
|
<script type="text/x-handlebars" data-template-name="demo">
|
|
|
|
<div class="terminal">
|
2015-03-17 19:22:18 +00:00
|
|
|
<span class="close-terminal" {{action "close"}}>X</span>
|
2015-04-22 22:09:12 +00:00
|
|
|
|
2015-03-16 06:05:27 +00:00
|
|
|
{{outlet}}
|
2015-04-22 22:09:12 +00:00
|
|
|
|
2015-03-17 19:47:55 +00:00
|
|
|
{{#if isLoading}}
|
2015-03-17 03:06:55 +00:00
|
|
|
<div class="loading-bar"></div>
|
2015-03-17 19:47:55 +00:00
|
|
|
{{/if}}
|
2015-03-16 06:05:27 +00:00
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
2015-04-22 22:09:12 +00:00
|
|
|
<script type="text/x-handlebars" data-template-name="demo/step">
|
2015-03-16 06:05:27 +00:00
|
|
|
{{#if notCleared}}
|
2015-04-22 22:09:12 +00:00
|
|
|
<div class="instruction">
|
|
|
|
{{partial model.instructionTemplate}}
|
2015-03-16 06:05:27 +00:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2015-04-13 01:57:31 +00:00
|
|
|
<div class="log">{{logs}}
|
2015-03-16 06:05:27 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<form {{action "submitText" on="submit"}}>
|
2015-04-13 01:57:31 +00:00
|
|
|
$ {{input value=currentText class="shell" spellcheck="false"}}
|
2015-03-16 06:05:27 +00:00
|
|
|
</form>
|
|
|
|
</script>
|