1306 |
"<tr><td>Monitoring mode</a></td><td>%s</td></tr>", |
"<tr><td>Monitoring mode</a></td><td>%s</td></tr>", |
1307 |
modenames[s->mode]); |
modenames[s->mode]); |
1308 |
out_print(res, |
out_print(res, |
1309 |
"<tr><td>Monitoring status</a></td><td>%s</td></tr>", |
"<tr><td>Monitoring status</a></td><td><font color='#ff8800'>%s" |
1310 |
|
"</font></td></tr>", |
1311 |
statusnames[s->do_monitor]); |
statusnames[s->do_monitor]); |
1312 |
if(s->start) { |
if(s->start) { |
1313 |
int i = 0; |
int i = 0; |
1530 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
1531 |
"<input type=hidden value='restart' name=action>" |
"<input type=hidden value='restart' name=action>" |
1532 |
"<input type=submit value='Restart service' style='font-size: " |
"<input type=submit value='Restart service' style='font-size: " |
1533 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
1534 |
/* (un)monitor */ |
/* (un)monitor */ |
1535 |
{ |
{ |
1536 |
char *action[]= {"monitor", "unmonitor"}; |
char *action[]= {"monitor", "unmonitor"}; |
1579 |
"<tr><td>Monitoring mode</a></td><td>%s</td></tr>", |
"<tr><td>Monitoring mode</a></td><td>%s</td></tr>", |
1580 |
modenames[s->mode]); |
modenames[s->mode]); |
1581 |
out_print(res, |
out_print(res, |
1582 |
"<tr><td>Monitoring status</a></td><td>%s</td></tr>", |
"<tr><td>Monitoring status</a></td><td><font color='#ff8800'>%s" |
1583 |
|
"</font></td></tr>", |
1584 |
statusnames[s->do_monitor]); |
statusnames[s->do_monitor]); |
1585 |
if(s->start) { |
if(s->start) { |
1586 |
int i = 0; |
int i = 0; |
1731 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
1732 |
"<input type=hidden value='start' name=action>" |
"<input type=hidden value='start' name=action>" |
1733 |
"<input type=submit value='Start service' style='font-size: " |
"<input type=submit value='Start service' style='font-size: " |
1734 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
1735 |
/* Stop program */ |
/* Stop program */ |
1736 |
if(s->stop) |
if(s->stop) |
1737 |
out_print(res, |
out_print(res, |
1738 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
1739 |
"<input type=hidden value='stop' name=action>" |
"<input type=hidden value='stop' name=action>" |
1740 |
"<input type=submit value='Stop service' style='font-size: " |
"<input type=submit value='Stop service' style='font-size: " |
1741 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
1742 |
/* Restart program */ |
/* Restart program */ |
1743 |
if(s->start && s->stop) |
if(s->start && s->stop) |
1744 |
out_print(res, |
out_print(res, |
1745 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
1746 |
"<input type=hidden value='restart' name=action>" |
"<input type=hidden value='restart' name=action>" |
1747 |
"<input type=submit value='Restart service' style='font-size: " |
"<input type=submit value='Restart service' style='font-size: " |
1748 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
1749 |
/* (un)monitor */ |
/* (un)monitor */ |
1750 |
{ |
{ |
1751 |
char *action[]= {"monitor", "unmonitor"}; |
char *action[]= {"monitor", "unmonitor"}; |
1794 |
"<tr><td>Monitoring mode</a></td><td>%s</td></tr>", |
"<tr><td>Monitoring mode</a></td><td>%s</td></tr>", |
1795 |
modenames[s->mode]); |
modenames[s->mode]); |
1796 |
out_print(res, |
out_print(res, |
1797 |
"<tr><td>Monitoring status</a></td><td>%s</td></tr>", |
"<tr><td>Monitoring status</a></td><td><font color='#ff8800'>%s" |
1798 |
|
"</font></td></tr>", |
1799 |
statusnames[s->do_monitor]); |
statusnames[s->do_monitor]); |
1800 |
if(s->start) { |
if(s->start) { |
1801 |
int i = 0; |
int i = 0; |
1968 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
1969 |
"<input type=hidden value='start' name=action>" |
"<input type=hidden value='start' name=action>" |
1970 |
"<input type=submit value='Start service' style='font-size: " |
"<input type=submit value='Start service' style='font-size: " |
1971 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
1972 |
/* Stop program */ |
/* Stop program */ |
1973 |
if(s->stop) |
if(s->stop) |
1974 |
out_print(res, |
out_print(res, |
1975 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
1976 |
"<input type=hidden value='stop' name=action>" |
"<input type=hidden value='stop' name=action>" |
1977 |
"<input type=submit value='Stop service' style='font-size: " |
"<input type=submit value='Stop service' style='font-size: " |
1978 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
1979 |
/* Restart program */ |
/* Restart program */ |
1980 |
if(s->start && s->stop) |
if(s->start && s->stop) |
1981 |
out_print(res, |
out_print(res, |
1982 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
1983 |
"<input type=hidden value='restart' name=action>" |
"<input type=hidden value='restart' name=action>" |
1984 |
"<input type=submit value='Restart service' style='font-size: " |
"<input type=submit value='Restart service' style='font-size: " |
1985 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
1986 |
/* (un)monitor */ |
/* (un)monitor */ |
1987 |
{ |
{ |
1988 |
char *action[]= {"monitor", "unmonitor"}; |
char *action[]= {"monitor", "unmonitor"}; |
2025 |
"<tr><td>Monitoring mode</a></td><td>%s</td></tr>", |
"<tr><td>Monitoring mode</a></td><td>%s</td></tr>", |
2026 |
modenames[s->mode]); |
modenames[s->mode]); |
2027 |
out_print(res, |
out_print(res, |
2028 |
"<tr><td>Monitoring status</a></td><td>%s</td></tr>", |
"<tr><td>Monitoring status</a></td><td><font color='#ff8800'>%s" |
2029 |
|
"</font></td></tr>", |
2030 |
statusnames[s->do_monitor]); |
statusnames[s->do_monitor]); |
2031 |
if(s->start) { |
if(s->start) { |
2032 |
int i = 0; |
int i = 0; |
2266 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
2267 |
"<input type=hidden value='start' name=action>" |
"<input type=hidden value='start' name=action>" |
2268 |
"<input type=submit value='Start service' style='font-size: " |
"<input type=submit value='Start service' style='font-size: " |
2269 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
2270 |
/* Stop program */ |
/* Stop program */ |
2271 |
if(s->stop) |
if(s->stop) |
2272 |
out_print(res, |
out_print(res, |
2273 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
2274 |
"<input type=hidden value='stop' name=action>" |
"<input type=hidden value='stop' name=action>" |
2275 |
"<input type=submit value='Stop service' style='font-size: " |
"<input type=submit value='Stop service' style='font-size: " |
2276 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
2277 |
/* Restart program */ |
/* Restart program */ |
2278 |
if(s->start && s->stop) |
if(s->start && s->stop) |
2279 |
out_print(res, |
out_print(res, |
2280 |
"<td><form method=GET action=/%s>" |
"<td><form method=GET action=/%s>" |
2281 |
"<input type=hidden value='restart' name=action>" |
"<input type=hidden value='restart' name=action>" |
2282 |
"<input type=submit value='Restart service' style='font-size: " |
"<input type=submit value='Restart service' style='font-size: " |
2283 |
"12pt'></font></form></td>", s->name); |
"12pt'></form></td>", s->name); |
2284 |
/* (un)monitor */ |
/* (un)monitor */ |
2285 |
{ |
{ |
2286 |
char *action[]= {"monitor", "unmonitor"}; |
char *action[]= {"monitor", "unmonitor"}; |