@section('page_title')
OSAA - Ejection Report
@stop
@section('page_sub_title')
OSAA Ejection Report
@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);
})
});
/* Positioned elements
*
* Elements that contain the attribute data-position="true" will be positioned
* using JQuery's UI positioning utility. Other expected attributes define the
* element's position:
* data-position-my
* data-position-at
* data-position-of
*/
$('[data-position="true"]').each(function()
{
var element = $(this);
var my = element.attr('data-position-my');
var at = element.attr('data-position-at');
var of = element.attr('data-position-of');
var options = $.parseJSON('{ "my" : "' + my + '", "at": "' + at + '", "of": "' + of + '"}');
element.position(options);
});
// Buttons
$('.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'});
/*
* New form button
*/
$('.new_form')
.button()
@if (intval(Session::get('year')) !== intval(Helpers::getCurrentYear()))
.button('disable')
@endif
.css({'font-size' : '9pt', 'height' : '3em'})
.click(function(event)
{
event.preventDefault();
$('#create_form').submit();
});
// Shake action items
function shakeActionImages (object)
{
var direction;
if ($(object).has('[data-direction]'))
{
var direction = $(object).attr('data-direction');
}
if (typeof direction == 'undefined')
{
var direction = 'left';
}
$(object).effect("shake", {direction : direction, distance : 5, times : 1}, 600, function ()
{
$(this).delay(Math.floor(Math.random() * 4000) + 2000);
shakeActionImages($(this));
});
}
$('img.action_item').each(function()
{
var img = $(this);
shakeActionImages(img);
});
@if (Auth::check() and Auth::user()->isOsaaUser())
Fatal error: Class 'Auth' not found in /home/osaa/web_app/dev/app/views/ejection/index.blade.php on line 322