Skip to content

Commit

Permalink
defconfigs; add title
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
  • Loading branch information
hthiery committed Jan 4, 2020
1 parent b0f8021 commit 68944e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def defconfigs():

defconfigs= OrderedDict(sorted(data['defconfigs'].items(), key=lambda t: t[0]))

title = '{} defconfigs'.format(len(data['defconfigs']))
title = 'Total amount of defconfigs: {}'.format(len(defconfigs))

return render_template('defconfigs.html',
title=title,
Expand Down
3 changes: 3 additions & 0 deletions app/templates/defconfigs.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
{% block content %}

<div class="container fluid">
<div class="alert alert-primary mt-2 mb-2" role="alert">
{{title}}
</div>
<table class="table table-striped table-bordered mt-2">
<thead class="thead-light">
<tr>
Expand Down

0 comments on commit 68944e5

Please sign in to comment.