open-vault/ui/app/templates/components/console/ui-panel.hbs
madalynrose 2b41283a91
UI console (#4631)
* adding columnify and ember-cli-cjs-transform

* add yargs-parser

* remove vendored yargs-parser tokenizer and use cjs transform to import it from actual yargs-parser

* add clear command that clears the log, but maintains history

* make codemirror have no gutter and be auto-height when rendered in the console output log

* add fullscreen command and hook up fullscreen toggle button

* hook up copy button
2018-05-25 16:33:22 -04:00

17 lines
551 B
Handlebars

<div class="console-ui-panel">
<div class="content">
<p class="has-text-grey is-font-mono">
The Vault Browser CLI provides an easy way to execute the most common CLI commands, such as write, read, delete, and list.
</p>
</div>
{{console/output-log log=log}}
{{console/command-input
isFullscreen=isFullscreen
value=inputValue
onValueUpdate=(action (mut inputValue))
onFullscreen=(action 'toggleFullscreen')
onExecuteCommand=(action 'executeCommand')
onShiftCommand=(action 'shiftCommandIndex')
}}
</div>