Skip to content

Commit

Permalink
Update SocialLinks.cshtml
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Nov 2, 2024
1 parent ccb591f commit 9fcc656
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/Moonglade.Web/Pages/Settings/SocialLinks.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@

<form id="form-settings" asp-controller="Settings" asp-action="SocialLink">
<div class="admin-settings-entry-container">

<div class="alert alert-warning">
<i class="bi-exclamation-triangle"></i> This GUI editor is under development, it could blow up sky high, please be patient.
</div>
Expand All @@ -124,21 +124,19 @@
<div class="col-md-5 text-end">
<div class="form-check form-switch form-control-lg">
<input type="hidden" name="IsEnabled" value="false">
<input type="checkbox" name="IsEnabled" value="true" class="form-check-input" @(@settings.IsEnabled
? "checked"
: null)/>
<input type="checkbox" name="IsEnabled" value="true" class="form-check-input" @(@settings.IsEnabled ? "checked" : null) />
</div>
</div>
</div>

<table id="linksTable" class="table table-bordered p-3 rounded-3 shadow-sm">
<thead>
<tr>
<th>Name</th>
<th>Icon</th>
<th class="th-url">URL</th>
<th class="th-actions">Actions</th>
</tr>
<tr>
<th>Name</th>
<th>Icon</th>
<th class="th-url">URL</th>
<th class="th-actions">Actions</th>
</tr>
</thead>
<tbody>
</tbody>
Expand Down

0 comments on commit 9fcc656

Please sign in to comment.