Updated titles and other cosmetic details

This commit is contained in:
Mikaël Bouillot 2017-05-02 16:02:01 +02:00
parent 362264b2a5
commit c767b2d134
3 changed files with 7 additions and 8 deletions

View file

@ -16,11 +16,11 @@
<div id="header">
<div id="logo">
<h1>Linux Cross Reference</h1>
<h1>Elixir Cross Referencer</h1>
<h2><a href="http://free-electrons.com">Free Electrons: Embedded Linux Experts</a></h2>
<p>&nbsp;&bull;&nbsp;<a href="/linux/latest/source">Linux</a>&nbsp;&bull;&nbsp;<a href="/u-boot/latest/source">U-Boot</a>&nbsp;&bull;&nbsp;<a href="/busybox/latest/source">Busybox</a>&nbsp;&bull;&nbsp;</p>
<p>
&nbsp;&bull;&nbsp;<a href="$vvar/source">source navigation</a>&nbsp;&bull;&nbsp;<a href="$vvar/ident">identifier search</a>&nbsp;&bull;&nbsp;<a href="$vvar/search">freetext search</a>&nbsp;&bull;&nbsp;<a href="http://lxr.free-electrons.com" style="color:#00FF00">Back to LXR</a>&nbsp;&bull;&nbsp;
&nbsp;&bull;&nbsp;<a href="$vvar/source">source navigation</a>&nbsp;&bull;&nbsp;<a href="$vvar/ident">identifier search</a>&nbsp;&bull;&nbsp;<a href="$vvar/search">freetext search</a>&nbsp;&bull;&nbsp;
</p>
</div>
</div>

View file

@ -1,8 +1,7 @@
<p>
This page was automatically generated by Elixir 0.1.2 (<a href="https://github.com/free-electrons/elixir">source</a>)
&nbsp;&bull;&nbsp;
Please report bugs by <a href="mailto:mikael.bouillot@free-electrons.com">mail</a> or directly through the <a href="https://github.com/free-electrons/elixir/issues">issue tracker.</a><br>
Linux is a registered trademark of Linus Torvalds
Please report bugs by <a href="mailto:mikael.bouillot@free-electrons.com">mail</a> or directly through the <a href="https://github.com/free-electrons/elixir/issues">issue tracker.</a>
</p>
<div id="menu2">

View file

@ -165,7 +165,7 @@ if mode == 'source':
banner += '/<a href="'+version+'/source'+p2+'">'+p+'</a>'
head = sub ('\$banner', banner, head)
head = sub ('\$title', project+path+' - Elixir Cross Referencer - Free Electrons', head)
head = sub ('\$title', project+path+' - Elixir - Free Electrons', head)
print (head, end='')
lines = ['null - -']
@ -250,7 +250,7 @@ if mode == 'source':
elif mode == 'ident':
field = '</h1>\n<form method="get" action="'+version+'/ident">\nIdentifier: <input type="text" name="i" value="'+ident+'"size="60"/>\n<input type="submit" value="Go get it"/>\n</form>\n<h1>' + ident
head = sub ('\$banner', field, head)
head = sub ('\$title', project+' identifier search "'+ident+'" - Elixir Cross Referencer - Free Electrons', head)
head = sub ('\$title', ident+' - Elixir - Free Electrons', head)
print (head, end='')
lines = shell_exec ('cd .. ; ./query.py ident '+version2+" '"+ident+"'")
@ -304,10 +304,10 @@ elif mode == 'ident':
elif mode == 'search':
head = sub ('\$banner', '', head)
head = sub ('\$title', project+' freetext search - Elixir Cross Referencer - Free Electrons', head)
head = sub ('\$title', 'Freetext search - Elixir - Free Electrons', head)
print (head, end='')
print ('<form method="get" action="http://www.google.com/search"><input type="text" name="q" size="31" maxlength="255" value="" /><input type="submit" value="Google Search" /><input type="radio" name="sitesearch" value="" /> The Web<input type="radio" name="sitesearch" value="elixir.free-electrons.com/'+project+'" checked="checked"/>elixir.free-electrons.com/'+project+'</form>')
print ('<form method="get" action="http://www.google.com/search"><input type="text" name="q" size="31" maxlength="255" value="" /><input type="submit" value="Google Search" /><input type="radio" name="sitesearch" value="" /> The Web<input type="radio" name="sitesearch" value="elixir.free-electrons.com/'+project+'/'+version+'" checked="checked"/>elixir.free-electrons.com/'+project+'/'+version+'</form>')
else:
print (head)