Blasta/template/tag.xhtml
Schimon Jehudah, Adv. a53c3a3436 CSS : Modify stylesheet due to modifying XHTML;
Python : Improve editing of tags;
Python : Fix error upon no results on Atom;
SQLite : Add triggers to count instances of entries;
SQLite : Add triggers to delete entries
SQLite : Add triggers to delete tags;
XSLT   : Remove control characters in favour of nbsp entity;
XSLT   : Improve links and design;
XHTML  : Add a new document about folksonomy;
XHTML  : Add a new template for URL;
XHTML  : Add indicators.
2024-08-28 15:03:19 +03:00

117 lines
4.2 KiB
HTML

<?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 / tag</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"/>
<a href="/">Blasta</a> / tag
</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>
<a href="/search{% if jid %}/jid/{{jid}}{% endif %}">Search</a>
</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>&nbsp; PubSub Bookmarks</h2>
<p>» {{message}}</p>
<h3>{{description}}</h3>
<p id="tags-sized">
{% for tag, instance in tag_list %}
{% if instance > 5000 %}
<span class="tag-degree-fifth">
{% elif instance > 500 %}
<span class="tag-degree-fourth">
{% elif instance > 50 %}
<span class="tag-degree-third">
{% elif instance > 5 %}
<span class="tag-degree-second">
{% else %}
<span class="tag-degree-first">
{% endif %}
<a href="/{% if jid %}jid/{{jid}}{% endif %}?tags={{tag}}">
{{tag}}
</a>
</span>
&#8203;&#8202;
{% endfor %}
</p>
</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>