Renamed reload to reload config

This commit is contained in:
Mutzi 2024-01-27 14:39:34 +01:00
parent 5a3f5453f9
commit 94afceb6d0
Signed by: root
GPG Key ID: 2437494E09F13876

View File

@ -48,7 +48,7 @@ pub fn send_index(stream: TcpStream) -> Option<()> {
[data-status='stopping']::after { content: 'Stopping'; background-color: #fc8; }
[data-status='failed']::after { content: 'Failed'; background-color: #faa; }
</style></head><body class=\"center-child\">").ok()?;
stream.write_all(b"<div class=\"space-child\"><a href=\".\">Refresh</a><a href=\"/tail#minitd\">Tail log</a><a href=\"/reload\">Reload</a><a href=\"/stop_all\">Stop all</a><a href=\"/shutdown\">Shutdown</a></div>").ok()?;
stream.write_all(b"<div class=\"space-child\"><a href=\".\">Refresh</a><a href=\"/tail#minitd\">Tail log</a><a href=\"/reload\">Reload config</a><a href=\"/stop_all\">Stop all</a><a href=\"/shutdown\">Shutdown</a></div>").ok()?;
stream.write_all(b"<table cellspacing=\"0\"><thead><th>State</th><th>Name</th><th>Description</th><th colspan=\"3\">Action</th></thead><tbody>").ok()?;
for (_, service) in &crate::Data::get().services {
index_write_service(&mut stream, service)?;