@section('page_title') OSAA - Coop Application @stop @section('page_sub_title') Online Coop Application Form @stop @section('scripts') @parent @stop @section('jquery_init') // Table row highlighter function colorRows () { $('table').each(function () { var i = 0; $('tbody tr:visible', $(this)).each(function () { if (i % 2 == 0) { $(this).addClass('odd'); } else { $(this).removeClass('odd'); } i = i + 1; }); }); } colorRows(); // Success bar $('.success_bar').animate({ 'top' : 32, 'background-color' : 'rgba(176, 255, 190, 1.0)'}, 1600, 'easeOutQuad', function () { $(this).delay(6000).fadeOut(4000); $(this).hover(function () { $(this).stop(true).css('opacity', '1.0'); }, function () { $(this).fadeOut(4000); }) }); /* * Close button */ $('.close_button') .button({'icons':{'primary':'ui-icon-circle-close'}}) .css({'font-size':'9pt'}); /* * Help button */ $('.help_button') .button({'icons':{'primary':'ui-icon-help'}}) .css({'font-size':'9pt', 'margin-right':'10px'}); /* * Next button */ $('.next_button') .button({'icons':{'secondary':'ui-icon-play'}}) .css({'font-size':'8pt'}) .click(function () { var button = $(this); var school_id = $('#school').val(); window.location = "{{ url('/forms/coop-application/new') }}?school=" + school_id; }); $('.item') .hover(function () { $(this).addClass('item_hover'); }, function () { $(this).removeClass('item_hover'); }) .click(function() { window.location = '{{ url('/forms/coop-application') }}/' + $(this).attr('data-id') + '/edit', '_blank'; }); @stop @section('page_functions') Help Close @stop @section('main_content') {{-- Success Bar --}} @if (Session::has('success'))
@endif