Partially migrated to Foundatoin 6

This commit is contained in:
Christoph Haas 2016-03-02 21:36:58 +01:00
parent d7bfa0843f
commit 7e7d2e6c0b
6 changed files with 388 additions and 391 deletions

View file

@ -1,22 +1,14 @@
header
div.contain-to-grid
nav.top-bar data-topbar=true role="navigation"
ul.title-area
.top-bar
.top-bar-title
// TODO: Make the logo depend on the virtual host
li.name
img src="/images/logos/debian.svg" width="35" alt="Debian logo"
// TODO: Use proper distribution name
'Debian Screenshots >
// Not enough space for the search… where do we put it?
//li.item
// = form_tag( url(:package, :index), :method=>'get')
// = search_field_tag :search, :placeholder=>'Search…', :autofocus=>true
li.toggle-topbar.menu-icon
a href="#"
span Menu
img src="/images/logos/debian.svg" width="35" alt="Debian logo"
// TODO: Use proper distribution name
'Debian Screenshots >
section.top-bar-section
ul.right
.top-bar-right
ul.menu
li class=('active' if controller_name=='welcome' and action_name=='home')
a href="/" Home
li class=('active' if controller_name=='packages')