mirror of
https://github.com/soypat/lneto.git
synced 2026-08-03 14:37:50 +00:00
HTTP server example and DHCP Server rewrite (#38)
* improvements to dhcpv4 server * begin adding examples/httpserver * add better VLAN tagging methods * pcap: add error printing; fix bug in CRC * ipv4: ToS and Flags construction and flag manipulation improvements * add dhcp interception to httptap and improve httpserver example
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Arbitrary Waveform Generator Control</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
max-width: 800px;
|
||||
margin: 50px auto;
|
||||
padding: 20px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
h1 {
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
.chip-control {
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
margin: 20px 0;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
}
|
||||
.chip-name {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #2c3e50;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.form-group {
|
||||
margin: 10px 0;
|
||||
}
|
||||
label {
|
||||
display: inline-block;
|
||||
width: 120px;
|
||||
font-weight: bold;
|
||||
color: #555;
|
||||
}
|
||||
input[type="number"] {
|
||||
width: 200px;
|
||||
padding: 8px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
}
|
||||
button {
|
||||
background-color: #3498db;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
button:hover {
|
||||
background-color: #2980b9;
|
||||
}
|
||||
.current-value {
|
||||
color: #888;
|
||||
font-size: 12px;
|
||||
margin-left: 130px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>AD9850 DDS Control</h1>
|
||||
<div>
|
||||
<!-- Begin Poetry -->
|
||||
<p>
|
||||
Whose woods these are I think I know.<br>
|
||||
His house is in the village though;<br>
|
||||
He will not see me stopping here<br>
|
||||
To watch his woods fill up with snow.<br>
|
||||
<br>
|
||||
My little horse must think it queer<br>
|
||||
To stop without a farmhouse near<br>
|
||||
Between the woods and frozen lake<br>
|
||||
The darkest evening of the year.<br>
|
||||
<br>
|
||||
He gives his harness bells a shake<br>
|
||||
To ask if there is some mistake.<br>
|
||||
The only other sound’s the sweep<br>
|
||||
Of easy wind and downy flake.<br>
|
||||
<br>
|
||||
The woods are lovely, dark and deep,<br>
|
||||
But I have promises to keep,<br>
|
||||
And miles to go before I sleep,<br>
|
||||
</div
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user