Skip to content

Commit

Permalink
feat(ui): add href to logs in fatal error container (#1984)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Jan 7, 2024
1 parent de7b81e commit d05a671
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src_assets/common/assets/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ <h1 class="my-4">Hello, Sunshine!</h1>
<ul>
<li v-for="v in fancyLogs.filter(x => x.level === 'Fatal')">{{v.value}}</li>
</ul>
<a class="btn btn-danger" href="/troubleshooting/#logs">View Logs</a>
</div>
<!-- Version -->
<div class="card p-2 my-4">
Expand Down
8 changes: 4 additions & 4 deletions src_assets/common/assets/web/troubleshooting.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h1 class="my-4">Troubleshooting</h1>
<!-- Force Close App -->
<div class="card p-2 my-4">
<div class="card-body">
<h2>Force Close</h2>
<h2 id="close_apps">Force Close</h2>
<br>
<p>
If Moonlight complains about an app currently running, force closing the
Expand All @@ -65,7 +65,7 @@ <h2>Force Close</h2>
<!-- Restart Sunshine -->
<div class="card p-2 my-4">
<div class="card-body">
<h2>Restart Sunshine</h2>
<h2 id="restart">Restart Sunshine</h2>
<br>
<p>
If Sunshine isn't working properly, you can try restarting it.
Expand All @@ -84,7 +84,7 @@ <h2>Restart Sunshine</h2>
<!-- Unpair all Clients -->
<div class="card p-2 my-4">
<div class="card-body">
<h2>Unpair All Clients</h2>
<h2 id="unpair">Unpair All Clients</h2>
<br>
<p>Remove all your paired devices</p>
<div class="alert alert-success" v-if="unpairAllStatus === true">
Expand All @@ -103,7 +103,7 @@ <h2>Unpair All Clients</h2>
<!-- Logs -->
<div class="card p-2 my-4">
<div class="card-body">
<h2>Logs</h2>
<h2 id="logs">Logs</h2>
<br>
<div class="d-flex justify-content-between align-items-baseline py-2">
<p>See the logs uploaded by Sunshine</p>
Expand Down

0 comments on commit d05a671

Please sign in to comment.