Align user right.

This commit is contained in:
Flancian 2021-01-09 18:26:13 +01:00
parent 98381a8366
commit 89b41f95f5
3 changed files with 9 additions and 6 deletions

View File

@ -89,11 +89,11 @@ nav { font-family: sans-serif}
}
.subnode-id {
text-align: left;
float: left;
}
.subnode-links {
text-align: left;
float: right;
}
.links {

View File

@ -31,12 +31,13 @@ Try listing all <a href="/nodes">nodes</a> or perhaps <a href="/search">search</
<div class="node">
<span class="node-header"><strong>Node</strong> <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a></span>
{% for subnode in node.subnodes %}
<div class="subnode">
<div class="subnode-header">
<span class="subnode-id"><strong>Subnode</strong> <a href="/@{{subnode.user}}/{{node.uri}}">[[{{node.uri}}@{{subnode.user}}]]</a></span> <span class="subnode-links">by <a href="/@{{subnode.user}}">@{{subnode.user}}</a></span>
<span class="subnode-id"><strong>Subnode</strong> <a href="/@{{subnode.user}}/{{node.uri}}">[[{{node.uri}}@{{subnode.user}}]]</a></span>
<span class="subnode-links">by <a href="/@{{subnode.user}}">@{{subnode.user}}</a></span>
</div>
<br />
{{ subnode.render()|linkify|safe }}
</div>
{% endfor %}
@ -50,7 +51,8 @@ Try listing all <a href="/nodes">nodes</a> or perhaps <a href="/search">search</
{% for subnode in node.subnodes %}
<div class="subnode">
<div class="subnode-header">
<span class="subnode-id"><strong>Subnode</strong> <a href="/@{{subnode.user}}/{{node.uri}}">[[{{node.uri}}@{{subnode.user}}]]</a></span> <span class="subnode-links">by <a href="/@{{subnode.user}}">@{{subnode.user}}</a></span>
<span class="subnode-id"><strong>Subnode</strong> <a href="/@{{subnode.user}}/{{node.uri}}">[[{{node.uri}}@{{subnode.user}}]]</a></span>
<span class="subnode-links">by <a href="/@{{subnode.user}}">@{{subnode.user}}</a></span>
</div>
{{ subnode.render()|linkify|safe }}
</div>

View File

@ -31,7 +31,8 @@ Try going up to node <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a> or perhap
<div class="subnode">
<div class="subnode-header">
<span><strong>Subnode</strong> <a href="/@{{subnode.user}}/{{node.uri}}">[[{{node.uri}}@{{subnode.user}}]]</a></span> in <a href="/node/{{subnode.wikilink}}">[[{{subnode.wikilink}}]]</a></span>
<span class="subnode-links">by <a href="/@{{subnode.user}}">@{{subnode.user}}</a>
<span class="subnode-links">by <a href="/@{{subnode.user}}">@{{subnode.user}}</a></span>
<br />
</div>
{{ subnode.render()|linkify|safe }}
</div>