diff --git a/website/source/_ember_steps.html.erb b/website/source/_ember_steps.html.erb index d288f95a9..36ac7bac3 100644 --- a/website/source/_ember_steps.html.erb +++ b/website/source/_ember_steps.html.erb @@ -43,7 +43,7 @@ of Vault.
- Initialize Vault now, with 1 unseal key, using the command: + Initialize Vault now, with 1 unseal key for simplicity, using the command:
vault init -key-shares=1 -key-threshold=1
@@ -63,7 +63,7 @@
Vault encrypts data with an encryption key. This key is encrypted with the "master key", which isn't stored. Decrypting the master key requires a threshold of shards. In this example, - we use one shard to decrypt this master key for simplicity. + we use one shard to decrypt this master key.
Unseal the Vault: @@ -95,60 +95,70 @@ + + diff --git a/website/source/assets/javascripts/demo/controllers/demo.js b/website/source/assets/javascripts/demo/controllers/demo.js index d86806922..6dd50bfeb 100644 --- a/website/source/assets/javascripts/demo/controllers/demo.js +++ b/website/source/assets/javascripts/demo/controllers/demo.js @@ -7,15 +7,13 @@ Demo.DemoController = Ember.ObjectController.extend({ if (prefix) { data = '$ ' + data; - } - - if (this.get('logs.length') === 0) { - newline = ''; } else { - newline = '\n'; + newline = ''; } - this.set('logs', this.get('logs')+newline+data); + newline = '\n'; + + this.set('logs', this.get('logs')+data+newline); Ember.run.later(function() { var element = $('.demo-terminal'); diff --git a/website/source/assets/javascripts/demo/controllers/step.js b/website/source/assets/javascripts/demo/controllers/step.js index 331ef0ebc..ae527dd41 100644 --- a/website/source/assets/javascripts/demo/controllers/step.js +++ b/website/source/assets/javascripts/demo/controllers/step.js @@ -70,6 +70,10 @@ Demo.DemoStepController = Ember.ObjectController.extend({ this.set('notCleared', true); this.send('previous'); break; + case "quit": + case "exit": + this.send('close'); + break; case "clear": this.set('logs', ""); this.set('notCleared', false); diff --git a/website/source/assets/javascripts/demo/initializer/load-steps.js b/website/source/assets/javascripts/demo/initializer/load-steps.js index eeb27fa35..46c3ce6bf 100644 --- a/website/source/assets/javascripts/demo/initializer/load-steps.js +++ b/website/source/assets/javascripts/demo/initializer/load-steps.js @@ -11,9 +11,10 @@ Ember.Application.initializer({ { id: 2, name: 'init', humanName: "Step 2: Initialize your Vault"}, { id: 3, name: 'unseal', humanName: "Step 3: Unsealing your Vault"}, { id: 4, name: 'auth', humanName: "Step 4: Authorize your requests"}, - { id: 5, name: 'mounts', humanName: "Step 5: Mount a backend"}, - { id: 6, name: 'secrets', humanName: "Step 6: Read, write and delete secrets"}, + { id: 5, name: 'mounts', humanName: "Step 5: Mount a secret backend"}, + { id: 6, name: 'secrets', humanName: "Step 6: Read, and write secrets"}, { id: 7, name: 'seal', humanName: "Step 7: Seal your Vault"}, + { id: 8, name: 'finish', humanName: "You're finished!"}, ] }; diff --git a/website/source/assets/stylesheets/_buttons.scss b/website/source/assets/stylesheets/_buttons.scss index f655256fc..e7a29fc28 100755 --- a/website/source/assets/stylesheets/_buttons.scss +++ b/website/source/assets/stylesheets/_buttons.scss @@ -39,6 +39,10 @@ @include img-retina("../images/icon-terminal.png", "../images/icon-terminal@2x.png", 26px, 25px); } + &.started{ + margin-bottom: 12px; + } + &:hover{ text-decoration: none; @include transition(color .3s ease-in-out); diff --git a/website/source/assets/stylesheets/_demo.scss b/website/source/assets/stylesheets/_demo.scss index a634d12ce..966fe537a 100644 --- a/website/source/assets/stylesheets/_demo.scss +++ b/website/source/assets/stylesheets/_demo.scss @@ -36,6 +36,11 @@ padding-left: 10px; } + a { + color: white; + text-decoration: underline; + } + p:last-child { margin-bottom: 0px; } diff --git a/website/source/index.html.erb b/website/source/index.html.erb index bbfc12b62..080a4b6a1 100644 --- a/website/source/index.html.erb +++ b/website/source/index.html.erb @@ -20,7 +20,7 @@