open-bounty/resources/templates/bounty.html

98 lines
16 KiB
HTML
Raw Normal View History

<html>
<body>
<style>
@import url('https://fonts.googleapis.com/css?family=Roboto:300&subset=latin');
.github-comment {
font-family: 'Roboto', sans-serif;
border: #e7e7e7 solid 0.1em!important;
border-radius: 8px!important;
margin: 0px;
padding: 1em;
width: 1336px;
height: {{ image-height }}px;
}
.commiteth-logo img {
position: fixed;
top: 32px;
left: 32px;
width: 92px;
height: 92px;
}
.comment-issue-url {
font-size: 1.1em;
color: #a8aab1;
position: fixed;
top: 155px;
left: 32px;
}
.comment-eth {
color: #a8aab1;
font-size: 3em;
position: fixed;
top: 196px;
left: 32px;
}
.comment-eth-balance {
color: #343434;
position: fixed;
top: 196px;
left: 135px;
}
.token-list {
position: fixed;
top: 253px;
left: 32px;
}
.comment-token {
color: #a8aab1;
display: inline;
font-size: 48px;
}
.comment-token-balance {
color: #343434;
display:inline;
font-size: 48px;
left: 135px;
}
.qr-image {
position: fixed;
padding: 0px;
margin: 0px;
top: 9px;
left: 940px;
border: none;
background-color: red;
}
.qr-image>img {
padding: 0px;
margin: 0px;
background-color: yellow;
}
</style>
{% style "/css/style.css" %}
<div class="github-comment">
<div class="commiteth-logo">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAKGNJREFUeAHtfQt0HNWZ5n+ru/WyZKnlNxCwARswYGzixQP2mHh5BJwQJ4631ZKdYIaEOXv2JBkgMEyyOYiTyUw2gXCWmbM7S+BAEltqdYwHwwwOrxgIHnDijIkxD9uAbQjGtiy1ZEmWWt1dd/+/pDYtubtV1V3d9frvkU5VV93nd+/31338978C2DkagdujsvqI0neOmkzOEULMklJOwQJNFSCnSBBThISp+DsIAqrwWgFSVkohKgBkJQBdyclhvI8LiVch4vhgGCQM4TUmBRzHuLowri78fRzT6MI0PlH8/gMz1bpDD4bEID5n51AEhEPz7alst26T/v2d/fOkmlggAS6REs6VQs5BEGYjUWdaCoa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IkptluNF3DY4doVPo2q91vox3zeUYTY//ORuCsyT64cJpf+5831Q/TJikghOEmlBUEHMfC4T4V3u9KwvsoEPYcTcDHJ9Ssfvnh6QhgNexbrTTOD4VE6vS3uZ8Y7gE8qfasZfLnBtRNb2oCAhafGYArPlMBFyLhaysL6mXqgoQEyZkoYOh/+ZxKLczezgS8+H4cXvtoGBKGmrWuJF3liThJ3MRC/dJIwQyL76ZI95s4+XeJkUTYr3MQqB4l/ZVnV8CCGQHw+ww3EdMLe3JYhd8dGobn9g9xryAfukK82RFuXJDPy/h3hmq3paPr8ykVfjM+Ev7tfATOqvfBynlVsGx2BVTYgPTZEFVVCU+9OwRP7BmEBI8
</div>
<div class="comment-issue-url">{{issue-url}}</div>
<div class="comment-eth">ETH<div class="comment-eth-balance">{{eth-balance}}</div></div>
<div class="token-list">
{% for token in tokens %}
<div class="token-list-item"><div class="comment-token">{{ token.tla }}<div class="comment-token-balance">&nbsp;{{ token.balance }}</div></div></div>
{% endfor %}
</div>
<div class="qr-image">
<img src="data:image/png;base64,{{qr-image}}"/>
</div>
</div>
</body>
</html>