-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sample mobile application to capture SS for project wizards
- Loading branch information
Showing
84 changed files
with
51,873 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
Chp 09 - Mobile Development/SampleMobileApplication/SampleMobileApplication.sln
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,20 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2012 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleMobileApplication", "SampleMobileApplication\SampleMobileApplication.csproj", "{DD684EF8-5A9D-4931-8621-67C5735A92FD}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{DD684EF8-5A9D-4931-8621-67C5735A92FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{DD684EF8-5A9D-4931-8621-67C5735A92FD}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{DD684EF8-5A9D-4931-8621-67C5735A92FD}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{DD684EF8-5A9D-4931-8621-67C5735A92FD}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
44 changes: 44 additions & 0 deletions
44
...ile Development/SampleMobileApplication/SampleMobileApplication/App_Start/BundleConfig.cs
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 SampleMobileApplication | ||
{ | ||
public class BundleConfig | ||
{ | ||
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.unobtrusive*", | ||
"~/Scripts/jquery.validate*")); | ||
|
||
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( | ||
"~/Scripts/modernizr-*")); | ||
|
||
bundles.Add(new ScriptBundle("~/bundles/jquerymobile").Include("~/Scripts/jquery.mobile*")); | ||
|
||
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")); | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ile Development/SampleMobileApplication/SampleMobileApplication/App_Start/FilterConfig.cs
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 SampleMobileApplication | ||
{ | ||
public class FilterConfig | ||
{ | ||
public static void RegisterGlobalFilters(GlobalFilterCollection filters) | ||
{ | ||
filters.Add(new HandleErrorAttribute()); | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...bile Development/SampleMobileApplication/SampleMobileApplication/App_Start/RouteConfig.cs
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,30 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.Http; | ||
using System.Web.Mvc; | ||
using System.Web.Routing; | ||
|
||
namespace SampleMobileApplication | ||
{ | ||
public class RouteConfig | ||
{ | ||
public static void RegisterRoutes(RouteCollection routes) | ||
{ | ||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); | ||
|
||
routes.MapHttpRoute( | ||
name: "DefaultApi", | ||
routeTemplate: "api/{controller}/{id}", | ||
defaults: new { id = RouteParameter.Optional } | ||
); | ||
|
||
routes.MapRoute( | ||
name: "Default", | ||
url: "{controller}/{action}/{id}", | ||
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } | ||
); | ||
} | ||
} | ||
} |
Binary file added
BIN
+366 Bytes
.../SampleMobileApplication/SampleMobileApplication/Content/Images/ajax-loader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.1 KB
...mpleMobileApplication/SampleMobileApplication/Content/Images/icons-18-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.91 KB
...mpleMobileApplication/SampleMobileApplication/Content/Images/icons-18-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.16 KB
...mpleMobileApplication/SampleMobileApplication/Content/Images/icons-36-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.66 KB
...mpleMobileApplication/SampleMobileApplication/Content/Images/icons-36-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions
44
Chp 09 - Mobile Development/SampleMobileApplication/SampleMobileApplication/Content/Site.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,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; | ||
} |
Oops, something went wrong.