-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8e5cf7
commit 513c2ea
Showing
107 changed files
with
51,831 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
using System.Web; | ||
using System.Web.Optimization; | ||
|
||
namespace subpages | ||
{ | ||
public class BundleConfig | ||
{ | ||
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725 | ||
public static void RegisterBundles( BundleCollection bundles ) | ||
{ | ||
bundles.Add( new ScriptBundle( "~/bundles/jquery" ).Include( | ||
"~/Scripts/jquery-1.*" ) ); | ||
|
||
bundles.Add( new ScriptBundle( "~/bundles/jqueryui" ).Include( | ||
"~/Scripts/jquery-ui*" ) ); | ||
|
||
bundles.Add( new ScriptBundle( "~/bundles/jqueryval" ).Include( | ||
"~/Scripts/jquery.validate*" ) ); | ||
|
||
bundles.Add( new ScriptBundle( "~/bundles/modernizr" ).Include( | ||
"~/Scripts/modernizr-*" ) ); | ||
|
||
bundles.Add( new ScriptBundle( "~/bundles/jquerymobile" ).Include( "~/Scripts/jquery.mobile-1.*" ) ); | ||
|
||
bundles.Add( new StyleBundle( "~/Content/css" ).Include( "~/Content/site.css" ) ); | ||
|
||
bundles.Add( new StyleBundle( "~/Content/mobilecss" ).Include( "~/Content/jquery.mobile*" ) ); | ||
|
||
bundles.Add( new StyleBundle( "~/Content/themes/base/css" ).Include( | ||
"~/Content/themes/base/jquery.ui.core.css", | ||
"~/Content/themes/base/jquery.ui.resizable.css", | ||
"~/Content/themes/base/jquery.ui.selectable.css", | ||
"~/Content/themes/base/jquery.ui.accordion.css", | ||
"~/Content/themes/base/jquery.ui.autocomplete.css", | ||
"~/Content/themes/base/jquery.ui.button.css", | ||
"~/Content/themes/base/jquery.ui.dialog.css", | ||
"~/Content/themes/base/jquery.ui.slider.css", | ||
"~/Content/themes/base/jquery.ui.tabs.css", | ||
"~/Content/themes/base/jquery.ui.datepicker.css", | ||
"~/Content/themes/base/jquery.ui.progressbar.css", | ||
"~/Content/themes/base/jquery.ui.theme.css" ) ); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Web; | ||
using System.Web.Mvc; | ||
|
||
namespace subpages | ||
{ | ||
public class FilterConfig | ||
{ | ||
public static void RegisterGlobalFilters( GlobalFilterCollection filters ) | ||
{ | ||
filters.Add( new HandleErrorAttribute() ); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.Mvc; | ||
using System.Web.Routing; | ||
|
||
namespace subpages | ||
{ | ||
public class RouteConfig | ||
{ | ||
public static void RegisterRoutes( RouteCollection routes ) | ||
{ | ||
routes.IgnoreRoute( "{resource}.axd/{*pathInfo}" ); | ||
|
||
routes.MapRoute( | ||
name: "Default", | ||
url: "{controller}/{action}/{id}", | ||
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } | ||
); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web.Http; | ||
|
||
namespace subpages | ||
{ | ||
public static class WebApiConfig | ||
{ | ||
public static void Register( HttpConfiguration config ) | ||
{ | ||
config.Routes.MapHttpRoute( | ||
name: "DefaultApi", | ||
routeTemplate: "api/{controller}/{id}", | ||
defaults: new { id = RouteParameter.Optional } | ||
); | ||
|
||
// Uncomment the following line of code to enable query support for actions with an IQueryable or IQueryable<T> return type. | ||
// To avoid processing unexpected or malicious queries, use the validation settings on QueryableAttribute to validate incoming queries. | ||
// For more information, visit http://go.microsoft.com/fwlink/?LinkId=279712. | ||
//config.EnableQuerySupport(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* Styles for validation helpers | ||
-----------------------------------------------------------*/ | ||
.field-validation-error { | ||
color: #f00; | ||
display: block; | ||
margin-top: 8px; | ||
text-align: center; | ||
} | ||
|
||
.field-validation-valid { | ||
display: none; | ||
} | ||
|
||
.input-validation-error { | ||
border: 1px solid #f00; | ||
background-color: #fee; | ||
} | ||
|
||
.validation-summary-errors { | ||
font-weight: bold; | ||
color: #f00; | ||
} | ||
|
||
.validation-summary-valid { | ||
display: none; | ||
} | ||
|
||
|
||
/* jQuery mobile styles | ||
-----------------------------------------------------------*/ | ||
|
||
/* Make listview buttons fill the whole horizontal width of the screen */ | ||
.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li { | ||
padding-right: 15px; | ||
} | ||
|
||
.ui-bar-a, .ui-body-a, .ui-btn-up-a, .ui-btn-hover-a, .ui-btn-down-a, | ||
.ui-bar-b, .ui-body-b, .ui-btn-up-b, .ui-btn-hover-b, .ui-btn-down-b, | ||
.ui-bar-c, .ui-body-c, .ui-btn-up-c, .ui-btn-hover-c, .ui-btn-down-c, | ||
.ui-bar-d, .ui-body-d, .ui-btn-up-d, .ui-btn-hover-d, .ui-btn-down-d, | ||
.ui-bar-e, .ui-body-e, .ui-btn-up-e, .ui-btn-hover-e, .ui-btn-down-e, | ||
.ui-btn-active { | ||
text-shadow: none; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.