aboutsummaryrefslogtreecommitdiff
path: root/src/koszko_org_website/templates/koszko.html.jinja
blob: 42533299fba3816c02428dbfa9b02f53c6fb9701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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 %}