2022-05-24 18:03:31 +09:30
|
|
|
|
|
|
|
<!doctype html>
|
|
|
|
<html class="no-js" lang="en" dir="ltr">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>linkwallet</title>
|
|
|
|
<link rel="stylesheet" href="/assets/css/foundation.css">
|
|
|
|
<link rel="stylesheet" href="/assets/css/app.css">
|
|
|
|
<script src="/assets/js/htmx.min.js" defer></script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="top-bar">
|
|
|
|
<div class="top-bar-left">
|
|
|
|
<ul class="dropdown menu" data-dropdown-menu>
|
|
|
|
<li class="menu-text">linkwallet</li>
|
|
|
|
<li><a href="/">Home</a></li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Admin</a>
|
|
|
|
<ul class="menu vertical">
|
|
|
|
<li><a href="/manage">Manage links</a></li>
|
2022-05-25 17:18:32 +09:30
|
|
|
<li><a href="/export">Export all URLs</a></li>
|
2022-05-24 18:03:31 +09:30
|
|
|
</ul>
|
|
|
|
</li>
|
2022-05-26 06:41:17 +09:30
|
|
|
<li><a href="javascript:void(window.open('http://localhost:8080/bookmarklet?url=' +encodeURIComponent(window.location), 'windowName', 'width=640,height=480'))">Bookmarklet</a></li>
|
|
|
|
|
2022-05-24 18:03:31 +09:30
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="top-bar-right">
|
|
|
|
<ul class="menu">
|
|
|
|
<li><a href="https://github.com">gh</a></li>
|
|
|
|
<!-- <li><input type="search" placeholder="Search"></li>
|
|
|
|
<li><button type="button" class="button">Search</button></li> -->
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="grid-container">
|
|
|
|
{{ if eq .page "root" }}
|
|
|
|
{{ template "search.html" . }}
|
2022-05-26 06:41:17 +09:30
|
|
|
{{ else if eq .page "bookmarklet_click" }}
|
|
|
|
{{ template "bookmarklet.html" . }}
|
2022-05-24 18:03:31 +09:30
|
|
|
{{ else if eq .page "manage" }}
|
|
|
|
{{ template "manage.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
{{/* template "foundation_sample.html" . */}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script src="/assets/js/vendor/jquery.js"></script>
|
|
|
|
<script src="/assets/js/vendor/what-input.js"></script>
|
|
|
|
<script src="/assets/js/vendor/foundation.js"></script>
|
|
|
|
<script src="/assets/js/app.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|