Adding warning to Dashboard when Internet is down.

This commit is contained in:
Roland 2024-08-15 20:03:22 -06:00
parent 0f232fd533
commit 47b4da1cfe
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
6 changed files with 28 additions and 27 deletions

View file

@ -155,16 +155,13 @@ export const OutdatedZimsMessage = ({onClick}) => {
}
export const KiwixRestartMessage = () => {
return <Message icon warning>
<SIcon name='exclamation'/>
<Message.Content>
<Message.Header>Kiwix must be restarted</Message.Header>
<p>New Zim files have been downloaded; you must restart your containers.</p>
return <WarningMessage>
<Message.Header>Kiwix must be restarted</Message.Header>
<p>New Zim files have been downloaded; you must restart your containers.</p>
<p>Run the following to restart your containers:</p>
<pre> docker-compose restart</pre>
</Message.Content>
</Message>
<p>Run the following to restart your containers:</p>
<pre> docker-compose restart</pre>
</WarningMessage>
}
const ZimSearchEntry = ({zimId, onTag, onUntag, entry}) => {