openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 306b4c2805cf00c07144a0c9e244f4d46726648c
parent 9dc0d953cefd5d3f5899bfaf475eccbd0db81537
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Tue,  8 Sep 2020 16:18:52 +0300

icon, links.tpl

Diffstat:
Aii-node/lib/icon.png | 0
Mii-node/lib/style.css | 4++++
Mii-node/tpl/header.tpl | 6+++---
Aii-node/tpl/links.tpl | 2++
4 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ii-node/lib/icon.png b/ii-node/lib/icon.png Binary files differ. diff --git a/ii-node/lib/style.css b/ii-node/lib/style.css @@ -220,6 +220,10 @@ body { font-weight: bold; } +#header .title .info a { + color: #333377; +} + #header .links { padding: 0 1em 0.5em 0; text-align: right; diff --git a/ii-node/tpl/header.tpl b/ii-node/tpl/header.tpl @@ -17,16 +17,16 @@ {{ if eq .BasePath "" }} <span class="info">II/IDEC networks :: <a href="/echo/all">New posts</a> {{ else if gt (len .Topics) 0}} - <span class="info">II/IDEC networks {{ with .Echo }} :: <a href="/echo/{{.}}">{{.}}</a> <span class="info">{{index $.Echolist.Info .}}</span>{{end}} + <span class="info">II/IDEC networks {{ with .Echo }} :: <a href="/echo/{{.}}">{{.}}</a> :: <span class="info">{{index $.Echolist.Info .}}</span>{{end}} {{ else }} - <span class="info">II/IDEC networks {{ with .Echo }} :: <a href="/{{.}}">{{.}}</a> <span class="info">{{index $.Echolist.Info .}}</span>{{end}} + <span class="info">II/IDEC networks {{ with .Echo }} :: <a href="/{{.}}">{{.}}</a> :: <span class="info">{{index $.Echolist.Info .}}</span>{{end}} {{ end }} </span> </td> <td class="links"> <span> + {{ template "links.tpl" }} {{ if .User.Name }} - {{ if eq .BasePath "profile" }} <a href="/logout">Logout</a> {{ else }} diff --git a/ii-node/tpl/links.tpl b/ii-node/tpl/links.tpl @@ -0,0 +1 @@ +<!-- links can be here --> +\ No newline at end of file