@section('page_title')
OSAA - Forms
@stop
@section('page_sub_title')
{{ $info['school_year'] }}-{{ substr(intval($info['school_year']) + 1, 2, 2) }} {{ $info['online_form']->name }} Forms
@stop
@section('scripts')
@parent
@stop
@section('jquery_init')
if(!window.console)
{
window.console = { log: $.noop, group: $.noop, groupEnd: $.noop };
}
$('[data-tabs]').tabs();
// 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);
})
});
/*
* Custom tooltip items
*/
$('[data-tooltip]').each(function ()
{
var item = $(this);
var help = item.attr('data-tooltip');
item.tooltip({'content' : help, 'items' : item});
});
/* Status Log
*
* Shows the status history when item is clicked.
*/
$('[data-log]')
.click(function(event)
{
var item = $(this);
var log = $.parseJSON(item.attr('data-log'));
var created = item.attr('data-created');
var updated = item.attr('data-updated');
var school = item.attr('data-school');
var form_id = item.attr('data-form-id');
var html = '
';
html += '
Form ID: ' + form_id + '
`school_forms`
';
html += '
Last Updated:
' + updated + '
';
html += '
Form Created:
' + created + '
';
html += '
';
$.each(log, function(index, value)
{
if ((index % 2) == 0)
{
html += '';
}
else
{
html += '
';
}
html += '| ' + value.timestamp + ' | ';
html += '' + value.action + ' | ';
html += '' + value.user + ' ' + value.notes + ' |
';
});
html += '
';
$('')
.appendTo('body')
.dialog(
{
resizable: false,
height: 'auto',
width: 550,
modal: false,
title: school + ' Status Log',
open : function ()
{
var dialog_object = $(this);
dialog_object.html(html);
},
close : function ()
{
var dialog_object = $(this);
$(dialog_object).remove();
}
});
})
.hover(function()
{
$(this).css({'cursor':'pointer'});
},
function()
{
$(this).css({'cursor':''});
})
.tooltip({'content':'Click to view detailed status history.','items':'[data-log]'});
$('.download_report').each(function(index)
{
var item = $(this);
var right = item.attr('data-right');
item.button();
item.css({'font-size' : '8pt',
'position' : 'absolute',
'top' : '9px',
'right' : right});
});
@stop
@section('page_functions')
@stop
@section('main_content')
{{-- Success Bar --}}
@if (Session::has('success'))
{{ Session::get('success') }}
@endif
{{-- Form Data by Season --}}
@foreach ($info['seasons'] as $season_slug => $season_name)
- {{ $season_name }}
@endforeach
@foreach ($info['seasons'] as $season_slug => $season_name)
Participation Summary
Preselections
| School |
Status |
@foreach ($info['online_form']->data_format->activities as $activity_object)
Fatal error: Class 'Helpers' not found in /home/osaa/web_app/dev/app/views/forms/seasonal_index.blade.php on line 256