Skip to content

Commit

Permalink
Merge pull request #212 from clamsproject/204-small-visuals
Browse files Browse the repository at this point in the history
made small visual changes to vocab HTML pages
  • Loading branch information
keighrim authored Sep 8, 2023
2 parents d0f3f30 + 0ffe747 commit 8162df2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,6 @@ def _add_head(self, cur_vocab_ver) -> None:
dtrs.append(HREF('/'.join(['..'] * len(uri_suffix) + uri_suffix), n['name']))
dtrs.append(SPAN('>'))
dtrs.append(SPAN(self.clams_type['name']))
latest = tag('p', text=f'from {cur_vocab_ver} (last updated)')
dtrs.append(latest)
p = tag('p', {'class': 'head'}, dtrs=dtrs)
self.main_content.append(p)
self._add_space()
Expand Down Expand Up @@ -401,8 +399,8 @@ def _add_properties_aux(self, properties) -> None:
def _add_header(self) -> None:
header = DIV({'id': 'pageHeader'},
dtrs=[
H1(f'{VOCAB_TITLE}'),
H2(f'{self.clams_type["name"]} ({self.clams_type["version"]})'),
H1(f'{self.clams_type["name"]} ({self.clams_type["version"]})'),
H2(f'{VOCAB_TITLE}'),
])
self.intro.append(header)

Expand Down

0 comments on commit 8162df2

Please sign in to comment.