Add a dropdown to select from the existing instances

This commit is contained in:
R. Tyler Croy 2017-08-28 12:06:19 -07:00
parent 8c32a4bdec
commit 3fca021ea2
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
3 changed files with 17 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -7,6 +7,9 @@
:href => 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css',
:integrity => 'sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ',
:crossorigin => 'anonymous'}/
%script{:src => 'https://code.jquery.com/jquery-3.2.1.slim.min.js',
:integrity => 'sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN',
:crossorigin => 'anonymous'}
%script{:src => 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js',
:crossorigin => 'anonymous',
:integrity => 'sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn'}

View File

@ -19,14 +19,26 @@
:name => "email",
:type => "text"}/
%input.btn{:type => "submit", :value => "Subscribe"}/
.col-lg-12
.col-lg-8
%h2
Quickstart
%p
Integrating with Code Valet is easy. To get started, sign up with your GitHub
account, select a project to build, and define how to build it, either visually
or declaratively.
.col-sm-4
%h2
 
%p
.dropdown
%button.btn.btn-secondary.dropdown-toggle{'data-toggle' => 'dropdown'}
Examples
.dropdown-menu
- monkeys.each do |monkey|
%a.dropdown-item{:href => "/u/#{monkey}"}
= monkey
.row
.col-md-12
%img.img-fluid{:src => '/images/create-new-pipeline.png'}
.row