Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlcf88 committed Mar 23, 2023
2 parents 577ad47 + f48e753 commit 1898b11
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/EasyAbp.Abp.SettingUi.Web/Pages/Components/Default.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
@foreach (var group in Model.GroupBy(sd => sd.Group2))
{
<form method="post" id="@(group.Key)SettingGroup">
<abp-card>
<abp-card class="mb-3">
<abp-card-header>
<h4>@L[group.Key]</h4>
</abp-card-header>
<abp-card-body>
@foreach (var settingHtmlInfo in group)
{
<div class="mb-3">
<label for="@settingHtmlInfo.Name">@settingHtmlInfo.DisplayName</label>
<label class="form-label" for="@settingHtmlInfo.Name">@settingHtmlInfo.DisplayName</label>
@await Html.PartialAsync($"~/Pages/Components/Partials/_{settingHtmlInfo.Type.ToPascalCase()}.cshtml", settingHtmlInfo)
</div>
}
<hr class="my-4">
<hr class="my-3">
<div>
<abp-button type="submit" button-type="Primary" text="@L["Save"].Value" />
<abp-button button-type="Warning" text="@L["Reset"].Value" class="reset" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

@if (!Model.Description.IsNullOrEmpty())
{
<p class="form-text">@Model.Description</p>
<p class="form-text mt-0 mb-2">@Model.Description</p>
}
<input type="number" id="@Model.Name" name="@Model.FormName" value="@Model.Value" class="form-control"/>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

@if (!Model.Description.IsNullOrEmpty())
{
<p class="form-text">@Model.Description</p>
<p class="form-text mt-0 mb-2">@Model.Description</p>
}
<select id="@Model.Name" name="@Model.FormName" class="form-select">
@foreach (var option in optionStr.Split(SettingUiConst.OptionsSeparator))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

@if (!Model.Description.IsNullOrEmpty())
{
<p class="form-text">@Model.Description</p>
<p class="form-text mt-0 mb-2">@Model.Description</p>
}
<input type="text" id="@Model.Name" name="@Model.FormName" value="@Model.Value" class="form-control"/>

0 comments on commit 1898b11

Please sign in to comment.