Mercurial > kallithea
diff kallithea/templates/search/search_path.html @ 6422:1f02a239c23c
style: use panel, panel-heading, panel-title, panel-body and settings
This imply lots of tweaking of header handling and panel spacing.
Not converted yet: codeblock code-header code-body.
Based on work by Dominik Ruf.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 09 Jan 2017 00:41:30 +0100 |
parents | 103f07acad83 |
children | a17c8e5f6712 |
line wrap: on
line diff
--- a/kallithea/templates/search/search_path.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/search/search_path.html Mon Jan 09 00:41:30 2017 +0100 @@ -2,8 +2,8 @@ %for cnt,sr in enumerate(c.formated_results): %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(sr['repository'],'search results check'): - <div class="search_path"> - <div class="link"> + <div class="panel panel-default"> + <div class="panel-heading"> ${h.link_to(h.literal('%s » %s' % (sr['repository'],sr['f_path'])), h.url('files_home',repo_name=sr['repository'],revision='tip',f_path=sr['f_path']))} </div>