Fix various templates for generating reports, per Buefy
also various other tweaks which came up along the way...
This commit is contained in:
parent
cb4e9e9eda
commit
4c42ccc7d7
7 changed files with 102 additions and 26 deletions
|
@ -338,29 +338,39 @@
|
|||
</header>
|
||||
|
||||
## Page Title
|
||||
<section id="content-title" class="hero is-primary">
|
||||
<div class="container">
|
||||
% if capture(self.content_title):
|
||||
|
||||
% if capture(self.content_title):
|
||||
<section id="content-title" class="hero is-primary">
|
||||
<div class="level">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h1 class="title" v-html="contentTitleHTML"></h1>
|
||||
</div>
|
||||
</div>
|
||||
% if show_prev_next is not Undefined and show_prev_next:
|
||||
<div style="float: right;">
|
||||
<div class="level-right">
|
||||
% if prev_url:
|
||||
${h.link_to(u"« Older", prev_url, class_='button autodisable')}
|
||||
<div class="level-item">
|
||||
${h.link_to(u"« Older", prev_url, class_='button autodisable')}
|
||||
</div>
|
||||
% else:
|
||||
${h.link_to(u"« Older", '#', class_='button', disabled='disabled')}
|
||||
<div class="level-item">
|
||||
${h.link_to(u"« Older", '#', class_='button', disabled='disabled')}
|
||||
</div>
|
||||
% endif
|
||||
% if next_url:
|
||||
${h.link_to(u"Newer »", next_url, class_='button autodisable')}
|
||||
<div class="level-item">
|
||||
${h.link_to(u"Newer »", next_url, class_='button autodisable')}
|
||||
</div>
|
||||
% else:
|
||||
${h.link_to(u"Newer »", '#', class_='button', disabled='disabled')}
|
||||
<div class="level-item">
|
||||
${h.link_to(u"Newer »", '#', class_='button', disabled='disabled')}
|
||||
</div>
|
||||
% endif
|
||||
</div>
|
||||
% endif
|
||||
|
||||
<h1 class="title" v-html="contentTitleHTML"></h1>
|
||||
% endif
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
% endif
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue