open-vault/website/source/_ember_templates.html.erb

36 lines
933 B
Plaintext
Raw Normal View History

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">
<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}}
<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>