mirror of
https://github.com/bodyrep/bodyrep-sandpit.git
synced 2026-01-26 14:51:44 +00:00
Initial symfony commit
This commit is contained in:
33
sandbox/web/js/application.js
Normal file
33
sandbox/web/js/application.js
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
$(function() {
|
||||
$('#edprf').unbind().live('click', function() {
|
||||
$.get('/app_dev.php/m/profile/edit', {}, function(data) {
|
||||
$('#mcnt').html(data);
|
||||
});
|
||||
});
|
||||
$('form#topsearch').live('submit', function(){
|
||||
frm = $(this);
|
||||
var searchTerm = frm.find('input').val();
|
||||
url = frm.attr('action') + '/'+searchTerm;
|
||||
$.get(url, {}, function(data) {
|
||||
$('.symfony-content > .row-fluid').html(data);
|
||||
});
|
||||
return false;
|
||||
});
|
||||
$('form#profile').live('submit', function(){
|
||||
frm = $(this);
|
||||
$.post(frm.attr('action'), frm.serialize(), function(data) {
|
||||
response = $.parseJSON(data);
|
||||
if(response.result)
|
||||
$('#mcnt').append('Updated');
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.block_type').hover(function(){
|
||||
$(this).animate({height:'50px'},{queue:false,duration:200});
|
||||
}, function(){
|
||||
$(this).animate({height:'0px'},{queue:false,duration:200});
|
||||
});
|
||||
});
|
||||
|
||||
1825
sandbox/web/js/bootstrap.js
vendored
Normal file
1825
sandbox/web/js/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
sandbox/web/js/bootstrap.min.js
vendored
Normal file
6
sandbox/web/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
sandbox/web/js/jquery.chosen.min.js
vendored
Normal file
10
sandbox/web/js/jquery.chosen.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user