-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support switching to local js/css from an option in LocalTest (#8562)
Co-authored-by: Ole Martin Handeland <[email protected]>
- Loading branch information
1 parent
ac9b508
commit 43ec5ab
Showing
9 changed files
with
144 additions
and
18 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
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,12 @@ | ||
using Microsoft.AspNetCore.Mvc.Rendering; | ||
|
||
using System.Collections.Generic; | ||
|
||
namespace LocalTest.Models | ||
{ | ||
public class FrontendVersion | ||
{ | ||
public string Version { get; set; } | ||
public List<SelectListItem> Versions { get; set; } | ||
} | ||
} |
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,16 @@ | ||
@model FrontendVersion | ||
|
||
@{ | ||
ViewData["Title"] = "Frontend version"; | ||
} | ||
<h1>@ViewData["Title"]</h1> | ||
|
||
@using (Html.BeginForm("FrontendVersion", "Home", FormMethod.Post, new { Class = "form-signin" })) | ||
{ | ||
@Html.AntiForgeryToken(); | ||
<div class="form-group"> | ||
<label for="exampleInputEmail1">Select your desired frontend version</label> | ||
@Html.DropDownListFor(model => model.Version, Model.Versions, new { Class = "form-control" }) | ||
</div> | ||
<button type="submit" class="btn btn-primary">Select</button> | ||
} |
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 was deleted.
Oops, something went wrong.