commit 6fdbb6e5b7f11a2eefa2126ebd5a0dc5475ffae7
parent 0e42f7521028805e6cd498311e681ad43c4ba691
Author: Peter Kosyh <p.kosyh@gmail.com>
Date: Sun, 6 Sep 2020 19:27:12 +0300
rss links
Diffstat:
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/ii-node/lib/style.css b/ii-node/lib/style.css
@@ -5,6 +5,13 @@
body {
background: #fffff9;
}
+
+.rss {
+ color: #ee802f;
+ font-weight: bold;
+ text-decoration: none;
+}
+
.code {
overflow-x: auto;
white-space: pre-wrap;
diff --git a/ii-node/tpl/query.tpl b/ii-node/tpl/query.tpl
@@ -1,5 +1,6 @@
{{template "header.tpl" $}}
{{template "pager.tpl" $}}
+<a class="rss" href="/{{.BasePath}}/rss">RSS</a>
<div id="topic">
{{ range .Msg }}
<div class="msg">
diff --git a/ii-node/tpl/topics.tpl b/ii-node/tpl/topics.tpl
@@ -1,5 +1,6 @@
{{template "header.tpl" $}}
{{template "pager.tpl" $}}
+<a class="rss" href="/echo/{{.Echo}}/rss">RSS</a>
<table id="topiclist" cellspacing=0 cellpadding=0>
<tr class="title">
<th>Topics</th>