25 lines
452 B
HTML
25 lines
452 B
HTML
@use crate::templates::layout_html;
|
|
|
|
@(ip: String)
|
|
|
|
@:layout_html("Router", {
|
|
<section>
|
|
<h1>Home</h1>
|
|
</section>
|
|
<section>
|
|
<h4>Info</h4>
|
|
<div class="content">
|
|
<p>IP: @ip</p>
|
|
</div>
|
|
</section>
|
|
<section>
|
|
<h4>Admin</h4>
|
|
<nav class="content">
|
|
<ul>
|
|
<li><a href="/rules">Add traffic rules</a></li>
|
|
</ul>
|
|
</nav>
|
|
</section>
|
|
})
|
|
|