Frontend Mockup

This commit is contained in:
Giebisch 2023-01-11 15:12:22 +01:00
parent 2bd94b1332
commit 88e993d727

View file

@ -66,10 +66,57 @@
<h2 class="title column">{% trans "User Activity" %}</h2>
{% if user.local %}
<div class="column is-narrow">
<a target="_blank" href="{{ user.local_path }}/rss" rel="nofollow noopener noreferrer">
<!-- <a target="_blank" href="{{ user.local_path }}/rss" rel="nofollow noopener noreferrer">
<span class="icon icon-rss" aria-hidden="true"></span>
<span class="is-hidden-mobile">{% trans "RSS feed" %}</span>
</a> -->
<details class="dropdown" id="navbar-dropdown">
<summary
class="is-relative pulldown-menu dropdown-trigger"
aria-label="{% trans 'Show RSS Options' %}"
role="button"
aria-haspopup="menu"
>
<span class="">
<span class="icon icon-rss" aria-hidden="true"></span>
<span class="">{% trans "RSS feed" %}</span>
</span>
<span class="icon icon-arrow-down is-hidden-mobile" aria-hidden="true"></span>
<span class="summary-on-open">
<span class="icon icon-arrow-left is-small" aria-hidden="true"></span>
{% trans "Back" %}
</span>
</summary>
<div class="dropdown-menu">
<ul
class="dropdown-content"
role="menu"
>
<li role="menuitem">
<a href="{% url 'user-feed' request.user.localname %}" class="navbar-item">
{% trans "Complete feed" %}
</a>
</li>
<li role="menuitem">
<a href="{% url 'user-feed' request.user.localname %}" class="navbar-item">
{% trans "Reviews only" %}
</a>
</li>
<li role="menuitem">
<a href="{% url 'user-feed' request.user.localname %}" class="navbar-item">
{% trans "Quotes only" %}
</a>
</li>
<li role="menuitem">
<a href="{% url 'user-feed' request.user.localname %}" class="navbar-item">
{% trans "Comments only" %}
</a>
</li>
</ul>
</div>
</details>
</div>
{% endif %}
</div>