Add distinctive icons to different sections

This commit is contained in:
2021-03-13 13:31:42 +01:00
parent 30b1739532
commit 55fd9da512
6 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ input[type="text"] {
display: block; display: block;
vertical-align: middle; vertical-align: middle;
overflow-y: auto; overflow-y: auto;
margin-bottom: 10px; margin: 10px;
width: auto; width: auto;
} }
+10 -5
View File
@@ -79,15 +79,20 @@
</div> </div>
<div class="topline-search"> <div class="topline-search">
<strong>↳ search on:</strong> <strong>↳ search on:</strong>
<a href="https://www.google.com/search?q={{q}}">g</a> <a href="https://www.google.com/search?q={{q}}">g</a>
| <a href="https://www.duckduckgo.com/{{q}}">ddg</a> | <a href="https://www.duckduckgo.com/{{q}}">ddg</a>
| <a href="https://en.wikipedia.org/wiki/Special:Search/{{q}}">wp</a> | <a href="https://en.wikipedia.org/wiki/Special:Search/{{q}}">wp</a>
| <a href="https://twitter.com/search/?f=live&q={{q}}">tw</a> | <a href="https://twitter.com/search/?f=live&q={{q}}">tw</a>
| <a href="https://github.com/search?q={{q}}">gh</a> | <a href="https://github.com/search?q={{q}}">gh</a>
| <a href="http://encyclopedia.uia.org/en/problems?combine={{q}}">uia</a> | <a href="http://encyclopedia.uia.org/en/problems?combine={{q}}">uia</a>
| <a href="https://www.pubpub.org/search?q={{q}}">pp</a> | <a href="https://www.pubpub.org/search?q={{q}}">pp</a>
</div> </div>
<div class="topline-search">
<strong>↳ in this agora ⬎</strong>
</div>
</nav> </nav>
<div class="content"> <div class="content">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="context"> <div class="context">
<span class="context-header">Context for [[{{node}}]] ↓</span><br /> <span class="context-header">⥱ context</span><br />
{% include "links.html" %} {% include "links.html" %}
+2 -2
View File
@@ -15,7 +15,7 @@
--> -->
<div class="links"> <div class="links">
<span class="links-header">Links</span> <span class="links-header">links</span>
<div class="links-flex"> <div class="links-flex">
<div class="backlinks"> <div class="backlinks">
<span class="backlinks-header">← back</span><br /> <span class="backlinks-header">← back</span><br />
@@ -79,7 +79,7 @@
{% if annotations_enabled %} {% if annotations_enabled %}
<div class="annotations"> <div class="annotations">
<div class="hypothesis"> <div class="hypothesis">
<span class="backlinks-header">Web annotations</span><br /> <span class="backlinks-header">web annotations</span><br />
{% if annotations.entries %} {% if annotations.entries %}
{% for annotation in annotations.entries %} {% for annotation in annotations.entries %}
<a href="{{annotation.link}}">Annotation</a> by <a href="https://hypothes.is">hypothes.is</a> user <a href="https://hypothes.is/users/{{annotation.author}}">{{annotation.author}}</a> <a href="{{annotation.link}}">Annotation</a> by <a href="https://hypothes.is">hypothes.is</a> user <a href="https://hypothes.is/users/{{annotation.author}}">{{annotation.author}}</a>
+4 -4
View File
@@ -16,11 +16,11 @@
{% if not node.subnodes and not node.pushed_subnodes() %} {% if not node.subnodes and not node.pushed_subnodes() %}
<div class="node"> <div class="node">
<span class="node-header">No Agora node found at [[{{qstr}}]]... yet :)</span> <span class="node-header">No node found at [[{{qstr}}]]... yet :)</span>
<div class="not-found"> <div class="not-found">
<ul> <ul>
<li> <li>
If you <a href="https://flancia.org/go/agora">contributed content</a> related to '{{qstr}}' to the Agora ), it would show up here :) If you <a href="https://flancia.org/go/agora">contributed content</a> related to '{{qstr}}' to the agora , it would show up here :)
<ul> <ul>
<li> <li>
For example a note named <code>{{node}}.md</code> or an image named <code>{{node}}.jpg</code>. <a href="/node/sign-up" For example a note named <code>{{node}}.md</code> or an image named <code>{{node}}.jpg</code>. <a href="/node/sign-up"
@@ -45,7 +45,7 @@
{% if node.subnodes %} {% if node.subnodes %}
<div class="node"> <div class="node">
<span class="node-header">Agora node <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a></span> <span class="node-header"> node <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a></span>
{% for subnode in node.subnodes %} {% for subnode in node.subnodes %}
<div class="subnode"> <div class="subnode">
@@ -76,7 +76,7 @@
{% for node in pull_nodes %} {% for node in pull_nodes %}
<div class="node"> <div class="node">
<span class="node-header">Pulled node <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a></span> <span class="node-header">⥵ pulled node <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a></span>
{% if node.subnodes %} {% if node.subnodes %}
{% for subnode in node.subnodes %} {% for subnode in node.subnodes %}
+1 -1
View File
@@ -15,7 +15,7 @@
--> -->
<div class="stoa"> <div class="stoa">
<span class="stoa-header">Stoa for [[{{node.uri}}]] ↓</span><br /> <span class="stoa-header">⟴ stoa</span><br />
<div class="stoa-public"> <div class="stoa-public">
<span class="subnode-header">from <a href="https://stoa.anagora.org/p/{{node.uri}}">stoa.anagora.org/p/{{node.uri}}</a></span><br /> <span class="subnode-header">from <a href="https://stoa.anagora.org/p/{{node.uri}}">stoa.anagora.org/p/{{node.uri}}</a></span><br />
<iframe name="embed_readwrite" src="https://stoa.anagora.org/p/{{node.uri}}?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false" width="100%" height="800" frameborder="0"></iframe> <iframe name="embed_readwrite" src="https://stoa.anagora.org/p/{{node.uri}}?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false" width="100%" height="800" frameborder="0"></iframe>