feat: rebranded from vpn-router to linux-manager.

This commit is contained in:
slawek committed 2026-11-22 09:51:07 +01:00
1 parent 8efe21bfa6
commit 85a1ffa21f
238 files changed
+5010 -3761

No files matched your search

+4 -4
View File
@@ -6,16 +6,16 @@ import LogView from './LogView.tsx'
import Toolbar from './Toolbar.tsx'
import { LOGS_SHAPE, LOG_LINES_SHAPE, request, type Logs } from './api.ts'
/** The numbers of lines offered, up to the router's most. */
/** The numbers of lines offered, up to the server's most. */
const LINE_CHOICES = [100, 200, 500, 1000]
/** Seconds between the reads of a followed log. */
const FOLLOW_SECONDS = 2
/**
* The router's logs, from its /logs: the Journal sub-tab shows the last lines of the journal of a unit the router names, or of
* the whole journal, and the Files sub-tab the last lines of a log file the router's web.log_files lists. The number of lines
* is chosen up to the router's most; a log is read when its unit, file or number of lines is chosen and with Refresh, and
* The server's logs, from its /logs: the Journal sub-tab shows the last lines of the journal of a unit the server names, or of
* the whole journal, and the Files sub-tab the last lines of a log file the server's web.log_files lists. The number of lines
* is chosen up to the server's most; a log is read when its unit, file or number of lines is chosen and with Refresh, and
* while Follow is on every FOLLOW_SECONDS, scrolled to its last line, as tail -f shows it.
*/
export default function LogsPanel() {