Renamed reload to reload config
This commit is contained in:
		@@ -48,7 +48,7 @@ pub fn send_index(stream: TcpStream) -> Option<()> {
 | 
				
			|||||||
        [data-status='stopping']::after { content: 'Stopping'; background-color: #fc8; }
 | 
					        [data-status='stopping']::after { content: 'Stopping'; background-color: #fc8; }
 | 
				
			||||||
        [data-status='failed']::after { content: 'Failed'; background-color: #faa; }
 | 
					        [data-status='failed']::after { content: 'Failed'; background-color: #faa; }
 | 
				
			||||||
    </style></head><body class=\"center-child\">").ok()?;
 | 
					    </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()?;
 | 
					    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 {
 | 
					    for (_, service) in &crate::Data::get().services {
 | 
				
			||||||
        index_write_service(&mut stream, service)?;
 | 
					        index_write_service(&mut stream, service)?;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user