2015-03-16 06:05:27 +00:00
|
|
|
<!-- TODO Precompile ember templates -->
|
|
|
|
|
|
|
|
<script type="text/x-handlebars" data-template-name="application">
|
|
|
|
{{outlet}}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<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-03-16 06:05:27 +00:00
|
|
|
{{outlet}}
|
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>
|
|
|
|
|
|
|
|
<script type="text/x-handlebars" data-template-name="demo/crud">
|
|
|
|
{{#if notCleared}}
|
|
|
|
<div class="welcome">
|
|
|
|
Any Vault command you run passes through remotely to
|
|
|
|
the real Vault interface, so feel free to explore, but
|
|
|
|
be careful of the values you set.
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="log">
|
|
|
|
{{#each line in currentLog}}
|
|
|
|
{{logPrefix}}{{line}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<form {{action "submitText" on="submit"}}>
|
|
|
|
{{logPrefix}} {{input value=currentText class="shell" spellcheck="false"}}
|
|
|
|
</form>
|
|
|
|
</script>
|