<html xmlns="http://www.w3.org/1999/xhtml" |
<html xmlns="http://www.w3.org/1999/xhtml" |
xmlns:py="http://genshi.edgewall.org/" |
xmlns:py="http://genshi.edgewall.org/" |
xmlns:xi="http://www.w3.org/2001/XInclude" |
xmlns:xi="http://www.w3.org/2001/XInclude" |
xmlns:doap="http://usefulinc.com/ns/doap" |
xmlns:doap="http://usefulinc.com/ns/doap" |
xmlns:foaf="http://xmlns.com/foaf/0.1/" |
xmlns:foaf="http://xmlns.com/foaf/0.1/" |
py:strip="" |
py:strip="" |
> |
> |
|
|
<!-- ! a custom primary nav --> |
<!-- ! a custom primary nav --> |
<py:match path="//div[@class='menu']"> |
<py:match path="//div[@class='menu']"> |
<div class="menu"> |
<div class="menu"> |
<ul> |
${h.nav_link(c, _('Home'), controller='home', action='index')} |
<li>${h.nav_link(c, _('Home'), controller='home', action='index', id=None)} |
${h.nav_link(c, _('Data'), controller='package', action='index')} |
</li> |
${h.nav_link(c, _('New dataset'), controller='package', action='new')} |
<li>${h.nav_link(c, _('Data'), controller='package', action='index', id=None)} |
${h.nav_link(c, _('New group'), controller='group', action='new')} |
</li> |
|
</ul> |
|
</div> |
</div> |
</py:match> |
</py:match> |
|
|
<!-- make a really big search box in the top bar --> |
<!-- make a really big search box in the top bar --> |
<py:match path="//div[@id='top-bar']/div[@class='search-form']"> |
<py:match path="//div[@id='top-bar']/div[@class='search-form']"> |
<div class="search-form"> |
<div class="search-form"> |
<form action="${url(controller='package', action='search')}" method="GET"> |
<form action="${url(controller='package', action='search')}" method="GET"> |
<input type="search" class="search" name="q" value="" autocomplete="off" results="5" placeholder="What are you looking for?" id="bigsearch" /> |
<input type="search" class="search" name="q" value="" autocomplete="off" results="5" placeholder="What are you looking for?" id="bigsearch" /> |
<input type="submit" class="searchbutton" value="search" /> |
<input type="submit" class="searchbutton" value="search" /> |
</form> |
</form> |
</div> |
</div> |
</py:match> |
</py:match> |
|
|
<xi:include href="layout_base.html" /> |
<xi:include href="layout_base.html" /> |
</html> |
</html> |
|
|