Line 1: #pragma checksum "G:\PleskVhosts\roxburymenssoftball.com\httpdocs\Views\Home\Bracket.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "AD0A3F1D8C92BBB374B821FF6793FC3A2D305315"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Optimization;
Line 27: using System.Web.Routing;
Line 28: using MensSoftBall;
Line 29:
Line 30:
Line 31: public class _Page_Views_Home_Bracket_cshtml : MensSoftBall.Views.BaseViewPage<List<Data.BracketInfo>> {
Line 32:
Line 33: #line hidden
Line 34:
Line 35: public _Page_Views_Home_Bracket_cshtml() {
Line 36: }
Line 37:
Line 38: protected ASP.global_asax ApplicationInstance {
Line 39: get {
Line 40: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 41: }
Line 42: }
Line 43:
Line 44: public override void Execute() {
Line 45:
Line 46: #line 2 "G:\PleskVhosts\roxburymenssoftball.com\httpdocs\Views\Home\Bracket.cshtml"
Line 47:
Line 48: ViewBag.Title = "Bracket";
Line 49: ViewBag.Title = "Bracket";
Line 50: ViewBag.HeadingTitle = "Brackets";
Line 51: ViewBag.HeadingSummary = "Winner and loser bracket for the tournament. Games to be played are highlighted in red.";
Line 52: Layout = "~/Views/Shared/_Layout.cshtml";
Line 53:
Line 54:
Line 55: #line default
Line 56: #line hidden
Line 57: WriteLiteral("\r\n<style>\r\n .input-group-addon {\r\n font-size: 13px;\r\n }\r\n</style>\r\n");
Line 58:
Line 59:
Line 60: #line 14 "G:\PleskVhosts\roxburymenssoftball.com\httpdocs\Views\Home\Bracket.cshtml"
Line 61: Write(Html.Partial("Partial/_PageHeader"));
Line 62:
Line 63:
Line 64: #line default
Line 65: #line hidden
Line 66: WriteLiteral("\r\n<div");
Line 67:
Line 68: WriteLiteral(" style=\"width: 2500px; margin-top: 20px;\"");
Line 69:
Line 70: WriteLiteral(" class=\"clearfix\"");
Line 71:
Line 72: WriteLiteral(">\r\n <div");
Line 73:
Line 74: WriteLiteral(" style=\"background-color: gray; padding: 2px; font-size: 20px; color: white; font" +
Line 75: "-weight: bold;\"");
Line 76:
Line 77: WriteLiteral("><span>Championship Match(s)</span></div>\r\n <div");
Line 78:
Line 79: WriteLiteral(" class=\"clearfix\"");
Line 80:
Line 81: WriteLiteral(">\r\n");
Line 82:
Line 83: WriteLiteral(" ");
Line 84:
Line 85:
Line 86: #line 18 "G:\PleskVhosts\roxburymenssoftball.com\httpdocs\Views\Home\Bracket.cshtml"
Line 87: Write(Html.Partial("BracketPartial/_Championship", Model));
Line 88:
Line 89:
Line 90: #line default
Line 91: #line hidden
Line 92: WriteLiteral("\r\n </div>\r\n <div");
Line 93:
Line 94: WriteLiteral(" style=\"background-color: gray; padding: 2px; font-size: 20px; color: white; font" +
Line 95: "-weight: bold;\"");
Line 96:
Line 97: WriteLiteral("><span>Winner\'s Bracket</span></div>\r\n <div");
Line 98:
Line 99: WriteLiteral(" class=\"clearfix\"");
Line 100:
Line 101: WriteLiteral(">\r\n");
Line 102:
Line 103: WriteLiteral(" ");
Line 104:
Line 105:
Line 106: #line 22 "G:\PleskVhosts\roxburymenssoftball.com\httpdocs\Views\Home\Bracket.cshtml"
Line 107: Write(Html.Partial("BracketPartial/_WinnerBracket", Model));
Line 108:
Line 109:
Line 110: #line default
Line 111: #line hidden
Line 112: WriteLiteral("\r\n </div>\r\n <div");
Line 113:
Line 114: WriteLiteral(" style=\"display: none; background-color: gray; padding: 2px; font-size: 20px; col" +
Line 115: "or: white; font-weight: bold;\"");
Line 116:
Line 117: WriteLiteral("><span>Loser\'s Bracket</span></div>\r\n <div");
Line 118:
Line 119: WriteLiteral(" class=\"clearfix\"");
Line 120:
Line 121: WriteLiteral(" style=\"display: none;\"");
Line 122:
Line 123: WriteLiteral(">\r\n");
Line 124:
Line 125: WriteLiteral(" ");
Line 126:
Line 127:
Line 128: #line 26 "G:\PleskVhosts\roxburymenssoftball.com\httpdocs\Views\Home\Bracket.cshtml"
Line 129: Write(Html.Partial("BracketPartial/_LoserBracket", Model));
Line 130:
Line 131:
Line 132: #line default
Line 133: #line hidden
Line 134: WriteLiteral("\r\n </div>\r\n\r\n</div>\r\n");
Line 135:
Line 136: DefineSection("Scripts", () => {
Line 137:
Line 138: WriteLiteral(@"
Line 139:
Line 140: <script>
Line 141: // Get the modal
Line 142: var modal = document.getElementById('myModal');
Line 143:
Line 144: // Get the image and insert it inside the modal - use its ""alt"" text as a caption
Line 145: var img = document.getElementById('myImg');
Line 146: var modalImg = document.getElementById(""img01"");
Line 147: var captionText = document.getElementById(""caption"");
Line 148: img.onclick = function () {
Line 149: modal.style.display = ""block"";
Line 150: modalImg.src = this.src;
Line 151: modalImg.alt = this.alt;
Line 152: captionText.innerHTML = ""Fresh Cutz"";
Line 153: }
Line 154:
Line 155: // Get the <span> element that closes the modal
Line 156: var span = document.getElementsByClassName(""close"")[0];
Line 157:
Line 158: // When the user clicks on <span> (x), close the modal
Line 159: span.onclick = function () {
Line 160: modal.style.display = ""none"";
Line 161: }
Line 162: </script>
Line 163: ");
Line 164:
Line 165: });
Line 166:
Line 167: }
Line 168: }
Line 169: }
Line 170:
|