Skip to content

Commit

Permalink
UI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Sep 22, 2023
1 parent 779cc7f commit 4a4b97f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Moonglade.Web/Pages/Settings/Advanced.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
@SharedLocalizer["Try to shutdown and restart the website, this will terminate all current requests."]
</div>
</div>
<div class="col-md-5 text-end">
<div class="col-md-3 text-end">
<a href="javascript:;" class="btn btn-sm btn-outline-accent" data-bs-toggle="modal" data-bs-target="#restartModal">
@SharedLocalizer["Restart"]
</a>
Expand All @@ -304,7 +304,7 @@
@SharedLocalizer["Erase all data and configuration."]
</div>
</div>
<div class="col-md-5 text-end">
<div class="col-md-3 text-end">
<a href="javascript:;" class="btn btn-sm btn-danger" data-bs-toggle="modal" data-bs-target="#resetModal">
@SharedLocalizer["Reset"]
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/Moonglade.Web/Pages/Settings/Image.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</div>
</div>
<div class="col-5 text-end">
<div class="form-check form-switch">
<div class="form-check form-switch form-control-lg">
<input type="hidden" name="KeepOriginImage" value="false">
<input type="checkbox" name="KeepOriginImage" value="true" class="form-check-input" @(settings.KeepOriginImage ? "checked" : null)>
</div>
Expand Down

0 comments on commit 4a4b97f

Please sign in to comment.