user-profile.html
HTML document, ASCII text
1{% extends "default.html" %} 2{% block title %} 3{{ user.username }} 4{% endblock %} 5{% block breadcrumbs %} 6<li><a href="/{{ user.username }}">{{ user.username }}</a></li> 7{% endblock %} 8{% block nav %} 9<nav id="repo-nav" class="navbar"> 10<ul id="repo-tabs"> 11<li><a href="?">Overview</a></li> 12<li><a href="?action=repositories">Repositories ({{ user.repositories | length }})</a></li> 13<li><a href="?action=followers">Followers ({{ user.followers | length }})</a></li> 14<li><a href="?action=follows">Follows ({{ user.follows | length }})</a></li> 15</ul> 16<x-buttonbox> 17{% if loggedInUser != user.username and loggedInUser %} 18<form action="?action=follow" method="POST"> 19<button type="submit"> 20<iconify-icon icon="mdi:eye"></iconify-icon> 21{% if relationship %}Unfollow{% else %}Follow{% endif %} 22</button> 23</form> 24{% endif %} 25</x-buttonbox> 26</nav> 27{% endblock %} 28 29{% block scripts %} 30<script src="/static/marquee.js"></script> 31{% endblock %} 32