初始化
This commit is contained in:
24
Face.Web/Areas/App/Views/Program/Index.cshtml
Normal file
24
Face.Web/Areas/App/Views/Program/Index.cshtml
Normal file
@@ -0,0 +1,24 @@
|
||||
@*@model YourNamespace.Models.ProgramViewModel
|
||||
@{
|
||||
ViewBag.Title = "Program Control";
|
||||
}*@
|
||||
<div class="content-wrapper">
|
||||
<section class="content" style="padding:0px;">
|
||||
<h2>Program Control</h2>
|
||||
|
||||
<form action="/APP/Program/Start" method="post">
|
||||
<div>
|
||||
<label for="programPath">Program Path:</label>
|
||||
<input type="text" id="programPath" name="programPath" required value="C:\FaceTest\bin\Release\FacesTest.exe"/>
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit">Start Program</button>
|
||||
</div>
|
||||
</form>
|
||||
@if (ViewBag.Message != null)
|
||||
{
|
||||
<p>@ViewBag.Message</p>
|
||||
}
|
||||
</section>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user