import additional local nav/footer code
This commit is contained in:
parent
8a5eff50db
commit
8a28e6de43
2 changed files with 11 additions and 0 deletions
|
|
@ -5,6 +5,12 @@
|
|||
<a href="https://fedorahosted.org/koji/"><img src="/koji-static/images/powered-by-koji.png" alt="Powered By Koji" id="PoweredByKojiLogo"/></a>
|
||||
</p>
|
||||
|
||||
#set $localfooterpath="/usr/share/koji-web/local/extra-footer.html"
|
||||
#if os.path.exists($localfooterpath)
|
||||
#set $localfooter="".join(open($localfooterpath).readlines())
|
||||
$localfooter
|
||||
#end if
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,11 @@
|
|||
<!-- HEADER -->
|
||||
<div id="header">
|
||||
<img src="/koji-static/images/koji.png" alt="Koji Logo" id="kojiLogo"/>
|
||||
#set $localnavpath="/usr/share/koji-web/local/extra-nav.html"
|
||||
#if os.path.exists($localnavpath)
|
||||
#set $localnav="".join(open($localnavpath).readlines())
|
||||
$localnav
|
||||
#end if
|
||||
<form action="search" id="headerSearch">
|
||||
<input type="hidden" name="match" value="glob"/>
|
||||
<select name="type">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue