Skip to content

Commit

Permalink
Update Content.cshtml
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Sep 25, 2023
1 parent 679227f commit 54ad8a9
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions src/Moonglade.Web/Pages/Settings/Content.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<partial name="_SettingsHeader" />
}

<div>
<form id="form-settings" asp-controller="Settings" asp-action="Content">
<form id="form-settings" asp-controller="Settings" asp-action="Content">
<div class="admin-settings-entry-container">
<div class="row">
<div class="col-md-6">
<div>
Expand Down Expand Up @@ -92,7 +92,7 @@
</div>

<div class="comment-settings-built-in">

<div class="settings-entry2 row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="col-auto">
<i class="bi-sort-numeric-down settings-entry-icon"></i>
Expand Down Expand Up @@ -276,7 +276,7 @@
</div>
</div>
</div>

<div class="rounded-3 shadow-sm border bg-white">
<div class="settings-entry2 row align-items-center py-3 px-2">
<div class="col-auto">
Expand All @@ -296,18 +296,18 @@
<div class="border-top py-3 px-2">
<div class="form-floating">
<textarea asp-for="@settings.PostFooterHtmlPitch"
placeholder="@Html.DisplayNameFor(m => settings.PostFooterHtmlPitch)"
class="form-control form-control-sm h-100px"
spellcheck="false"></textarea>
placeholder="@Html.DisplayNameFor(m => settings.PostFooterHtmlPitch)"
class="form-control form-control-sm h-100px"
spellcheck="false"></textarea>
<label class="form-label" asp-for="@settings.PostFooterHtmlPitch"></label>
</div>
</div>
</div>

</div>
<div>
<h4 class="admin-subtitle fw-bold mb-2">@SharedLocalizer["Call-out"]</h4>

<div class="rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry2 row align-items-center py-3 px-2">
<div class="col-auto">
Expand All @@ -327,19 +327,18 @@
<div class="border-top py-3 px-2">
<div class="form-floating">
<textarea asp-for="@settings.CalloutSectionHtmlPitch"
placeholder="@Html.DisplayNameFor(m => settings.CalloutSectionHtmlPitch)"
class="form-control form-control-sm h-100px"
spellcheck="false"></textarea>
placeholder="@Html.DisplayNameFor(m => settings.CalloutSectionHtmlPitch)"
class="form-control form-control-sm h-100px"
spellcheck="false"></textarea>
<label class="form-label" asp-for="@settings.CalloutSectionHtmlPitch"></label>
</div>
</div>
</div>
</div>
</div>
</div>

<div class="mt-4 mb-4">
<input id="btn-save-settings" type="submit" value="@SharedLocalizer["Save"]" class="btn btn-outline-accent" />
</div>
</form>
</div>
</div>
<div class="admin-settings-action-container border-top pt-2 mt-2">
<input id="btn-save-settings" type="submit" value="@SharedLocalizer["Save"]" class="btn btn-outline-accent" />
</div>
</form>

0 comments on commit 54ad8a9

Please sign in to comment.