Skip to content

Commit 1abdd0b

Browse files
committed
Part 1 checkin.
1 parent 828dd9c commit 1abdd0b

File tree

120 files changed

+91568
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+91568
-0
lines changed

CollectionEditing.sln

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Web Developer Express 2010
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CollectionEditing", "CollectionEditing\CollectionEditing.csproj", "{625AA633-FA80-41E7-AD64-30709F6569AF}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{625AA633-FA80-41E7-AD64-30709F6569AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{625AA633-FA80-41E7-AD64-30709F6569AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{625AA633-FA80-41E7-AD64-30709F6569AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{625AA633-FA80-41E7-AD64-30709F6569AF}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(SolutionProperties) = preSolution
18+
HideSolutionNode = FALSE
19+
EndGlobalSection
20+
EndGlobal
Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>
7+
</ProductVersion>
8+
<SchemaVersion>2.0</SchemaVersion>
9+
<ProjectGuid>{625AA633-FA80-41E7-AD64-30709F6569AF}</ProjectGuid>
10+
<ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
11+
<OutputType>Library</OutputType>
12+
<AppDesignerFolder>Properties</AppDesignerFolder>
13+
<RootNamespace>CollectionEditing</RootNamespace>
14+
<AssemblyName>CollectionEditing</AssemblyName>
15+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
16+
<MvcBuildViews>false</MvcBuildViews>
17+
<UseIISExpress>false</UseIISExpress>
18+
</PropertyGroup>
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20+
<DebugSymbols>true</DebugSymbols>
21+
<DebugType>full</DebugType>
22+
<Optimize>false</Optimize>
23+
<OutputPath>bin\</OutputPath>
24+
<DefineConstants>DEBUG;TRACE</DefineConstants>
25+
<ErrorReport>prompt</ErrorReport>
26+
<WarningLevel>4</WarningLevel>
27+
</PropertyGroup>
28+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29+
<DebugType>pdbonly</DebugType>
30+
<Optimize>true</Optimize>
31+
<OutputPath>bin\</OutputPath>
32+
<DefineConstants>TRACE</DefineConstants>
33+
<ErrorReport>prompt</ErrorReport>
34+
<WarningLevel>4</WarningLevel>
35+
</PropertyGroup>
36+
<ItemGroup>
37+
<Reference Include="EntityFramework">
38+
<HintPath>..\packages\EntityFramework.4.1.10331.0\lib\EntityFramework.dll</HintPath>
39+
</Reference>
40+
<Reference Include="Microsoft.Web.Mvc">
41+
<HintPath>..\packages\Mvc3Futures.3.0.20105.0\lib\Microsoft.Web.Mvc.dll</HintPath>
42+
</Reference>
43+
<Reference Include="MvcContrib">
44+
<HintPath>..\packages\MvcContrib.Mvc3-ci.3.0.71.0\lib\MvcContrib.dll</HintPath>
45+
</Reference>
46+
<Reference Include="System.Data.Entity" />
47+
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
48+
<Reference Include="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
49+
<Reference Include="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
50+
<Reference Include="Microsoft.CSharp" />
51+
<Reference Include="System" />
52+
<Reference Include="System.Data" />
53+
<Reference Include="System.Drawing" />
54+
<Reference Include="System.Web.DynamicData" />
55+
<Reference Include="System.Web.Entity" />
56+
<Reference Include="System.Web.ApplicationServices" />
57+
<Reference Include="System.ComponentModel.DataAnnotations" />
58+
<Reference Include="System.Core" />
59+
<Reference Include="System.Data.DataSetExtensions" />
60+
<Reference Include="System.Xml.Linq" />
61+
<Reference Include="System.Web" />
62+
<Reference Include="System.Web.Extensions" />
63+
<Reference Include="System.Web.Abstractions" />
64+
<Reference Include="System.Web.Routing" />
65+
<Reference Include="System.Xml" />
66+
<Reference Include="System.Configuration" />
67+
<Reference Include="System.Web.Services" />
68+
<Reference Include="System.EnterpriseServices" />
69+
</ItemGroup>
70+
<ItemGroup>
71+
<Compile Include="Controllers\HomeController.cs" />
72+
<Compile Include="Controllers\UserController.cs" />
73+
<Compile Include="Global.asax.cs">
74+
<DependentUpon>Global.asax</DependentUpon>
75+
</Compile>
76+
<Compile Include="Infrastructure\CollectionEditingHtmlExtensions.cs" />
77+
<Compile Include="Models\Movie.cs" />
78+
<Compile Include="Models\User.cs" />
79+
<Compile Include="Properties\AssemblyInfo.cs" />
80+
</ItemGroup>
81+
<ItemGroup>
82+
<Content Include="Content\images\draggable-icon.png" />
83+
<Content Include="Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" />
84+
<Content Include="Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" />
85+
<Content Include="Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" />
86+
<Content Include="Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png" />
87+
<Content Include="Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png" />
88+
<Content Include="Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png" />
89+
<Content Include="Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png" />
90+
<Content Include="Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png" />
91+
<Content Include="Content\themes\base\images\ui-icons_222222_256x240.png" />
92+
<Content Include="Content\themes\base\images\ui-icons_2e83ff_256x240.png" />
93+
<Content Include="Content\themes\base\images\ui-icons_454545_256x240.png" />
94+
<Content Include="Content\themes\base\images\ui-icons_888888_256x240.png" />
95+
<Content Include="Content\themes\base\images\ui-icons_cd0a0a_256x240.png" />
96+
<Content Include="Content\themes\base\jquery.ui.accordion.css" />
97+
<Content Include="Content\themes\base\jquery.ui.all.css" />
98+
<Content Include="Content\themes\base\jquery.ui.autocomplete.css" />
99+
<Content Include="Content\themes\base\jquery.ui.base.css" />
100+
<Content Include="Content\themes\base\jquery.ui.button.css" />
101+
<Content Include="Content\themes\base\jquery.ui.core.css" />
102+
<Content Include="Content\themes\base\jquery.ui.datepicker.css" />
103+
<Content Include="Content\themes\base\jquery.ui.dialog.css" />
104+
<Content Include="Content\themes\base\jquery.ui.progressbar.css" />
105+
<Content Include="Content\themes\base\jquery.ui.resizable.css" />
106+
<Content Include="Content\themes\base\jquery.ui.selectable.css" />
107+
<Content Include="Content\themes\base\jquery.ui.slider.css" />
108+
<Content Include="Content\themes\base\jquery.ui.tabs.css" />
109+
<Content Include="Content\themes\base\jquery.ui.theme.css" />
110+
<Content Include="Global.asax" />
111+
<Content Include="Content\Site.css" />
112+
<Content Include="Scripts\jquery-1.5.1-vsdoc.js" />
113+
<Content Include="Scripts\jquery-1.5.1.js" />
114+
<Content Include="Scripts\jquery-1.5.1.min.js" />
115+
<Content Include="Scripts\jquery-ui-1.8.11.js" />
116+
<Content Include="Scripts\jquery-ui-1.8.11.min.js" />
117+
<Content Include="Scripts\jquery.validate-vsdoc.js" />
118+
<Content Include="Scripts\jquery.validate.js" />
119+
<Content Include="Scripts\jquery.validate.min.js" />
120+
<Content Include="Scripts\modernizr-1.7.js" />
121+
<Content Include="Scripts\modernizr-1.7.min.js" />
122+
<Content Include="Web.config" />
123+
<Content Include="Web.Debug.config">
124+
<DependentUpon>Web.config</DependentUpon>
125+
</Content>
126+
<Content Include="Web.Release.config">
127+
<DependentUpon>Web.config</DependentUpon>
128+
</Content>
129+
<Content Include="Scripts\jquery.unobtrusive-ajax.js" />
130+
<Content Include="Scripts\jquery.unobtrusive-ajax.min.js" />
131+
<Content Include="Scripts\jquery.validate.unobtrusive.js" />
132+
<Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
133+
<Content Include="Scripts\MicrosoftAjax.js" />
134+
<Content Include="Scripts\MicrosoftAjax.debug.js" />
135+
<Content Include="Scripts\MicrosoftMvcAjax.js" />
136+
<Content Include="Scripts\MicrosoftMvcAjax.debug.js" />
137+
<Content Include="Scripts\MicrosoftMvcValidation.js" />
138+
<Content Include="Scripts\MicrosoftMvcValidation.debug.js" />
139+
<Content Include="Views\Web.config" />
140+
<Content Include="Views\_ViewStart.cshtml" />
141+
<Content Include="Views\Shared\Error.cshtml" />
142+
<Content Include="Views\Shared\_Layout.cshtml" />
143+
</ItemGroup>
144+
<ItemGroup>
145+
<Content Include="packages.config" />
146+
</ItemGroup>
147+
<ItemGroup>
148+
<Content Include="Views\User\Edit.cshtml" />
149+
</ItemGroup>
150+
<ItemGroup>
151+
<Content Include="Views\User\Display.cshtml" />
152+
</ItemGroup>
153+
<ItemGroup>
154+
<Folder Include="Views\Home\" />
155+
</ItemGroup>
156+
<ItemGroup>
157+
<Content Include="Views\User\MovieEntryEditor.cshtml" />
158+
</ItemGroup>
159+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
160+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
161+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
162+
Other similar extension points exist, see Microsoft.Common.targets.
163+
<Target Name="BeforeBuild">
164+
</Target>
165+
<Target Name="AfterBuild">
166+
</Target> -->
167+
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
168+
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
169+
</Target>
170+
<ProjectExtensions>
171+
<VisualStudio>
172+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
173+
<WebProjectProperties>
174+
<UseIIS>False</UseIIS>
175+
<AutoAssignPort>True</AutoAssignPort>
176+
<DevelopmentServerPort>53574</DevelopmentServerPort>
177+
<DevelopmentServerVPath>/</DevelopmentServerVPath>
178+
<IISUrl>
179+
</IISUrl>
180+
<NTLMAuthentication>False</NTLMAuthentication>
181+
<UseCustomServer>False</UseCustomServer>
182+
<CustomServerUrl>
183+
</CustomServerUrl>
184+
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
185+
</WebProjectProperties>
186+
</FlavorProperties>
187+
</VisualStudio>
188+
</ProjectExtensions>
189+
</Project>

CollectionEditing/Content/Site.css

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
body
2+
{
3+
font-size: .85em;
4+
font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
5+
color: #232323;
6+
background-color: #fff;
7+
}
8+
9+
header,
10+
footer,
11+
nav,
12+
section {
13+
display: block;
14+
}
15+
16+
/* Styles for basic forms
17+
-----------------------------------------------------------*/
18+
19+
fieldset
20+
{
21+
border:1px solid #ddd;
22+
padding:0 1.4em 1.4em 1.4em;
23+
margin:0 0 1.5em 0;
24+
}
25+
26+
legend
27+
{
28+
font-size:1.2em;
29+
font-weight: bold;
30+
}
31+
32+
textarea
33+
{
34+
min-height: 75px;
35+
}
36+
37+
.editor-label
38+
{
39+
margin: 1em 0 0 0;
40+
}
41+
42+
.editor-field
43+
{
44+
margin:0.5em 0 0 0;
45+
}
46+
47+
48+
/* Styles for validation helpers
49+
-----------------------------------------------------------*/
50+
.field-validation-error
51+
{
52+
color: #ff0000;
53+
}
54+
55+
.field-validation-valid
56+
{
57+
display: none;
58+
}
59+
60+
.input-validation-error
61+
{
62+
border: 1px solid #ff0000;
63+
background-color: #ffeeee;
64+
}
65+
66+
.validation-summary-errors
67+
{
68+
font-weight: bold;
69+
color: #ff0000;
70+
}
71+
72+
.validation-summary-valid
73+
{
74+
display: none;
75+
}
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Note: While Microsoft is not the author of this file, Microsoft is
3+
* offering you a license subject to the terms of the Microsoft Software
4+
* License Terms for Microsoft ASP.NET Model View Controller 3.
5+
* Microsoft reserves all other rights. The notices below are provided
6+
* for informational purposes only and are not the license terms under
7+
* which Microsoft distributed this file.
8+
*
9+
* jQuery UI Accordion 1.8.11
10+
*
11+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12+
*
13+
* http://docs.jquery.com/UI/Accordion#theming
14+
*/
15+
/* IE/Win - Fix animation bug - #4615 */
16+
.ui-accordion { width: 100%; }
17+
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
18+
.ui-accordion .ui-accordion-li-fix { display: inline; }
19+
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
20+
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
21+
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
22+
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
23+
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
24+
.ui-accordion .ui-accordion-content-active { display: block; }
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Note: While Microsoft is not the author of this file, Microsoft is
3+
* offering you a license subject to the terms of the Microsoft Software
4+
* License Terms for Microsoft ASP.NET Model View Controller 3.
5+
* Microsoft reserves all other rights. The notices below are provided
6+
* for informational purposes only and are not the license terms under
7+
* which Microsoft distributed this file.
8+
*
9+
* jQuery UI CSS Framework 1.8.11
10+
*
11+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12+
*
13+
* http://docs.jquery.com/UI/Theming
14+
*/
15+
@import "jquery.ui.base.css";
16+
@import "jquery.ui.theme.css";
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/*
2+
* Note: While Microsoft is not the author of this file, Microsoft is
3+
* offering you a license subject to the terms of the Microsoft Software
4+
* License Terms for Microsoft ASP.NET Model View Controller 3.
5+
* Microsoft reserves all other rights. The notices below are provided
6+
* for informational purposes only and are not the license terms under
7+
* which Microsoft distributed this file.
8+
*
9+
* jQuery UI Autocomplete 1.8.11
10+
*
11+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12+
* http://docs.jquery.com/UI/Autocomplete#theming
13+
*/
14+
.ui-autocomplete { position: absolute; cursor: default; }
15+
16+
/* workarounds */
17+
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
18+
19+
/*
20+
* Note: While Microsoft is not the author of this file, Microsoft is
21+
* offering you a license subject to the terms of the Microsoft Software
22+
* License Terms for Microsoft ASP.NET Model View Controller 3.
23+
* Microsoft reserves all other rights. The notices below are provided
24+
* for informational purposes only and are not the license terms under
25+
* which Microsoft distributed this file.
26+
*
27+
* jQuery UI Menu 1.8.11
28+
*
29+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
30+
*
31+
* http://docs.jquery.com/UI/Menu#theming
32+
*/
33+
.ui-menu {
34+
list-style:none;
35+
padding: 2px;
36+
margin: 0;
37+
display:block;
38+
float: left;
39+
}
40+
.ui-menu .ui-menu {
41+
margin-top: -3px;
42+
}
43+
.ui-menu .ui-menu-item {
44+
margin:0;
45+
padding: 0;
46+
zoom: 1;
47+
float: left;
48+
clear: left;
49+
width: 100%;
50+
}
51+
.ui-menu .ui-menu-item a {
52+
text-decoration:none;
53+
display:block;
54+
padding:.2em .4em;
55+
line-height:1.5;
56+
zoom:1;
57+
}
58+
.ui-menu .ui-menu-item a.ui-state-hover,
59+
.ui-menu .ui-menu-item a.ui-state-active {
60+
font-weight: normal;
61+
margin: -1px;
62+
}

0 commit comments

Comments
 (0)