style fixes
This commit is contained in:
@@ -3,21 +3,21 @@
|
|||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro icn_warn(width=48) -%}
|
{%- macro icn_warn(width=48) -%}
|
||||||
<img src="/static/icons/warn.svg" alt="info" style="width: {{width}}px;">
|
<img src="/static/icons/warn.svg" alt="warning" style="width: {{width}}px;">
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro icn_error(width=48) -%}
|
{%- macro icn_error(width=48) -%}
|
||||||
<img src="/static/icons/error.svg" alt="info" style="width: {{width}}px;">
|
<img src="/static/icons/error.svg" alt="error" style="width: {{width}}px;">
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro icn_bookmark(width=16) -%}
|
{%- macro icn_bookmark(width=16) -%}
|
||||||
<img src="/static/icons/bookmark.svg" alt="info" style="width: {{width}}px;">
|
<img src="/static/icons/bookmark.svg" alt="bookmark" style="width: {{width}}px;">
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro icn_locked(width=16) -%}
|
{%- macro icn_locked(width=16) -%}
|
||||||
<img src="/static/icons/locked.svg" alt="info" style="width: {{width}}px;">
|
<img src="/static/icons/locked.svg" title="Locked" alt="lock" style="width: {{width}}px;">
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro icn_stickied(width=16) -%}
|
{%- macro icn_stickied(width=16) -%}
|
||||||
<img src="/static/icons/stickied.svg" alt="info" style="width: {{width}}px;">
|
<img src="/static/icons/sticky.svg" title="Stickied" alt="paper held by pushpin" style="width: {{width}}px;">
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|||||||
@@ -51,13 +51,14 @@
|
|||||||
<div class="title-container">
|
<div class="title-container">
|
||||||
<span class="info thread-title-counter"><a href="{{url_for('threads.thread_by_id', thread_id=thread.id)}}">{{thread.title}}</a>
|
<span class="info thread-title-counter"><a href="{{url_for('threads.thread_by_id', thread_id=thread.id)}}">{{thread.title}}</a>
|
||||||
</span>
|
</span>
|
||||||
|
<ul class="horizontal">
|
||||||
{%- if thread.is_locked -%}
|
{%- if thread.is_locked -%}
|
||||||
{{icn_locked(24)}}
|
<li>{{icn_locked(24)}}</li>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if thread.is_stickied -%}
|
{%- if thread.is_stickied -%}
|
||||||
{{icn_stickied(24)}}
|
<li>{{icn_stickied(24)}}</li>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
<ul class="horizontal"></ul>
|
</ul>
|
||||||
{%- if thread.posts_count / 10 > 1 -%}
|
{%- if thread.posts_count / 10 > 1 -%}
|
||||||
{{pager(0, (((thread.posts_count / 10) | round(0, 'ceil') )| int), 'flex-last', url=url_for('threads.thread_by_id', thread_id=thread.id))}}
|
{{pager(0, (((thread.posts_count / 10) | round(0, 'ceil') )| int), 'flex-last', url=url_for('threads.thread_by_id', thread_id=thread.id))}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|||||||
@@ -444,7 +444,7 @@ ul.horizontal, ol.horizontal {
|
|||||||
display: flex;
|
display: flex;
|
||||||
gap: var(--base-padding);
|
gap: var(--base-padding);
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
align-items: end;
|
align-items: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user