Blasta/template/search.xhtml

133 lines
4.9 KiB
HTML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="color-scheme" content="dark light" />
<title>Blasta / search</title>
<link rel="shortcut icon" href="/graphic/blasta.svg"/>
<link rel='icon' type='image/svg+xml' href='/graphic/blasta.svg'/>
<link rel='stylesheet' type='text/css' media='screen' href='/stylesheet/stylesheet.css'/>
</head>
<body>
<div id="container">
<div id="header" class="row">
<h1>
<img src="/graphic/blasta.svg"/>
&nbsp;
<a href="/">Blasta</a> / search / {{path}}
</h1>
<dl id="navigation">
<dd>
<img src="/graphic/blasta.svg"/>
</dd>
{% if jabber_id %}
<dd>
<a href="/save">Add</a>
</dd>
<dd>
<a href="/jid">Public</a>
</dd>
<dd>
<a href="/private">Private</a>
</dd>
<dd>
<a href="/read">Read</a>
</dd>
{% endif %}
<dd>
<b>Search</b>
</dd>
<dd>
<a href="/popular">Popular</a>
</dd>
<dd>
<a href="/recent">Recent</a>
</dd>
<dd>
{% if jabber_id %}
<a href="/disconnect">Disconnect</a>
{% else %}
<a href="/connect">Connect</a>
{% endif %}
</dd>
</dl>
</div>
<div id="main" class="row">
<div id="content">
<h2>
<img alt="💡" src="/graphic/xmpp.svg" width="18" height="18"/>
&nbsp;
PubSub bookmarks
</h2>
<p>» {{message}}</p>
<h3>{{description}}</h3>
<form method="get" action="{{form_action}}">
<label for="{{label_for}}">{{label}}:</label>
<input type="{{input_type}}" id="{{input_id}}"
name="{{input_name}}"
placeholder="{{input_placeholder}}"
autofocus=""
required="" />
<input class="submit" type="submit" value="Search"/>
</form>
{% if path == 'all' %}
<p>
Search public bookmarks. Or seek by a
<a href="/search/url">URL</a>{% if jabber_id %}, or
<a href="/search/jid/{{jabber_id}}">lookup</a> your own
bookmarks{% endif %}.
</p>
{% elif path == 'url' %}
<p>
Search a bookmark by a URL. Or seek for public
<a href="/search/all">bookmarks</a>{% if jabber_id %},
or <a href="/search/jid/{{jabber_id}}">lookup</a> your
own bookmarks{% endif %}.
</p>
{% else %}
<p>
Search bookmarks by Jabber ID. Or seek for public
<a href="/search/all">bookmarks</a>, or lookup by a
<a href="/search/url">URL</a>.
</p>
{% endif %}
</div>
</div>
<div id="footer" class="row">
<dl>
<dd>
<img src="/graphic/blasta.svg" alt="logo"/>
<a href="/">blasta</a>
</dd>
<dd>
<a href="/help/about">about</a>
</dd>
<dd>
<a href="/help/about/xmpp">xmpp</a>
</dd>
<dd>
<a href="/help/about/xmpp/pubsub">pubsub</a>
</dd>
<dd>
<a href="{{journal}}">journal</a>
</dd>
<dd>
<a href="/help">help</a>
</dd>
<dd>
<a href="/help/policy">policy</a>
</dd>
<dd>
<a href="/help/feeds">rss</a>
</dd>
<dd>
<a href="/contact">contact</a>
</dd>
</dl>
</div>
</div>
</body>
</html>