add photo is now in a fancy-pancy box
This commit is contained in:
parent
97b04fc0d7
commit
013a6d0849
6 changed files with 11 additions and 11 deletions
|
|
@ -8,10 +8,10 @@
|
|||
.right
|
||||
#add_photo_loader
|
||||
= image_tag 'ajax-loader.gif'
|
||||
#add_photo_button
|
||||
= link_to 'Add Photos', '#', :class => 'button'
|
||||
|
||||
#add_photo_pane.contextual_pane
|
||||
= link_to 'Add Photos', '#new_photo_pane', :class => 'button', :id => "add_photo_button"
|
||||
|
||||
.yo{:style => "display:none;"}
|
||||
#new_photo_pane
|
||||
= render "photos/new_photo", :photo => @photo, :album => @album
|
||||
|
||||
.sub_header
|
||||
|
|
|
|||
|
|
@ -8,15 +8,13 @@
|
|||
return confirm("You are about to upload " + total + " photos. Are you sure?");
|
||||
},
|
||||
onFinish: function(event, total){
|
||||
$("#add_photo_button .button").html( "Add Photos" );
|
||||
$("#add_photo_button").html( "Add Photos" );
|
||||
$("#add_photo_loader").fadeOut(400);
|
||||
pane_toggler_button("photo")
|
||||
},
|
||||
onStart: function(event, total){
|
||||
$("#add_photo_pane").fadeOut(400);
|
||||
$("#add_photo_button .button").html( "Uploading Photos" );
|
||||
$("#add_photo_button").html( "Uploading Photos" );
|
||||
$("#add_photo_loader").fadeIn(400);
|
||||
$("#add_photo_button").unbind();
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -86,8 +86,9 @@ $(document).ready(function(){
|
|||
$("#add_album_button").fancybox();
|
||||
$("#add_group_button").fancybox();
|
||||
$("#add_request_button").fancybox();
|
||||
$("#add_photo_button").fancybox();
|
||||
|
||||
pane_toggler_button("photo");
|
||||
//pane_toggler_button("photo");
|
||||
|
||||
$("input[type='submit']").addClass("button");
|
||||
|
||||
|
|
|
|||
|
|
@ -408,9 +408,9 @@ h1.big_text {
|
|||
width: 100%; }
|
||||
|
||||
.sub_header {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
margin-top: -5px;
|
||||
margin-bottom: 20px;
|
||||
color: #999999; }
|
||||
|
||||
|
|
|
|||
|
|
@ -507,12 +507,12 @@ h1.big_text
|
|||
:width 100%
|
||||
|
||||
.sub_header
|
||||
:position relative
|
||||
:text
|
||||
:align center
|
||||
:font
|
||||
:style italic
|
||||
:margin
|
||||
:top -5px
|
||||
:bottom 20px
|
||||
:color #999
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
:border
|
||||
:top 1px solid #ccc
|
||||
|
||||
|
||||
ul.button_set
|
||||
|
||||
:padding
|
||||
|
|
|
|||
Loading…
Reference in a new issue