Domain registry project http://reg.i2p/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
5.0 KiB

<!DOCTYPE html>
<html>
<head>
{% block head %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %} - Registry</title>
<link rel="preload" href="/css/style.css" as="style">
<link rel="preload" href="/img/logo.svg" as="image">
<style>
@media screen and (max-width: 920px) {
.main-menu {transform: translateX(-100%);}
}
</style>
<link rel="stylesheet" href="/css/style.css"/>
{% endblock %}
</head>
<body>
<!-- <div id="loadOverlay" style="background-color:#333; position:absolute; top:0px; left:0px; width:100%; height:100%; z-index:2000;"></div> -->
<header class="header">
<div class="header__top">
<div class="logo header__logo">
<a href="/" class="logo__link">
<img class="svg" src="/img/logo.svg" />
</a>
</div>
<form action="/search" method="post" class="search header__search">
<input type="text" name="q" class="text-input search__text-input" maxlength="67" placeholder="Search address">
<button type="submit" class="search__btn">
<svg enable-background="new 0 0 32 32" id="search_svg" version="1.1" viewBox="0 0 32 32" width="20px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="search_1_">
<path d="M20,0.005c-6.627,0-12,5.373-12,12c0,2.026,0.507,3.933,1.395,5.608l-8.344,8.342l0.007,0.006 C0.406,26.602,0,27.49,0,28.477c0,1.949,1.58,3.529,3.529,3.529c0.985,0,1.874-0.406,2.515-1.059l-0.002-0.002l8.341-8.34 c1.676,0.891,3.586,1.4,5.617,1.4c6.627,0,12-5.373,12-12C32,5.378,26.627,0.005,20,0.005z M4.795,29.697 c-0.322,0.334-0.768,0.543-1.266,0.543c-0.975,0-1.765-0.789-1.765-1.764c0-0.498,0.21-0.943,0.543-1.266l-0.009-0.008l8.066-8.066 c0.705,0.951,1.545,1.791,2.494,2.498L4.795,29.697z M20,22.006c-5.522,0-10-4.479-10-10c0-5.522,4.478-10,10-10 c5.521,0,10,4.478,10,10C30,17.527,25.521,22.006,20,22.006z"/>
<path d="M20,5.005c-3.867,0-7,3.134-7,7c0,0.276,0.224,0.5,0.5,0.5s0.5-0.224,0.5-0.5c0-3.313,2.686-6,6-6 c0.275,0,0.5-0.224,0.5-0.5S20.275,5.005,20,5.005z" />
</g>
</svg>
</button>
</form>
</div>
<div class="header__bottom">
<div class="hamburger">
<label for="header-bottom__main-menu-switch" class="hamburger__label">
<div class="hamburger__stripes">
</div>
</label>
</div>
<input type="checkbox" class="header-bottom__main-menu-switch" id="header-bottom__main-menu-switch">
<nav class="main-menu">
<ul class="main-menu__list">
<li class="main-menu__item">
<a href="/" class="main-menu__link">
home
</a>
</li>
<li class="main-menu__item">
<a href="/add" class="main-menu__link">
add
</a>
</li>
<li class="main-menu__item">
<a href="/jump" class="main-menu__link">
jump
</a>
</li>
<li class="main-menu__item">
<a href="/latest" class="main-menu__link">
latest
</a>
</li>
<li class="main-menu__item">
<a href="/alive" class="main-menu__link">
alive
</a>
</li>
<li class="main-menu__item">
<a href="/all" class="main-menu__link">
all
</a>
</li>
</ul>
</nav>
<div class="logo header__mobile-logo">
<a href="/" class="logo__link">
<img src="/img/logo.svg" />
</a>
</div>
<form action="/search" method="post" class="search header__mobile-search">
<input type="text" name="q" class="text-input search__text-input" maxlength="67" placeholder="Search address">
<button type="submit" class="search__btn">
<svg enable-background="new 0 0 32 32" id="search_svg" version="1.1" viewBox="0 0 32 32" width="32px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="search_1_">
<path d="M20,0.005c-6.627,0-12,5.373-12,12c0,2.026,0.507,3.933,1.395,5.608l-8.344,8.342l0.007,0.006 C0.406,26.602,0,27.49,0,28.477c0,1.949,1.58,3.529,3.529,3.529c0.985,0,1.874-0.406,2.515-1.059l-0.002-0.002l8.341-8.34 c1.676,0.891,3.586,1.4,5.617,1.4c6.627,0,12-5.373,12-12C32,5.378,26.627,0.005,20,0.005z M4.795,29.697 c-0.322,0.334-0.768,0.543-1.266,0.543c-0.975,0-1.765-0.789-1.765-1.764c0-0.498,0.21-0.943,0.543-1.266l-0.009-0.008l8.066-8.066 c0.705,0.951,1.545,1.791,2.494,2.498L4.795,29.697z M20,22.006c-5.522,0-10-4.479-10-10c0-5.522,4.478-10,10-10 c5.521,0,10,4.478,10,10C30,17.527,25.521,22.006,20,22.006z"/>
<path d="M20,5.005c-3.867,0-7,3.134-7,7c0,0.276,0.224,0.5,0.5,0.5s0.5-0.224,0.5-0.5c0-3.313,2.686-6,6-6 c0.275,0,0.5-0.224,0.5-0.5S20.275,5.005,20,5.005z" />
</g>
</svg>
</button>
</form>
</div>
</header>
<main id="content">
{% block content %}{% endblock %}
</main>
<footer style="color: #666666" class="footer" id="footer">
Powered using i2pd by PurpleI2P team, {{ "now"|date("Y") == '2021' ? "now"|date("Y") : '2021-' ~ "now"|date("Y") }}
</footer>
</body>
</html>