This repository has been archived by the owner on Jun 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore (esnext-aspnetcore and typescript-aspnetcore): Convert initial …
…page to use MVC conventions Changed starting page to use ASP.Net view conventions rather than using index.html Changed directory & csproj names to make navigation easier Updated readme.md in both TypeScript projects to better reflect dotnet useage Rebuilt config.js in wwwroot to let bootstrap get a jquery 2.x version
- Loading branch information
Showing
160 changed files
with
233 additions
and
235 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
31 changes: 0 additions & 31 deletions
31
skeleton-esnext-aspnetcore/src/skeleton-navigation-esnext-vs/Controllers/HomeController.cs
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
skeleton-esnext-aspnetcore/src/skeleton-navigation-esnext-vs/appsettings.json
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
skeleton-esnext-aspnetcore/src/skeleton-navigation-esnext-vs/wwwroot/index.html
This file was deleted.
Oops, something went wrong.
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
skeleton-esnext-aspnetcore/src/skeleton/Controllers/HomeController.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,17 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
|
||
namespace skeleton.Controllers | ||
{ | ||
public class HomeController : Controller | ||
{ | ||
public IActionResult Index() | ||
{ | ||
return View(); | ||
} | ||
|
||
public IActionResult Error() | ||
{ | ||
return View(); | ||
} | ||
} | ||
} |
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
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
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
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
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 @@ | ||
{ | ||
"ApplicationInsights": { | ||
"InstrumentationKey": "" | ||
}, | ||
"Logging": { | ||
"IncludeScopes": false, | ||
"LogLevel": { | ||
"Default": "Verbose", | ||
"System": "Information", | ||
"Microsoft": "Information" | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -84,6 +84,10 @@ | |
"font-awesome": "npm:[email protected]", | ||
"text": "github:systemjs/plugin-text@^0.0.8" | ||
}, | ||
"devDependencies": {} | ||
"devDependencies": { | ||
"babel": "npm:babel-core@^5.8.24", | ||
"babel-runtime": "npm:babel-runtime@^5.8.24", | ||
"core-js": "npm:core-js@^1.1.4" | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...leton-navigation-esnext-vs/src/welcome.js → ...xt-aspnetcore/src/skeleton/src/welcome.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
skeleton-esnext-aspnetcore/src/skeleton/views/_viewstart.cshtml
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 @@ | ||
@{Layout = "_layout";} |
14 changes: 14 additions & 0 deletions
14
skeleton-esnext-aspnetcore/src/skeleton/views/home/Index.cshtml
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,14 @@ | ||
<div aurelia-app="main"> | ||
<div class="splash"> | ||
<div class="message">Aurelia Navigation Skeleton</div> | ||
<div class="fa fa-spinner fa-spin"></div> | ||
</div> | ||
|
||
<script src="jspm_packages/system.js"></script> | ||
|
||
<script src="config.js"></script> | ||
|
||
<script> | ||
System.import('aurelia-bootstrapper'); | ||
</script> | ||
</div> |
16 changes: 16 additions & 0 deletions
16
skeleton-esnext-aspnetcore/src/skeleton/views/shared/_layout.cshtml
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,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>@ViewBag.Title</title> | ||
<link rel="stylesheet" href="~/jspm_packages/npm/[email protected]/css/font-awesome.min.css" /> | ||
<link rel="stylesheet" href="~/styles/styles.css" /> | ||
@RenderSection("Styles", false) | ||
</head> | ||
<body> | ||
<section id="main"> | ||
@RenderBody() | ||
</section> | ||
</body> | ||
</html> |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,20 +1,18 @@ | ||
System.config({ | ||
defaultJSExtensions: true, | ||
transpiler: false, | ||
transpiler: "babel", | ||
babelOptions: { | ||
"optional": [ | ||
"runtime", | ||
"optimisation.modules.system" | ||
] | ||
}, | ||
paths: { | ||
"*": "dist/*", | ||
"github:*": "jspm_packages/github/*", | ||
"npm:*": "jspm_packages/npm/*" | ||
}, | ||
|
||
meta: { | ||
"bootstrap": { | ||
"deps": [ | ||
"jquery" | ||
] | ||
} | ||
}, | ||
|
||
map: { | ||
"aurelia-animator-css": "npm:[email protected]", | ||
"aurelia-bootstrapper": "npm:[email protected]", | ||
|
@@ -29,7 +27,10 @@ System.config({ | |
"aurelia-templating-binding": "npm:[email protected]", | ||
"aurelia-templating-resources": "npm:[email protected]", | ||
"aurelia-templating-router": "npm:[email protected]", | ||
"babel": "npm:[email protected]", | ||
"babel-runtime": "npm:[email protected]", | ||
"bootstrap": "github:twbs/[email protected]", | ||
"core-js": "npm:[email protected]", | ||
"fetch": "github:github/[email protected]", | ||
"font-awesome": "npm:[email protected]", | ||
"text": "github:systemjs/[email protected]", | ||
|
@@ -39,6 +40,9 @@ System.config({ | |
"github:jspm/[email protected]": { | ||
"buffer": "npm:[email protected]" | ||
}, | ||
"github:jspm/[email protected]": { | ||
"path-browserify": "npm:[email protected]" | ||
}, | ||
"github:jspm/[email protected]": { | ||
"process": "npm:[email protected]" | ||
}, | ||
|
@@ -49,7 +53,7 @@ System.config({ | |
"vm-browserify": "npm:[email protected]" | ||
}, | ||
"github:twbs/[email protected]": { | ||
"jquery": "npm:jquery@3.0.0" | ||
"jquery": "npm:jquery@2.2.4" | ||
}, | ||
"npm:[email protected]": { | ||
"assert": "github:jspm/[email protected]", | ||
|
@@ -176,6 +180,9 @@ System.config({ | |
"aurelia-path": "npm:[email protected]", | ||
"aurelia-task-queue": "npm:[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"process": "github:jspm/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"base64-js": "npm:[email protected]", | ||
"child_process": "github:jspm/[email protected]", | ||
|
@@ -184,13 +191,19 @@ System.config({ | |
"isarray": "npm:[email protected]", | ||
"process": "github:jspm/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"fs": "github:jspm/[email protected]", | ||
"path": "github:jspm/[email protected]", | ||
"process": "github:jspm/[email protected]", | ||
"systemjs-json": "github:systemjs/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"css": "github:systemjs/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"util": "github:jspm/[email protected]" | ||
}, | ||
"npm:jquery@3.0.0": { | ||
"npm:path-browserify@0.0.0": { | ||
"process": "github:jspm/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.