Skip to content

Commit

Permalink
added local mvc4 references for appharbor
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMore committed Jul 9, 2012
1 parent 35ec7a0 commit 608b99d
Show file tree
Hide file tree
Showing 23 changed files with 17,212 additions and 93 deletions.
33 changes: 28 additions & 5 deletions FamilyFeud.Web.MVC4/FamilyFeud.Web.MVC4.csproj
Expand Up @@ -97,7 +97,18 @@
<Reference Include="System.Data" />
<Reference Include="System.Data.Entity" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\MVC4\System.Net.Http.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\MVC4\System.Net.Http.Formatting.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.WebRequest, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\MVC4\System.Net.Http.WebRequest.dll</HintPath>
</Reference>
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.ApplicationServices" />
Expand All @@ -108,14 +119,26 @@
<Private>True</Private>
<HintPath>..\packages\AspNetWebPagesCore.2.0.10906.0\lib\net40\System.Web.Helpers.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\MVC4\System.Web.Http.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Http.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Http.Data.EntityFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Http.Data.Helpers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Http.SelfHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Http.SelfHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\MVC4\System.Web.Http.SelfHost.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\MVC4\System.Web.Http.WebHost.dll</HintPath>
</Reference>
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\MVC4\System.Web.Mvc.dll</HintPath>
</Reference>
<Reference Include="System.Web.Providers">
<HintPath>..\packages\System.Web.Providers.1.0.1\lib\Net40\System.Web.Providers.dll</HintPath>
</Reference>
Expand Down
177 changes: 89 additions & 88 deletions FamilyFeud.Web.MVC4/Views/Game/Index.cshtml
@@ -1,88 +1,89 @@
@{
ViewBag.Title = "Index";
}

@*<script src="Scripts/GameEditor.js"></script>*@

<link type="text/css" href="http://aspnet-skins.telerikstatic.com/mvcz/2012.2.607/telerik.common.min.css" rel="stylesheet"/>
<link type="text/css" href="http://aspnet-skins.telerikstatic.com/mvcz/2012.2.607/telerik.vista.min.css" rel="stylesheet"/>

<script type="text/html" id="roundItem-template">
<li>
<div class="row">
<div class="five columns">
<a href="#" data-bind="click: questionClicked">
<span data-bind="text: questionText" />
</a>
</div>

<div class="two columns">
@*The two divs below are not working :-(*@
<div data-bind="visible:$parent.showGameEditControls">
@*<a href="#">down</a>
<a href="#">up</a>
<a href="#">del</a> *@
</div>
<div data-bind="visible:$parent.showListControls">
<button data-bind="click:$parent.addQuestionToGame" >add</button>
</div>
@*hack :-(*@
<button data-bind="click:$parent.addQuestionToGame" >add</button>
</div>
</div>
<div data-bind="visible: isVisible">
<div class="row">
<div class="one columns">#</div>
<div class="five columns"><label>Answer</label></div>
<div class="two columns"><label>Points</label></div>
</div>
<div data-bind="foreach: answers ">
<div class="row">
<div class="one columns" data-bind="text: answerNumber"></div>
<div class="five columns">
<input type="text" data-bind="value: text, enable: $parent.isGameEditor" />
</div>
<div class="two columns">
<input type="text" data-bind="value: points, enable: $parent.isGameEditor" />
</div>
</div>
</div>
</div>
</li>
</script>

<div class="container white">

@*make game*@
@*<div class="eight columns">
<ul data-bind="template: { name: 'roundItem-template', foreach: gameRounds.rounds }"></ul>
</div>*@

@*all questions*@
@*<div class="eight columns">
<label>
Search:
<input type="text" data-bind="value:questionFilter" />
</label>
<ul data-bind="template: { name: 'roundItem-template', foreach: allRounds.rounds }"></ul>
</div>*@

@(Html.Telerik().Grid<FamilyFeud.Service.Models.Question>()
.Name("Grid")
.Columns(columns =>
{

columns.Bound(o => o.QuestionText).Width(200);

})
.DataBinding(dataBinding => dataBinding.Ajax().Select("GetAllQuestions", "Game"))
.Pageable()
.Sortable()
.Scrollable()
.Groupable()
.Filterable()
)


</div>

@{
ViewBag.Title = "Index";
}

@*<script src="Scripts/GameEditor.js"></script>*@

<link type="text/css" href="http://aspnet-skins.telerikstatic.com/mvcz/2012.2.607/telerik.common.min.css" rel="stylesheet"/>

<link type="text/css" href="http://aspnet-skins.telerikstatic.com/mvcz/2012.2.607/telerik.vista.min.css" rel="stylesheet"/>

<script type="text/html" id="roundItem-template">
<li>
<div class="row">
<div class="five columns">
<a href="#" data-bind="click: questionClicked">
<span data-bind="text: questionText" />
</a>
</div>

<div class="two columns">
@*The two divs below are not working :-(*@
<div data-bind="visible:$parent.showGameEditControls">
@*<a href="#">down</a>
<a href="#">up</a>
<a href="#">del</a> *@
</div>
<div data-bind="visible:$parent.showListControls">
<button data-bind="click:$parent.addQuestionToGame" >add</button>
</div>
@*hack :-(*@
<button data-bind="click:$parent.addQuestionToGame" >add</button>
</div>
</div>
<div data-bind="visible: isVisible">
<div class="row">
<div class="one columns">#</div>
<div class="five columns"><label>Answer</label></div>
<div class="two columns"><label>Points</label></div>
</div>
<div data-bind="foreach: answers ">
<div class="row">
<div class="one columns" data-bind="text: answerNumber"></div>
<div class="five columns">
<input type="text" data-bind="value: text, enable: $parent.isGameEditor" />
</div>
<div class="two columns">
<input type="text" data-bind="value: points, enable: $parent.isGameEditor" />
</div>
</div>
</div>
</div>
</li>
</script>

<div class="container white">

@*make game*@
@*<div class="eight columns">
<ul data-bind="template: { name: 'roundItem-template', foreach: gameRounds.rounds }"></ul>
</div>*@

@*all questions*@
@*<div class="eight columns">
<label>
Search:
<input type="text" data-bind="value:questionFilter" />
</label>
<ul data-bind="template: { name: 'roundItem-template', foreach: allRounds.rounds }"></ul>
</div>*@

@(Html.Telerik().Grid<FamilyFeud.Service.Models.Question>()
.Name("Grid")
.Columns(columns =>
{

columns.Bound(o => o.QuestionText).Width(200);

})
.DataBinding(dataBinding => dataBinding.Ajax().Select("GetAllQuestions", "Game"))
.Pageable()
.Sortable()
.Scrollable()
.Groupable()
.Filterable()
)


</div>

29 changes: 29 additions & 0 deletions FamilyFeud.sln
Expand Up @@ -11,6 +11,32 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{6CF68D
.nuget\NuGet.targets = .nuget\NuGet.targets
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "References", "References", "{5EBD9667-1340-4435-8C87-AD7E01CEEDE0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MVC4", "MVC4", "{7F808A8E-2FA9-438D-9509-6C195233DC08}"
ProjectSection(SolutionItems) = preProject
References\MVC4\System.Json.xml = References\MVC4\System.Json.xml
References\MVC4\System.Net.Http.Formatting.dll = References\MVC4\System.Net.Http.Formatting.dll
References\MVC4\System.Net.Http.Formatting.xml = References\MVC4\System.Net.Http.Formatting.xml
References\MVC4\System.Net.Http.WebRequest.dll = References\MVC4\System.Net.Http.WebRequest.dll
References\MVC4\System.Net.Http.WebRequest.xml = References\MVC4\System.Net.Http.WebRequest.xml
References\MVC4\System.Net.Http.dll = References\MVC4\System.Net.Http.dll
References\MVC4\System.Net.Http.xml = References\MVC4\System.Net.Http.xml
References\MVC4\System.Web.Helpers.xml = References\MVC4\System.Web.Helpers.xml
References\MVC4\System.Web.Http.Common.xml = References\MVC4\System.Web.Http.Common.xml
References\MVC4\System.Web.Http.Data.EntityFramework.xml = References\MVC4\System.Web.Http.Data.EntityFramework.xml
References\MVC4\System.Web.Http.Data.Helpers.xml = References\MVC4\System.Web.Http.Data.Helpers.xml
References\MVC4\System.Web.Http.Data.xml = References\MVC4\System.Web.Http.Data.xml
References\MVC4\System.Web.Http.SelfHost.dll = References\MVC4\System.Web.Http.SelfHost.dll
References\MVC4\System.Web.Http.SelfHost.xml = References\MVC4\System.Web.Http.SelfHost.xml
References\MVC4\System.Web.Http.WebHost.dll = References\MVC4\System.Web.Http.WebHost.dll
References\MVC4\System.Web.Http.WebHost.xml = References\MVC4\System.Web.Http.WebHost.xml
References\MVC4\System.Web.Http.dll = References\MVC4\System.Web.Http.dll
References\MVC4\System.Web.Http.xml = References\MVC4\System.Web.Http.xml
References\MVC4\System.Web.Mvc.dll = References\MVC4\System.Web.Mvc.dll
References\MVC4\System.Web.Mvc.xml = References\MVC4\System.Web.Mvc.xml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -45,4 +71,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{7F808A8E-2FA9-438D-9509-6C195233DC08} = {5EBD9667-1340-4435-8C87-AD7E01CEEDE0}
EndGlobalSection
EndGlobal

0 comments on commit 608b99d

Please sign in to comment.