diff options
Diffstat (limited to 'src/koszko_org_website/templates/koszko.html.jinja')
-rw-r--r-- | src/koszko_org_website/templates/koszko.html.jinja | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/koszko_org_website/templates/koszko.html.jinja b/src/koszko_org_website/templates/koszko.html.jinja new file mode 100644 index 0000000..4253329 --- /dev/null +++ b/src/koszko_org_website/templates/koszko.html.jinja @@ -0,0 +1,66 @@ +{# +SPDX-License-Identifier: CC0-1.0 + +koszko.org website personal page stub. + +Copyright (C) 2021,2022 Wojtek Kosior <koszko@koszko.org> +#} +{% extends "__koszko_base.html.jinja" %} + +{% block style %} + {{ super() }} + + #request_table thead, #request_table tbody { + vertical-align: top; + } + + @media (max-width: 500px) { + #request_table { + font-size: 80%; + } + } + + col { + width: 50%; + } +{% endblock %} + +{% macro request_table() %} + <table id="request_table" class="pure-table"> + <colgroup> + <col> + <col> + </colgroup> + <thead> + <tr> + <th>{{ _('koszko.th:to_freesw_hackers') }}</th> + <th>{{ _('koszko.th:to_christians') }}</th> + </tr> + <tr> + <td>{{ _('koszko.td:nonbelievers') }}</td> + <td>{{ _('koszko.td:choosing_proprietary_programs') }}</td> + </tr> + </thead> + <tbody> + <tr> + <td> + {% block to_freesw_hackers %} + {% endblock %} + </td> + <td> + {% block to_christians %} + {% endblock %} + </td> + </tr> + <tr class="center-text"> + <td colspan="2">{{ _('koszko.td:please') }}</td> + </tr> + <tr class="center-text"> + <td colspan="2"> + {% block use_internet_if_needed %} + {% endblock %} + </td> + </tr> + </tbody> + </table> +{% endmacro %} |