<!DOCTYPE html>
<HTML>
<HEAD>
	<TITLE>SMArT</TITLE>
	<META CHARSET="utf-8">
	<META NAME="viewport" CONTENT="width=device-width, initial-scale=1">
	<LINK REL="icon" HREF="/static/favicon.ico" TYPE="image/x-icon">
	<LINK REL="icon" TYPE="image/png" SIZES="32x32" HREF="/static/favicon-32x32.png">
	<LINK REL="icon" TYPE="image/png" SIZES="16x16" HREF="/static/favicon-16x16.png">
	<LINK REL="apple-touch-icon" HREF="/static/apple-touch-icon.png">
	<STYLE TYPE="text/css">
		BODY {
			margin: 0;
			padding: 22px;
			background: #f6f1ea;
			color: #342a25;
			font-family: Arial, Helvetica, sans-serif;
		}
		A { color: #9f1f1f; text-decoration: none; }
		A:hover { text-decoration: underline; }
		.wrapper {
			max-width: 900px;
			margin: 0 auto;
			background: #fffdfa;
			border: 1px solid #e5d6c6;
			border-radius: 16px;
			overflow: hidden;
			box-shadow: 0 10px 30px rgba(60, 30, 10, 0.10);
		}
		.hero {
			padding: 22px 24px;
			background: linear-gradient(135deg, #7d1018, #b82929 60%, #d7b169);
			color: #ffffff;
		}
		.hero TABLE { width: 100%; border-collapse: collapse; }
		.hero-title {
			font-size: 30px;
			font-weight: bold;
		}
		.hero-sub {
			margin-top: 6px;
			color: #f8e6c8;
			font-size: 14px;
		}
		.hero IMG { max-height: 56px; }
		.body {
			padding: 22px;
		}
		.notice {
			padding: 14px 16px;
			margin-bottom: 14px;
			border: 1px solid #ecdcc8;
			border-radius: 12px;
			background: #fbf6ef;
		}
		.actions TABLE { width: 100%; border-collapse: separate; border-spacing: 12px; }
		.action {
			display: block;
			padding: 16px 18px;
			border-radius: 12px;
			text-align: center;
			font-size: 18px;
			font-weight: bold;
			color: #ffffff;
			text-decoration: none;
			background: #9f1f1f;
		}
		.action.secondary {
			background: #6f5b4f;
		}
		.footer {
			padding-top: 8px;
			font-size: 13px;
			color: #6c5b52;
		}
	</STYLE>
</HEAD>
<BODY>
	<DIV CLASS="wrapper">
		<DIV CLASS="hero">
			<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
				<TR>
					<TD>
						<DIV CLASS="hero-title">SMArT v@MARS_NWE_VERSION@</DIV>
						<DIV CLASS="hero-sub">Perl interface for configuring MARS_NWE</DIV>
					</TD>
					<TD ALIGN="RIGHT">
						<IMG SRC="/static/smart_icon.jpg" ALT="SMArT">
					</TD>
				</TR>
			</TABLE>
		</DIV>
		<DIV CLASS="body">
			<DIV CLASS="notice">
				Welcome to SMArT, the easy way to configure <B>MARS_NWE</B>.
			</DIV>
			<DIV CLASS="notice">
				To apply changes to the configuration, restart <TT>MARS_NWE</TT> after saving your settings.
			</DIV>
			<DIV CLASS="actions">
				<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
					<TR>
						<TD WIDTH="50%"><A CLASS="action" HREF="/service/control?start">Start <TT>MARS_NWE</TT></A></TD>
						<TD WIDTH="50%"><A CLASS="action secondary" HREF="/service/control?stop">Stop <TT>MARS_NWE</TT></A></TD>
					</TR>
					<TR>
						<TD WIDTH="50%"><A CLASS="action secondary" HREF="/service/control?restart">Restart <TT>MARS_NWE</TT></A></TD>
						<TD WIDTH="50%"><A CLASS="action secondary" HREF="/service/control?status">Status <TT>MARS_NWE</TT></A></TD>
					</TR>
				</TABLE>
			</DIV>
			<DIV CLASS="footer">
				The newest version of SMArT can be downloaded from <A HREF="http://www.lintux.cx/" TARGET="_parent">the project website</A>.<BR><BR>
				&copy; Copyright 2026 <A HREF="mailto:mario.fetka@disconnected-by-peer.at">Mario Fetka</A>
			</DIV>
		</DIV>
	</DIV>
</BODY>
</HTML>
