Merge branch '5414-keep-service-hints' refs #5414
[arvados.git] / apps / workbench / app / views / getting_started / _getting_started_popup.html.erb
1 <style>
2 div.figure {
3 }
4 .style_image1 {
5   border: 10px solid #ddd;
6   display: block;
7   margin-left: auto;
8   margin-right: auto;
9 }
10 .style_image2 {
11   border: 10px solid #ddd;
12   display: block;
13   margin-left: 1em;
14 }
15 div.figure p {
16   text-align: center;
17   font-style: italic;
18   text-indent: 0;
19   border-top:-0.3em;
20 }
21 </style>
22
23 <div id="getting-started-modal-window" class="modal">
24   <div class="modal-dialog modal-with-loading-spinner" style="width: 50em">
25     <div class="modal-content">
26       <div class="modal-header" style="text-align: center">
27         <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
28         <div>
29           <div class="col-sm-8"><h4 class="modal-title" style="text-align: right">Getting Started with Arvados</h4></div>  <%#Todo: center instead of right%>
30           <div class="spinner spinner-32px spinner-h-center col-sm-1" hidden="true"></div>
31         </div>
32         <br/>
33       </div>
34
35      <%#First Page%>
36      <div class="modal-body" style="height: 40em; overflow-y: scroll">
37        <div style="margin-top: -0.5em; margin-left: 0.5em;">
38          <p><div style="font-size: 150%;">Welcome!</div></p>
39          <p>
40          What you're looking at right now is <b>Workbench</b>, the graphical interface to the Arvados system.
41          </p><p>
42          <div class="figure">
43            <p> <%= image_tag "pipeline-running.gif", :class => "style_image1" %></p> <%#Todo: shorter gif%>
44            <p>Running the Pathomap pipeline in Arvados.</p>
45         </div>
46         </p> <p>
47           Click the <span class="btn btn-sm btn-primary">Next &gt;</span> button below for a speed tour of Arvados.
48           </p><p style="margin-top:2em;">
49           <em><strong>Note:</strong> You can always come back to this Getting Started guide by clicking the <span class="fa fa-lg fa-question-circle"></span> in the upper-right corner.</em>
50         </p>
51       </div>
52       </div>
53
54      <%#Page Two%>
55       <div class="modal-body" style="height: 40em; overflow-y: scroll">
56        <div style="margin-top: -0.5em; margin-left: 0.5em;">
57          <p><div style="font-size: 150%;">Take It for a Spin</div></p>
58         <p>
59         Run your first pipeline in 3 quick steps:
60         </p>
61         <div style="display: block; margin: 0em 2em; padding-top: 1em; padding-bottom: 1em; border: thin dashed silver;">
62         <p style="margin-left: 1em;">
63         <em>First, <a href="/users/welcome">log-in or register</a> with any Google account if you haven't already.</em>
64         </p><p>
65         <ol><li> Go to the <span class="btn btn-sm btn-default"><i class="fa fa-lg fa-fw fa-dashboard"></i> Dashboard</span> &gt; <span class="btn btn-sm btn-primary"><i class="fa fa-fw fa-gear"></i> Run a pipeline...</span>
66           <p style="margin-top:1em;">
67           <%= image_tag "mouse-move.gif", :class => "style_image2" %>
68           </p>
69         </li>
70           <li> <span class="btn btn-sm btn-default"><i class="fa fa-fw fa-gear"></i>Mason Lab -- Ancestry Mapper (public)</span> &gt; <span class="btn btn-sm btn-primary">Next: choose inputs <i class="fa fa-fw fa-arrow-circle-right"></i></span></li><br>
71           <li> <span class="btn btn-sm btn-primary">Run <i class="fa fa-fw fa-play"></i></span></li>
72         </ol>
73       </p></div>
74       <p style="margin-top:1em;">
75         <i class="fa fa-flag fa-flip-horizontal" style="color: green"></i> <i class="fa fa-child"></i> 
76         <strong>Voila!</strong> <i class="fa fa-child"></i> <i class="fa fa-flag" style="color: green"></i> 
77         Your pipeline is now spooling up and getting ready to run!  
78         </p><p>
79           Go ahead, try it for yourself right now. <span class="glyphicon glyphicon-thumbs-up"></span>
80         </p><p>
81           Or click <span class="btn btn-sm btn-primary">Next &gt;</span> below to keep reading!
82         </p><p>
83       </div>
84       </div>
85
86       <%#Page Three%>
87       <div class="modal-body" style="height: 40em; overflow-y: scroll">
88        <div style="margin-top: -0.5em; margin-left: 0.5em;">
89         <p><div style="font-size: 150%;">Three Useful Terms</div></p>
90         <ol>
91         <li>
92                  <strong>Pipeline</strong> — A re-usable series of analysis steps.
93                  <ul>
94                    <li>
95                     Also known as a “workflow” in other systems
96                   </li><li>
97               A list of well-documented public pipelines can be found in the upper right corner by clicking the <span class="fa fa-lg fa-question-circle"></span> &gt; <a href="<%= Rails.configuration.arvados_public_data_doc_url %>">Public Pipelines and Datasets</a>
98                   </li><li>
99               Pro-tip: A Pipeline contains Jobs which contain Tasks
100                   </li><li>
101               Pipelines can only be shared within a project
102                   </li>
103                 </ul>
104         </li>
105
106         <li>
107         <strong>Collection </strong>— Like a folder, but better.
108             <ul>
109               <li>
110              Upload data right in your browser
111                 </li><li>
112              Better than a folder? 
113              <ul><li>
114             Collections contain the content-address of the data instead of the data itself
115                 </li><li>
116             Sets of data can be flexibly defined and re-defined without duplicating data
117             </li>
118           </ul></li><li>
119              Collections can be shared using the "Sharing and Permissions"  &gt; "Share" button
120                 </li>
121             </ul>
122         </li>
123
124         <li>
125         <strong>Projects </strong>— Contain pipelines templates, pipeline instances (individual runs of a pipeline), and collections.
126             <ul><li>
127         The most useful one is your default "Home" project, under Projects &gt; Home
128             </li><li>
129         Projects can be shared using the "sharing" tab
130             </li>
131           </ul>
132           </li>
133         </ol>
134
135       </div>
136       </div>
137
138       <%#Page Four%>
139       <div class="modal-body" style="height: 40em; overflow-y: scroll">
140        <div style="margin-top: -0.5em; margin-left: 0.5em;">
141         <p><div style="font-size: 150%;">Six Reasons Arvados is Awesome</div></p>
142         <p>
143         This guide, and in fact all of Workbench, is just a teaser for the full power of Arvados:
144         </p>
145         <ol>
146           <li>
147           <strong>Reproducible analyses</strong>: Enough said.
148             </li><li>
149             <strong>Data provenance</strong>: Every file in Arvados can tell you where it came from.
150             </li><li>
151             <strong>Serious scaling</strong>: Need 500 GB of space? 200 compute hours? Arvados scales and parallelizes your work for you intelligently.
152             </li><li>
153             <strong>Share pipelines or data</strong>: Easily publish your work to the world, just like <a href="http://www.pathomap.org/2015/04/08/run-the-pathomap-human-ancestry-pipeline-on-arvados/">the Pathomap team did</a>.
154             </li><li>
155             <strong>Use existing pipelines</strong>: Use best-practices pipelines on your own data with the click of a button.
156             </li><li>
157             <strong>Open-source</strong>: Arvados is completely open-source. Check out our <a href="http://arvados.org">developer site</a>.
158           </li>
159         </ol>
160         <p style="margin-top: 1em;">
161         Want to use the command-line, or hungry to learn more? Check out the User Guide at <a href="http://doc.arvados.org/">doc.arvados.org</a>.
162         </p><p>
163         Questions still? Head over to <a href="http://doc.arvados.org/">doc.arvados.org</a> to find mailing-list and contact info for the Arvados community.
164         </p><p>
165         That's all, folks! Click the "x" up top to leave this guide.
166         </p>
167       </div>
168       </div>
169
170       <div class="modal-footer">
171         <div style="text-align:center">
172           <button class="btn btn-default pager-prev"><i class="fa fa-fw fa-chevron-left"></i><span style="font-weight: bold;"> Prev</span></button>
173           <button class="btn btn-default pager-next"><span style="font-weight: bold;">Next </span><i class="fa fa-fw fa-chevron-right"></i></button>
174           <div class="pager-count pull-right"><span style="margin:5px"></span></div>
175         </div>
176       </div>
177     </div>
178   </div>
179 </div>