webapp/templates/default/main/transaction.html.twig

43 lines
1.9 KiB
Twig
Raw Normal View History

2024-02-12 22:49:34 +00:00
{% extends 'default/layout.html.twig' %}
2024-02-14 20:01:21 +00:00
{% block title %}{{ record.key | format_type(record.type.key) }} - {{ record.namespace | namespace_title }} - {{ app.name }}{% endblock %}
2024-02-12 23:48:23 +00:00
{% block favicon %}<link rel="icon" href="{{ record.namespace | jIdenticon }}" />{% endblock %}
2024-02-12 22:49:34 +00:00
{% block body %}
<div class="t-center px-16 pt-54">
<div class="mx-a mw-560 px-16">
<div class="mb-20">
<a class="logo f-s-20 c-0" href="{{ path('main_index') }}">{{ app.name }}</a>
</div>
<div class="mx-a mw-560 px-16 pb-16">
<a href="{{ path('main_namespace',{'namespace':record.namespace}) }}">
<img class="br-50 shine" src="{{ record.namespace | jIdenticon }}" alt="{{ record.namespace }}" />
</a>
</div>
2024-02-14 20:01:21 +00:00
<div class="mb-36 c-1">
{{ record.namespace | namespace_title }}
</div>
2024-02-12 22:49:34 +00:00
</div>
</div>
<div class="t-center px-16 pb-36">
<div class="b-g"></div>
</div>
<div class="t-center px-16">
<div class="mx-a mw-560 px-16">
<div class="f-s-16 mb-16 of-a">
2024-02-14 21:46:07 +00:00
<a rel="nofollow" href="{{ path('main_transaction',{'transaction':record.transaction,'get':'key'}) }}" class="c-1">
2024-02-14 21:30:59 +00:00
{{ record.key | format_type(record.type.key) }}
</a>
2024-02-12 22:49:34 +00:00
</div>
<div class="mb-20 of-a">
2024-02-14 21:46:07 +00:00
<a rel="nofollow" href="{{ path('main_transaction',{'transaction':record.transaction,'get':'value'}) }}" class="c-1">
2024-02-14 21:30:59 +00:00
{{ record.value | format_type(record.type.value) | nl2br }}
</a>
2024-02-12 22:49:34 +00:00
</div>
<div class="f-s-12">
{{ record.time | format_date }} {{ 'in' | trans }} {{ record.block }}
</div>
</div>
</div>
<div class="t-center px-16 py-27">
<div class="b-g"></div>
</div>
{% endblock %}