Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
snowwm committed Jul 14, 2019
1 parent 6207853 commit cbd2658
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
32 changes: 13 additions & 19 deletions build/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,34 @@ generator:
table_caption: Частоты с {start_freq} по {end_freq} МГц # TODO: make bold
columns_on_page: 2

columns:
- name: freq_date
class: strong
width: 12%
primary_header: Частота
table_columns:
- primary_header: Частота
primary_attr: frequency
secondary_header: Дата набл.
secondary_attr: date

- name: mod_type
class: strong
width: 12%
primary_header: Мод-ция

- primary_header: Мод-ция
primary_attr: modulation
secondary_header: Тип сигн.
secondary_attr: signal_type
class: strong
width: 12%

- name: service
width: 15%
primary_header: Служба радиосв.
- primary_header: Служба радиосв.
primary_attr: service_type
width: 15%

- name: affil
width: 20%
primary_header: Принад-ть
- primary_header: Принад-ть
primary_attr: affiliation
width: 20%

- name: call-sign
width: 17%
primary_header: Позывной
- primary_header: Позывной
primary_attr: call_sign
width: 17%

- name: desc
primary_header: Описание
- primary_header: Описание
primary_attr: description

slices:
Expand Down
2 changes: 1 addition & 1 deletion build/output.html.mako
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</caption>
<thead>
<tr>
% for col in columns:
% for col in table_columns:
<th class="${col.get('class', '')}" style="width: ${col.get('width', 'initial')};">
<p class="primary">
${col['primary_header']}
Expand Down

0 comments on commit cbd2658

Please sign in to comment.