some work

This commit is contained in:
Stefan Schwarz 2020-08-14 00:03:56 +02:00
parent c5fcafe450
commit 78e19bdfee
4 changed files with 203 additions and 124 deletions

207
Cargo.lock generated
View file

@ -108,9 +108,9 @@ checksum = "e742194e0f43fc932bcb801708c2b279d3ec8f527e3acda05a6a9f342c5ef764"
dependencies = [ dependencies = [
"argh_shared", "argh_shared",
"heck", "heck",
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -133,9 +133,8 @@ checksum = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8"
[[package]] [[package]]
name = "askama" name = "askama"
version = "0.8.0" version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/jbr/askama?branch=update-tide-to-0.13#4a50477022156e136b118508646265e7bc1c0bbb"
checksum = "3dc2a4b6d7f812d2b13d251ae792caecebd635d6401761162d4b71d5ebe1a010"
dependencies = [ dependencies = [
"askama_derive", "askama_derive",
"askama_escape", "askama_escape",
@ -144,45 +143,55 @@ dependencies = [
[[package]] [[package]]
name = "askama_derive" name = "askama_derive"
version = "0.8.0" version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/jbr/askama?branch=update-tide-to-0.13#4a50477022156e136b118508646265e7bc1c0bbb"
checksum = "23ee2fff0f22ad5d215cace1227cd036c28e81e26206763bb837b6d0e766c87d"
dependencies = [ dependencies = [
"askama_shared", "askama_shared",
"nom", "proc-macro2",
"proc-macro2 0.4.30", "quote",
"quote 0.6.13", "syn",
"syn 0.15.44",
] ]
[[package]] [[package]]
name = "askama_escape" name = "askama_escape"
version = "0.2.0" version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/jbr/askama?branch=update-tide-to-0.13#4a50477022156e136b118508646265e7bc1c0bbb"
checksum = "b0de942230b5beedaa9e1d64df5b76fa1c97002e4c7982897be899cccf40621d"
[[package]] [[package]]
name = "askama_shared" name = "askama_shared"
version = "0.8.0" version = "0.10.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/jbr/askama?branch=update-tide-to-0.13#4a50477022156e136b118508646265e7bc1c0bbb"
checksum = "a6dfa6b6d254fd066a8bbed9a8f913123e3f701db89216ad4f0aff04ad87718c"
dependencies = [ dependencies = [
"askama_escape", "askama_escape",
"humansize", "humansize",
"nom",
"num-traits", "num-traits",
"percent-encoding",
"proc-macro2",
"quote",
"serde", "serde",
"serde_derive", "syn",
"toml", "toml",
] ]
[[package]]
name = "askama_tide"
version = "0.10.0"
source = "git+https://github.com/jbr/askama?branch=update-tide-to-0.13#4a50477022156e136b118508646265e7bc1c0bbb"
dependencies = [
"askama",
"async-std",
"tide",
]
[[package]] [[package]]
name = "async-attributes" name = "async-attributes"
version = "1.1.1" version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "efd3d156917d94862e779f356c5acae312b08fd3121e792c857d7928c8088423" checksum = "efd3d156917d94862e779f356c5acae312b08fd3121e792c857d7928c8088423"
dependencies = [ dependencies = [
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -296,9 +305,9 @@ version = "0.1.36"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a265e3abeffdce30b2e26b7a11b222fe37c6067404001b434101457d0385eb92" checksum = "a265e3abeffdce30b2e26b7a11b222fe37c6067404001b434101457d0385eb92"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -519,7 +528,7 @@ dependencies = [
"rand", "rand",
"sha2", "sha2",
"time 0.2.16", "time 0.2.16",
"version_check 0.9.2", "version_check",
] ]
[[package]] [[package]]
@ -641,7 +650,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc" checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc"
dependencies = [ dependencies = [
"backtrace", "backtrace",
"version_check 0.9.2", "version_check",
] ]
[[package]] [[package]]
@ -756,9 +765,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39" checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39"
dependencies = [ dependencies = [
"proc-macro-hack", "proc-macro-hack",
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -813,7 +822,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60fb4bb6bba52f78a471264d9a3b7d026cc0af47b22cd2cffbc0b787ca003e63" checksum = "60fb4bb6bba52f78a471264d9a3b7d026cc0af47b22cd2cffbc0b787ca003e63"
dependencies = [ dependencies = [
"typenum", "typenum",
"version_check 0.9.2", "version_check",
] ]
[[package]] [[package]]
@ -1047,6 +1056,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"argh", "argh",
"askama", "askama",
"askama_tide",
"async-std", "async-std",
"chrono", "chrono",
"sqlx", "sqlx",
@ -1106,12 +1116,12 @@ dependencies = [
[[package]] [[package]]
name = "nom" name = "nom"
version = "4.2.3" version = "5.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6" checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af"
dependencies = [ dependencies = [
"memchr", "memchr",
"version_check 0.1.5", "version_check",
] ]
[[package]] [[package]]
@ -1305,9 +1315,9 @@ version = "0.4.23"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f" checksum = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -1356,31 +1366,13 @@ version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a" checksum = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a"
[[package]]
name = "proc-macro2"
version = "0.4.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
dependencies = [
"unicode-xid 0.1.0",
]
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.19" version = "1.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04f5f085b5d71e2188cb8271e5da0161ad52c3f227a661a3c135fdf28e258b12" checksum = "04f5f085b5d71e2188cb8271e5da0161ad52c3f227a661a3c135fdf28e258b12"
dependencies = [ dependencies = [
"unicode-xid 0.2.1", "unicode-xid",
]
[[package]]
name = "quote"
version = "0.6.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
dependencies = [
"proc-macro2 0.4.30",
] ]
[[package]] [[package]]
@ -1389,7 +1381,7 @@ version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
] ]
[[package]] [[package]]
@ -1596,9 +1588,9 @@ version = "1.0.114"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a0be94b04690fbaed37cddffc5c134bf537c8e3329d53e982fe04c374978f8e" checksum = "2a0be94b04690fbaed37cddffc5c134bf537c8e3329d53e982fe04c374978f8e"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -1807,12 +1799,12 @@ dependencies = [
"either", "either",
"futures", "futures",
"heck", "heck",
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"sha2", "sha2",
"sqlx-core", "sqlx-core",
"sqlx-rt", "sqlx-rt",
"syn 1.0.38", "syn",
"url", "url",
] ]
@ -1839,7 +1831,7 @@ version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0437cfb83762844799a60e1e3b489d5ceb6a650fbacb86437badc1b6d87b246" checksum = "b0437cfb83762844799a60e1e3b489d5ceb6a650fbacb86437badc1b6d87b246"
dependencies = [ dependencies = [
"version_check 0.9.2", "version_check",
] ]
[[package]] [[package]]
@ -1862,11 +1854,11 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"serde", "serde",
"serde_derive", "serde_derive",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -1876,13 +1868,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11"
dependencies = [ dependencies = [
"base-x", "base-x",
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"serde", "serde",
"serde_derive", "serde_derive",
"serde_json", "serde_json",
"sha1", "sha1",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -1907,26 +1899,15 @@ version = "2.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "502d53007c02d7605a05df1c1a73ee436952781653da5d0bf57ad608f66932c1" checksum = "502d53007c02d7605a05df1c1a73ee436952781653da5d0bf57ad608f66932c1"
[[package]]
name = "syn"
version = "0.15.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
dependencies = [
"proc-macro2 0.4.30",
"quote 0.6.13",
"unicode-xid 0.1.0",
]
[[package]] [[package]]
name = "syn" name = "syn"
version = "1.0.38" version = "1.0.38"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e69abc24912995b3038597a7a593be5053eb0fb44f3cc5beec0deb421790c1f4" checksum = "e69abc24912995b3038597a7a593be5053eb0fb44f3cc5beec0deb421790c1f4"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"unicode-xid 0.2.1", "unicode-xid",
] ]
[[package]] [[package]]
@ -1935,10 +1916,10 @@ version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
"unicode-xid 0.2.1", "unicode-xid",
] ]
[[package]] [[package]]
@ -1970,9 +1951,9 @@ version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793" checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -2026,7 +2007,7 @@ dependencies = [
"standback", "standback",
"stdweb", "stdweb",
"time-macros", "time-macros",
"version_check 0.9.2", "version_check",
"winapi", "winapi",
] ]
@ -2047,10 +2028,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5c3be1edfad6027c69f5491cf4cb310d1a71ecd6af742788c6ff8bced86b8fa" checksum = "e5c3be1edfad6027c69f5491cf4cb310d1a71ecd6af742788c6ff8bced86b8fa"
dependencies = [ dependencies = [
"proc-macro-hack", "proc-macro-hack",
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"standback", "standback",
"syn 1.0.38", "syn",
] ]
[[package]] [[package]]
@ -2061,9 +2042,9 @@ checksum = "53953d2d3a5ad81d9f844a32f14ebb121f50b650cd59d0ee2a07cf13c617efed"
[[package]] [[package]]
name = "toml" name = "toml"
version = "0.4.10" version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f" checksum = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a"
dependencies = [ dependencies = [
"serde", "serde",
] ]
@ -2098,12 +2079,6 @@ version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0"
[[package]]
name = "unicode-xid"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
[[package]] [[package]]
name = "unicode-xid" name = "unicode-xid"
version = "0.2.1" version = "0.2.1"
@ -2138,12 +2113,6 @@ version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c" checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c"
[[package]]
name = "version_check"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd"
[[package]] [[package]]
name = "version_check" name = "version_check"
version = "0.9.2" version = "0.9.2"
@ -2183,9 +2152,9 @@ dependencies = [
"bumpalo", "bumpalo",
"lazy_static", "lazy_static",
"log", "log",
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
"wasm-bindgen-shared", "wasm-bindgen-shared",
] ]
@ -2207,7 +2176,7 @@ version = "0.2.67"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97c57cefa5fa80e2ba15641578b44d36e7a64279bc5ed43c6dbaf329457a2ed2" checksum = "97c57cefa5fa80e2ba15641578b44d36e7a64279bc5ed43c6dbaf329457a2ed2"
dependencies = [ dependencies = [
"quote 1.0.7", "quote",
"wasm-bindgen-macro-support", "wasm-bindgen-macro-support",
] ]
@ -2217,9 +2186,9 @@ version = "0.2.67"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "841a6d1c35c6f596ccea1f82504a192a60378f64b3bb0261904ad8f2f5657556" checksum = "841a6d1c35c6f596ccea1f82504a192a60378f64b3bb0261904ad8f2f5657556"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
"wasm-bindgen-backend", "wasm-bindgen-backend",
"wasm-bindgen-shared", "wasm-bindgen-shared",
] ]
@ -2292,8 +2261,8 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2" checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2"
dependencies = [ dependencies = [
"proc-macro2 1.0.19", "proc-macro2",
"quote 1.0.7", "quote",
"syn 1.0.38", "syn",
"synstructure", "synstructure",
] ]

View file

@ -4,12 +4,15 @@ version = "0.1.0"
authors = ["Stefan Schwarz <stefan@f2o.io>"] authors = ["Stefan Schwarz <stefan@f2o.io>"]
edition = "2018" edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
argh = "0.1.3" argh = "0.1.3"
askama = "0.8" askama = { version = "0.10", features = ["with-tide"]}
askama_tide = "0.10"
async-std = { version = "1.6", features = ["attributes"] } async-std = { version = "1.6", features = ["attributes"] }
chrono = "0.4" chrono = "0.4"
sqlx = { version = "0.4.0-beta.1", features = ["mysql", "chrono", "macros"] } sqlx = { version = "0.4.0-beta.1", features = ["mysql", "chrono", "macros"] }
tide = "0.13" tide = "0.13"
[patch.crates-io]
askama_tide = { git = "https://github.com/jbr/askama", branch = "update-tide-to-0.13" }
askama = { git = "https://github.com/jbr/askama", branch = "update-tide-to-0.13" }

1
index.html Symbolic link
View file

@ -0,0 +1 @@
templates/index.html

View file

@ -5,9 +5,115 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>macnickenson</title> <title>macnickenson</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="/static/style.css">
</head> </head>
<body>
<body class="bg-gray-100">
<div class="rounded-lg bg-white m-5 shadow-lg">
<h1 class="text-xl underline text-center p-2">
macnickenson
</h1>
<div class="p-2">
<h2 class="underline">Your Devices:</h2>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "00:18:e7:34:11:1c"</div>
<div>
<input class="focus:shadow-outline border border-gray-300 px-2"
value="Thinkpad T30 Wifi"/>
<select class="focus:shadow-outline border border-gray-300 px-2">
<option value="1">Public</option>
<option value="2">Private</option>
<option value="3">Internal</option>
</select>
</div>
<div>
<button class="rounded bg-gray-300 font-bold px-2 bg-green-500">Update</button>
<button class="rounded bg-gray-300 font-bold px-2 bg-red-500">Delete</button>
</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "90:78:41:bd:10:23"</div>
<div>nickname: "Neptun"</div>
<div>descr: "Neptun"</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "10:0b:a9:ad:9f:30"</div>
<div>nickname: "Wu"</div>
<div>descr: "x220"</div>
</div>
</div>
<div class="p-2">
<h2 class="underline">Unregistred Devices:</h2>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "f0:d5:bf:cc:a2:f9"</div>
<div>
<input class="focus:shadow-outline border border-gray-300 px-2"
placeholder="awesome new device"/>
</div>
<div>
<button class="rounded bg-gray-300 font-bold px-2 bg-blue-300">Register</button>
</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "6a:f4:a2:c4:e2:2e"</div>
<div>nickname: "Mondschauer93"</div>
<div>descr: "Smartphone"</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "f8:ff:c2:20:b6:0d"</div>
<div>nickname: "idefix"</div>
<div>descr: "MacBook"</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "30:57:14:db:34:d3"</div>
<div>nickname: "idefix"</div>
<div>descr: "IPhone"</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "98:01:a7:b6:48:5b"</div>
<div>nickname: "idefix"</div>
<div>descr: "UbuntuBook"</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "f4:db:e3:3f:7e:18"</div>
<div>nickname: "raphii"</div>
<div>descr: "iPhone 11"</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "70:48:0f:98:de:23"</div>
<div>nickname: "raphii"</div>
<div>descr: "iPad Pro"</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "e0:cc:f8:6a:d1:d4"</div>
<div>nickname: "stoneos"</div>
<div>descr: "xiaomi mi10"</div>
</div>
<div class="grid grid-cols-3 grid-gap-1">
<div>macaddr: "74:e5:f9:86:98:8b"</div>
<div>nickname: "ptflea"</div>
<div>descr: "computer"</div>
</div>
</div>
<div class="shadow-lg p-2">
footer
</div>
</div>
</body> </body>
</html> </html>