{{-- This file is no longer used --}} @section('page_title') OSAA - Submit Scores @stop @section('page_sub_title') Scores for {{ $information['sub_title'] }} @stop @section('scripts') @parent @stop @section('jquery_init') $('.tooltip').tooltip(); $('.button').button(); $('.button.notext').button({text:false}); $('.button.add').button({ icons : {primary : 'ui-icon-plus'}}); $('.button.edit').button({ icons : {primary : 'ui-icon-pencil'}}); $('#cancel_button').button({ icons : { primary : 'ui-icon-circle-close'}}).css('font-size', '10pt').tooltip().attr('title', 'Cancel editing and do not save changes.'); $('.button.ot_add').click(function () { var i = $(this).attr('extra-data'); var a_name = 'ot_A' + i; var h_name = 'ot_H' + i; $("input[name='" + a_name + "']").show(); $("input[name='" + h_name + "']").show(); $(this).attr('extra-data', parseInt(i) + 1); var a_name = 'ot_A' + i; if ($("input[name='" + a_name + "']").size() < 1) { $(this).hide(); } }); $('.button.ot_add_soccer').click(function () { $('input:hidden').show(); $(this).hide(); }); $('[placeholder]').focus(function() { var input = $(this); if (input.val() == input.attr('placeholder')) { input.val(''); input.removeClass('placeholder'); } }).blur(function() { var input = $(this); if (input.val() == '' || input.val() == input.attr('placeholder')) { input.addClass('placeholder'); input.val(input.attr('placeholder')); } }).blur(); $('[placeholder]').parents('form').submit(function() { $(this).find('[placeholder]').each(function() { var input = $(this); if (input.val() == input.attr('placeholder')) { input.val(''); } }) }); /* Display any success messages */ $('.success_message').delay(5000).fadeOut({'duration' : 2500}); $('.success_message .ui-icon-close').click(function () { $('.success_message').hide(); }); @stop @section('page_functions') Exit @stop @section('main_content') @if (Session::get('success'))
@endifFor both teams, you must provide the final scores. @if (Helpers::strEqual($information['activity'], 'FBL')) If applicable, you can also optionally enter scores per quarter or overtime. @elseif (Helpers::strEqual($information['activity'], 'VBL')) Please be sure to enter set scores. @elseif (Helpers::strEqual($information['activity'], array('BSC', 'GSC'))) If applicable, you can also optionally enter scores per half, overtime play, and results from kicks from the penalty mark. @elseif (Helpers::strEqual($information['activity'], array('BBX', 'GBX'))) If applicable, you can also optionally enter period scores. @elseif (Helpers::strEqual($information['activity'], array('BBL', 'SBL'))) If applicable, you can also optionally enter scores per inning. @endif You can also enter in notes if you'd like.
| H/A | Final Score | @if (Helpers::strEqual($information['activity'], 'FBL')) Score per Quarter @elseif (Helpers::strEqual($information['activity'], 'VBL')) Set Scores @elseif (Helpers::strEqual($information['activity'], array('BSC', 'GSC'))) Score per Half @elseif (Helpers::strEqual($information['activity'], array('BBX', 'GBX'))) Period Scores @elseif (Helpers::strEqual($information['activity'], array('BBL', 'SBL'))) Innings @endif | |
|---|---|---|---|
| Away | {{ $information['away_team_name'] }} | {{ Form::text('away_score', '', array('class' => 'tooltip', 'style' => 'width:75px;', 'title' => 'Away Team\'s Final Score', 'placeholder' => 'Final')) }} | @if (Helpers::strEqual($information['activity'], 'FBL')) {{ Form::text('period_A1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Qtr', 'placeholder' => '1st')) }} {{ Form::text('period_A2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '2nd Qtr', 'placeholder' => '2nd')) }} {{ Form::text('period_A3', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '3rd Qtr', 'placeholder' => '3rd')) }} {{ Form::text('period_A4', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '4th Qtr', 'placeholder' => '4th')) }} {{ Form::text('ot_A1', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '1st OT', 'data-extra' => 'true', 'placeholder' => 'OT1')) }} {{ Form::text('ot_A2', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '2nd OT', 'data-extra' => 'true', 'placeholder' => 'OT2')) }} {{ Form::text('ot_A3', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '3rd OT', 'data-extra' => 'true', 'placeholder' => 'OT3')) }} {{ Form::text('ot_A4', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '4th OT', 'data-extra' => 'true', 'placeholder' => 'OT4')) }} {{ Form::text('ot_A5', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '5th OT', 'data-extra' => 'true', 'placeholder' => 'OT5')) }} {{ Form::text('ot_A6', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '6th OT', 'data-extra' => 'true', 'placeholder' => 'OT6')) }} @elseif (Helpers::strEqual($information['activity'], 'VBL')) {{ Form::text('period_A1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Set', 'placeholder' => '1st')) }} {{ Form::text('period_A2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '2nd Set', 'placeholder' => '2nd')) }} {{ Form::text('period_A3', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '3rd Set', 'placeholder' => '3rd')) }} {{ Form::text('period_A4', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '4th Set', 'placeholder' => '4th')) }} {{ Form::text('period_A5', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '5th Set', 'placeholder' => '5th')) }} @elseif (Helpers::strEqual($information['activity'], array('BSC', 'GSC'))) {{ Form::text('period_A1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Half', 'placeholder' => '1st')) }} {{ Form::text('period_A2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Half', 'placeholder' => '2nd')) }} {{ Form::text('ot_A1', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '1st OT Half', 'data-extra' => 'true', 'placeholder' => 'OT1')) }} {{ Form::text('ot_A2', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '2nd OT Half', 'data-extra' => 'true', 'placeholder' => 'OT2')) }} {{ Form::text('ot_A3', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => 'Kicks from the Penalty Mark', 'data-extra' => 'true', 'placeholder' => 'Kicks')) }} @elseif (Helpers::strEqual($information['activity'], array('BBX', 'GBX'))) {{ Form::text('period_A1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Period', 'placeholder' => '1st')) }} {{ Form::text('period_A2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '2nd Period', 'placeholder' => '2nd')) }} {{ Form::text('period_A3', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '3rd Period', 'placeholder' => '3rd')) }} {{ Form::text('period_A4', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '4th Period', 'placeholder' => '4th')) }} {{ Form::text('ot_A1', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '1st OT Period', 'data-extra' => 'true', 'placeholder' => '5th')) }} {{ Form::text('ot_A2', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '2nd OT Period', 'data-extra' => 'true', 'placeholder' => '6th')) }} {{ Form::text('ot_A3', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '3rd OT Period', 'data-extra' => 'true', 'placeholder' => '7th')) }} {{ Form::text('ot_A4', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '4th OT Period', 'data-extra' => 'true', 'placeholder' => '8th')) }} {{ Form::text('ot_A5', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '5th OT Period', 'data-extra' => 'true', 'placeholder' => '9th')) }} {{ Form::text('ot_A6', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '6th OT Period', 'data-extra' => 'true', 'placeholder' => '10th')) }} @elseif (Helpers::strEqual($information['activity'], array('BBL', 'SBL'))) {{ Form::text('period_A1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Inning', 'placeholder' => '1st')) }} {{ Form::text('period_A2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '2nd Inning', 'placeholder' => '2nd')) }} {{ Form::text('period_A3', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '3rd Inning', 'placeholder' => '3rd')) }} {{ Form::text('period_A4', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '4th Inning', 'placeholder' => '4th')) }} {{ Form::text('period_A5', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '5th Inning', 'placeholder' => '5th')) }} {{ Form::text('period_A6', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '6th Inning', 'placeholder' => '6th')) }} {{ Form::text('period_A7', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '7th Inning', 'placeholder' => '7th')) }} {{ Form::text('ot_A1', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '8th Inning', 'data-extra' => 'true', 'placeholder' => '8th')) }} {{ Form::text('ot_A2', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '9th Inning', 'data-extra' => 'true', 'placeholder' => '9th')) }} {{ Form::text('ot_A3', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '10th Inning', 'data-extra' => 'true', 'placeholder' => '10th')) }} {{ Form::text('ot_A4', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '11th Inning', 'data-extra' => 'true', 'placeholder' => '11th')) }} {{ Form::text('ot_A5', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '12th Inning', 'data-extra' => 'true', 'placeholder' => '12th')) }} {{ Form::text('ot_A6', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '13th Inning', 'data-extra' => 'true', 'placeholder' => '13th')) }} {{ Form::text('ot_A7', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '14th Inning', 'data-extra' => 'true', 'placeholder' => '14th')) }} @endif |
| Home | {{ $information['home_team_name'] }} | {{ Form::text('home_score', '', array('class' => 'tooltip', 'style' => 'width:75px;', 'title' => 'Home Team\'s Final Score', 'placeholder' => 'Final')) }} | @if (Helpers::strEqual($information['activity'], 'FBL')) {{ Form::text('period_H1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Qtr', 'placeholder' => '1st')) }} {{ Form::text('period_H2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '2nd Qtr', 'placeholder' => '2nd')) }} {{ Form::text('period_H3', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '3rd Qtr', 'placeholder' => '3rd')) }} {{ Form::text('period_H4', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '4th Qtr', 'placeholder' => '4th')) }} {{ Form::text('ot_H1', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '1st OT', 'data-extra' => 'true', 'placeholder' => 'OT1')) }} {{ Form::text('ot_H2', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '2nd OT', 'data-extra' => 'true', 'placeholder' => 'OT2')) }} {{ Form::text('ot_H3', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '3rd OT', 'data-extra' => 'true', 'placeholder' => 'OT3')) }} {{ Form::text('ot_H4', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '4th OT', 'data-extra' => 'true', 'placeholder' => 'OT4')) }} {{ Form::text('ot_H5', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '5th OT', 'data-extra' => 'true', 'placeholder' => 'OT5')) }} {{ Form::text('ot_H6', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '6th OT', 'data-extra' => 'true', 'placeholder' => 'OT6')) }} @elseif (Helpers::strEqual($information['activity'], 'VBL')) {{ Form::text('period_H1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Set', 'placeholder' => '1st')) }} {{ Form::text('period_H2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '2nd Set', 'placeholder' => '2nd')) }} {{ Form::text('period_H3', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '3rd Set', 'placeholder' => '3rd')) }} {{ Form::text('period_H4', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '4th Set', 'placeholder' => '4th')) }} {{ Form::text('period_H5', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '5th Set', 'placeholder' => '5th')) }} @elseif (Helpers::strEqual($information['activity'], array('BSC', 'GSC'))) {{ Form::text('period_H1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Half', 'placeholder' => '1st')) }} {{ Form::text('period_H2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Half', 'placeholder' => '2nd')) }} {{ Form::text('ot_H1', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '1st OT Half', 'data-extra' => 'true', 'placeholder' => 'OT1')) }} {{ Form::text('ot_H2', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '2nd OT Half', 'data-extra' => 'true', 'placeholder' => 'OT2')) }} {{ Form::text('ot_H3', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => 'Kicks from the Penalty Mark', 'data-extra' => 'true', 'placeholder' => 'Kicks')) }} @elseif (Helpers::strEqual($information['activity'], array('BBX', 'GBX'))) {{ Form::text('period_H1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Period', 'placeholder' => '1st')) }} {{ Form::text('period_H2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '2nd Period', 'placeholder' => '2nd')) }} {{ Form::text('period_H3', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '3rd Period', 'placeholder' => '3rd')) }} {{ Form::text('period_H4', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '4th Period', 'placeholder' => '4th')) }} {{ Form::text('ot_H1', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '1st OT Period', 'data-extra' => 'true', 'placeholder' => '5th')) }} {{ Form::text('ot_H2', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '2nd OT Period', 'data-extra' => 'true', 'placeholder' => '6th')) }} {{ Form::text('ot_H3', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '3rd OT Period', 'data-extra' => 'true', 'placeholder' => '7th')) }} {{ Form::text('ot_H4', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '4th OT Period', 'data-extra' => 'true', 'placeholder' => '8th')) }} {{ Form::text('ot_H5', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '5th OT Period', 'data-extra' => 'true', 'placeholder' => '9th')) }} {{ Form::text('ot_H6', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '6th OT Period', 'data-extra' => 'true', 'placeholder' => '10th')) }} @elseif (Helpers::strEqual($information['activity'], array('BBL', 'SBL'))) {{ Form::text('period_H1', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '1st Inning', 'placeholder' => '1st')) }} {{ Form::text('period_H2', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '2nd Inning', 'placeholder' => '2nd')) }} {{ Form::text('period_H3', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '3rd Inning', 'placeholder' => '3rd')) }} {{ Form::text('period_H4', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '4th Inning', 'placeholder' => '4th')) }} {{ Form::text('period_H5', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '5th Inning', 'placeholder' => '5th')) }} {{ Form::text('period_H6', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '6th Inning', 'placeholder' => '6th')) }} {{ Form::text('period_H7', '', array('style' => 'width:25px;', 'class' => 'tooltip', 'title' => '7th Inning', 'placeholder' => '7th')) }} {{ Form::text('ot_H1', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '8th Inning', 'data-extra' => 'true', 'placeholder' => '8th')) }} {{ Form::text('ot_H2', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '9th Inning', 'data-extra' => 'true', 'placeholder' => '9th')) }} {{ Form::text('ot_H3', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '10th Inning', 'data-extra' => 'true', 'placeholder' => '10th')) }} {{ Form::text('ot_H4', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '11th Inning', 'data-extra' => 'true', 'placeholder' => '11th')) }} {{ Form::text('ot_H5', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '12th Inning', 'data-extra' => 'true', 'placeholder' => '12th')) }} {{ Form::text('ot_H6', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '13th Inning', 'data-extra' => 'true', 'placeholder' => '13th')) }} {{ Form::text('ot_H7', '', array('style' => 'width:25px; display:none;', 'class' => 'tooltip', 'title' => '14th Inning', 'data-extra' => 'true', 'placeholder' => '14th')) }} @endif |