UI improvements for the tutorial:

- Have a show sudo checkbox which defaults to on for linux
  - Have the repository name be highlighted in a light blue bubble/chit
This commit is contained in:
Joseph Schorr 2014-02-13 15:59:37 -05:00
parent ade20952e2
commit 934b131f7b
9 changed files with 41 additions and 8 deletions

View file

@ -3,13 +3,13 @@
<p>First we'll create a container with a single new file based off of the <code>ubuntu</code> base image:</p>
<pre class="command">
docker run ubuntu echo "fun" > newfile
<code ng-show="tour.tourScope.showSudo">sudo </code>docker run ubuntu echo "fun" > newfile
</pre>
<p>The container will immediately terminate (because its one command is <code>echo</code>), so we'll use <code>docker ps -l</code> to list it:
<pre class="command">
docker ps -l
<code ng-show="tour.tourScope.showSudo">sudo </code>docker ps -l
CONTAINER ID IMAGE COMMAND CREATED
<var class="var1">07f2065197ef</var> ubuntu:12.04 echo fun 31 seconds ago
</pre>