@section('page_title')
OSAA - Awards
@stop
@section('page_sub_title')
OSAA Awards
@stop
@section('scripts')
@parent
@stop
@section('jquery_init')
if(!window.console)
{
window.console = { log: $.noop, group: $.noop, groupEnd: $.noop };
}
// 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);
})
});
$('.button').button();
$('a[data-jump-tab]').click(function(event)
{
event.preventDefault();
var link = $(this);
var target_tab_id = link.attr('data-jump-tab');
activateTab(target_tab_id, '#content');
});
$('.tabs').tabs({
beforeActivate : function (event, ui)
{
if (ui.newTab.is('[data-escape]'))
{
event.preventDefault();
window.location = ui.newTab.attr('data-escape');
}
}
});
$('.vertical_tabs')
.tabs({
beforeActivate : function (event, ui)
{
if (ui.newTab.is('[data-escape]'))
{
event.preventDefault();
window.location = ui.newTab.attr('data-escape');
}
}
})
.addClass("ui-tabs-vertical ui-helper-clearfix");
$('.vertical_tabs li, .vertical_tabs li a')
.removeClass("ui-corner-top")
.removeClass("ui-corner-right")
.addClass("ui-corner-left");
/*
* Tab activation and element focus
*/
function activateTab(target_tab_id, focus)
{
var target_tab = $('.tabs ul:first li a[href="#' + target_tab_id + '"]');
var target_tab_index = target_tab.attr('data-tab-order');
$('.tabs').tabs('option', 'active', target_tab_index);
if (focus)
{
focusOnElement($(focus));
}
}
@if (!Helpers::strIsEmpty($info['tab']))
var anchor = "{{ $info['tab'] }}";
@else
var anchor = window.location.hash.substring(1);
@endif
var focus = false;
if (anchor)
{
activateTab(anchor, false);
focus = '#content';
}
@if (!Helpers::strIsEmpty($info['focus']))
focus = "#{{ Session::get('focus') }}";
@endif
function focusOnElement(focus_element)
{
var top = focus_element.offset().top - 45;
setTimeout(function() {
$('html, body').scrollTop(top);
}, 100);
}
if (focus)
{
focusOnElement($(focus));
}
$('.select_list').change(function ()
{
/* Get the root directory */
var root = $(this).attr('data-root');
/* Get the selected value */
var sel = $(this).find(':selected').val();
if (sel.match('http'))
{
var goto = sel;
}
else
{
var goto = root + '/' + sel;
}
//window.location = goto;
window.open(goto, '_blank');
});
// Player of the game scroll from link list
$('#player_sport_jump a').click(function(event)
{
event.preventDefault();
var link = $(this);
var jump = link.attr('href');
var element = $(jump);
var top = element.offset().top - 45;
$('html, body').animate({scrollTop: top}, 400);
});
/* Update school address */
$('#scholar_school_select').on('change', function ()
{
var select = $(this);
var option = $(':selected', select);
var school = option.attr('data-school-name');
var line_1 = option.attr('data-address-line_1');
var line_2 = option.attr('data-address-line_2');
var city = option.attr('data-address-city');
var state = option.attr('data-address-state');
var zip = option.attr('data-address-zip');
var address = school;
address += '
ATTN: {{ $info['scholar_form']['addressee'] }}';
address += '
' + line_1;
if (line_2 != '')
{
address = address + '
' + line_2;
}
address = address + '
' + city + ', ' + state + ' ' + zip;
$('#address').html(address);
}).change();
$('#scholar_submit')
.button()
.css({'margin-left' : '50px',
'font-size' : '9pt',
'position' : 'relative',
'top' : '-1.5em'});
$('[data-format="integer"]').bind('input', function()
{
$(this).val($(this).val().replace(/[^0-9]/gi, ''));
});
@stop
@section('page_functions')
@stop
@section('main_content')
{{-- Success Bar --}}
@if (Session::has('success'))
The OnPoint Community Credit Union Academic All-State Program recognizes outstanding achievement in the classroom. The boys and girls team in each OSAA-sanctioned activity with the highest team grade point average (G.P.A.) earns the Academic All-State Award. Each member of a winning team receives a much-coveted, commemorative magnent and a certificate. The school receives a plaque in honor of its team. Members of top ten schools in each activity at each classification are also recognized.
Teams that earn a 3.0 GPA or higher will receive 25 points for their school in The Oregonian Cup standings. A list of all teams with a 3.0 GPA or higher will also be posted to the OSAA website.