forked from kamo/exquisite-branch
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
490 B
HTML
20 lines
490 B
HTML
3 years ago
|
|
||
|
|
||
|
|
||
|
|
||
|
<%inherit file="base_mako.html" />
|
||
|
|
||
|
<%block name="head">
|
||
|
<link rel="stylesheet" href="${url_for('static', filename='css/display_mako.css')}">
|
||
|
</%block>
|
||
|
|
||
|
<% from random import random %>
|
||
|
% for stream in streams:
|
||
|
<div class="stream">
|
||
|
<% transform = '' %>
|
||
|
% for branch in stream:
|
||
|
<% transform = transform + ' rotate(' + str(random() * 0.1) + 'turn) translateX(100%)'%>
|
||
|
<div class="svg-container" style="transform: ${transform}">${branch['content']}</div>
|
||
|
% endfor
|
||
|
</div>
|
||
|
% endfor
|