SaveCodeFile.cshtml
2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
@using Hh.Mes.POJO.ViewModel
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
ViewData["Title"] = "代码文件保存路径预览";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@model CodeSavePath
<div class="layui-container">
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 5px;margin-bottom: 5px;">
<legend>文件保存路径预览</legend>
</fieldset>
<blockquote class="layui-elem-quote">修改文件保存路径可能会导致异常发生,非必要情况下请勿修改。</blockquote>
<form class="layui-form layui-form-pane" asp-action="SaveCodeFile" method="post">
<div class="layui-form-item">
<label asp-for="EntityName" class="layui-form-label"></label>
<div class="layui-input-block">
<input asp-for="EntityName" class="layui-input" readonly />
</div>
</div>
<div class="layui-form-item">
<label asp-for="AreaName" class="layui-form-label"></label>
<div class="layui-input-block">
<input asp-for="AreaName" class="layui-input" readonly />
</div>
</div>
<div class="layui-form-item">
<label asp-for="ModelPath" class="layui-form-label"></label>
<div class="layui-input-block">
<input asp-for="ModelPath" placeholder="请输入文件的保存路径" class="layui-input" />
</div>
</div>
<div class="layui-form-item">
<label asp-for="ControllerPath" class="layui-form-label"></label>
<div class="layui-input-block">
<input asp-for="ControllerPath" placeholder="请输入文件的保存路径" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label asp-for="ServicePath" class="layui-form-label"></label>
<div class="layui-input-block">
<input asp-for="ServicePath" placeholder="请输入文件的保存路径" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label asp-for="CshtmlPath" class="layui-form-label"></label>
<div class="layui-input-block">
<input asp-for="CshtmlPath" autocomplete="off" placeholder="请输入文件的保存路径" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label asp-for="JavaScriptPath" class="layui-form-label"></label>
<div class="layui-input-block">
<input asp-for="JavaScriptPath" autocomplete="off" placeholder="请输入文件的保存路径" class="layui-input">
</div>
</div>
<div asp-validation-summary="All" style="color:#FF5722;"></div>
<div class="layui-form-item">
<button class="layui-btn layui-btn-normal" type="submit">确认保存</button>
</div>
</form>
</div>