Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no activity message with possible explanations #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions webmanager/src/app/app.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
margin: 1vh;
margin-top: 3vh;
}
::ng-deep .noactivity-tooltip {
white-space: pre-line;
}
.alert {
color: red;
}
Expand Down
2 changes: 2 additions & 0 deletions webmanager/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<mat-card-content>
<div class="text last-received"><strong>Last received packet: </strong>
<span [ngClass]="{alert: iface.last >= 10}" *ngIf="iface.last !== null">{{ iface.last }} second{{ iface.last == 1 ? '' : 's' }} ago</span>
<span class="alert" *ngIf="iface.last == null">no activity yet.</span><button *ngIf="iface.last == null" mat-button matTooltipClass="noactivity-tooltip"
matTooltip="Possible causes:&#13; - No traffic is passed since Engarde WebUI is keeping track of it&#13;- Wireguard not working or stopped&#13;- Issues with your network configuration&#13;- Engarde not configured correctly&#13;(remember: Wireguard should point to the 'listenAddr' host set in engarde.yml, on the client)">?</button>
</div>
<span class="other-infos">
<div class="text"><strong>Sender address: </strong>{{iface.senderAddress}}</div>
Expand Down