forked from Baud-UCS/DEF
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Server UI (Sites + Parameters). Controller edits. WiP Parameters conf…
…igurator. Relates to Baud-UCS#28 and Baud-UCS#29.
- Loading branch information
Showing
10 changed files
with
213 additions
and
4 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
36 changes: 36 additions & 0 deletions
36
src/Server/DeploymentFramework/Resources/StringResources.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
29 changes: 29 additions & 0 deletions
29
src/Server/DeploymentFramework/Web/Areas/Deployment/Views/Servers/EditParameters.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,29 @@ | ||
<!-- TODO Finish --> | ||
|
||
@model Baud.Deployment.BusinessLogic.Domain.Deployment.Entities.Server | ||
@using Baud.Deployment.Resources | ||
|
||
@{ | ||
ViewBag.Title = StringResources.EditParameters; | ||
} | ||
|
||
<h2>@ViewBag.Title</h2> | ||
@foreach (var parameter in Model.Parameters) | ||
{ | ||
using (var f = Html.BeginCustomForm()) | ||
{ | ||
using (var s = f.BeginSection()) | ||
{ | ||
@*@s.FieldFor(parameter.Name) | ||
@s.FieldFor(parameter.Value)*@ | ||
} | ||
|
||
using (var n = f.BeginNavigation()) | ||
{ | ||
@n.Submit(StringResources.Save) | ||
} | ||
} | ||
} | ||
|
||
@Html.GuardedActionLink(StringResources.BackToList, MVC.Deployment.Servers.Index(), new SimpleHtmlAttributes("class", "btn btn-default")) | ||
@Html.GuardedActionLink(StringResources.BackToDetail, MVC.Deployment.Servers.Detail(Model.ID), new SimpleHtmlAttributes("class", "btn btn-default")) |
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