repo-log.html
HTML document, ASCII text
1{% extends "repo.html" %} 2{% block title %} 3History of {{ username }}/{{ repository }} 4{% endblock %} 5{% block content %} 6<x-vbox> 7<x-frame style="--width: 896px;" class="flexible-space"> 8<x-vbox> 9{% for commit in commits | reverse %} 10<article class="card card-horizontal"> 11<figure class="branch-icon"> 12<a href="/{{ commit.ownerName }}"> 13<img src="/info/{{ commit.ownerName }}/avatar" style="width: 48px; height: 48px;"> 14</a> 15</figure> 16<section class="card-main flexible-space"> 17<h3>{{ commit.message | split("\n") | first }}</h3> 18<p>by <a href="/{{ commit.ownerName }}">{{ commit.ownerName }}</a>, <span title="{{ commit.authorDate | unixtime }} 19received on {{ commit.receiveDate | strftime('%A, %e %B %Y, %H:%M:%S') }} ({{ commit.receiveDate | unixtime }})">{{ commit.authorDate | strftime("%A, %e %B %Y, %H:%M:%S") }}</span></p> 20<code>{{ commit.sha }}</code> 21</section> 22<section> 23<x-buttonbox style="align-items: center; height: 100%;"> 24<a class="button" href="/{{ username }}/{{ repository }}/tree/~{{ commit.sha }}">View tree</a> 25</x-buttonbox> 26</section> 27</article> 28{% endfor %} 29</x-vbox> 30</x-frame> 31</x-vbox> 32{% endblock %}