65 lines
1.3 KiB
HTML
65 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="classless.css">
|
|
<script src="l3config.js" defer=""></script>
|
|
<title>l3config</title>
|
|
<style>
|
|
:root, html[data-theme='light'] {
|
|
--width: 80rem;
|
|
--danger: #cc0a00;
|
|
}
|
|
:invalid:not(form) {
|
|
border-color: var(--danger);
|
|
}
|
|
fieldset > div {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
column-gap: 1ch;
|
|
align-content: stretch;
|
|
align-items: baseline;
|
|
justify-content: flex-end;
|
|
}
|
|
fieldset > div > :first-child {
|
|
flex: 0 0 auto;
|
|
}
|
|
fieldset select, input:not([type=checkbox]):not([type=radio]) {
|
|
text-align: right;
|
|
display: initial;
|
|
flex: 1;
|
|
width: initial;
|
|
min-width: 50%;
|
|
margin: 0.5rem 0;
|
|
}
|
|
button.del {
|
|
border-color: var(--danger);
|
|
color: var(--danger);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1>l3config</h1>
|
|
</header>
|
|
<main class="row">
|
|
<div class="col">
|
|
<h2>Input</h2>
|
|
<div id="l3configinput"></div>
|
|
</div>
|
|
<div class="col">
|
|
<h2>Output</h2>
|
|
<p>Copy the output to <code>/etc/config/gateway</code>.</p>
|
|
<div id="l3configoutput"></div>
|
|
</div>
|
|
</main>
|
|
<footer>
|
|
<hr>
|
|
<p>
|
|
<a href="https://git.freifunk-franken.de/jkimmel/l3config.js">l3config.js</a>
|
|
</p>
|
|
</footer>
|
|
</body>
|
|
</html>
|