Gallery initiated
This commit is contained in:
parent
ef4aed5df0
commit
220e816155
7 changed files with 47 additions and 1 deletions
22
app/views/conference/_gallery.html.haml
Normal file
22
app/views/conference/_gallery.html.haml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<!-- Modal -->
|
||||
%div{ class: "modal fade", id: "gallery", tabindex: "-1", role: "dialog", "aria-labelledby" => "myModalLabel", "aria-hidden"=> "true" }
|
||||
%div{ class: "modal-dialog" }
|
||||
%div{ class: "modal-content" }
|
||||
%div{ class: "modal-body" }
|
||||
%div{ id: "carousel-example-generic", class: "carousel slide", "data-ride" => "carousel" }
|
||||
<!-- Wrapper for slides -->
|
||||
%div{ class: "carousel-inner" }
|
||||
|
||||
<!-- Controls -->
|
||||
%a{ class: "left carousel-control", href: "#carousel-example-generic", role: "button", "data-slide" => "prev" }
|
||||
%span{ class: "glyphicon glyphicon-chevron-left" }
|
||||
%a{ class: "right carousel-control", href: "#carousel-example-generic", role: "button", "data-slide" => "next" }
|
||||
%span{ class: "glyphicon glyphicon-chevron-right" }
|
||||
|
||||
|
||||
:javascript
|
||||
$('#gallery-btn').click(function(){
|
||||
$('#gallery .modal-body').append('<i class="fa fa-spinner fa-spin fa-4x"></i>');
|
||||
});
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue