← Back to team overview

mahara-contributors team mailing list archive

[Bug 1264014] [NEW] Collection Navigation should be a list not a table

 

Public bug reported:

The block navigation, the html code is a table, when it should be an
unordered list.  The advantage of it being a list is that it will allow
a user to apply skins to the navigation.

Attached is the file that needs to be modified in

blocktype/navigation/theme/raw/navigation.tpl

Also, the CSS needs to be updated with something along the following
lines, or else the default will be a bullet list.

nav ul{
    list-style: none;
}
nav ul li:before{
    content: "\00BB \0020";
    font-size: 12pt;
}
nav ul li h3 {
    display: inline;
}

** Affects: mahara
     Importance: Undecided
         Status: New


** Tags: collections menu navigation

** Attachment added: "Completely rewritten navigation.tpl file."
   https://bugs.launchpad.net/bugs/1264014/+attachment/3935276/+files/navigation.tpl

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1264014

Title:
  Collection Navigation should be a list not a table

Status in Mahara ePortfolio:
  New

Bug description:
  The block navigation, the html code is a table, when it should be an
  unordered list.  The advantage of it being a list is that it will
  allow a user to apply skins to the navigation.

  Attached is the file that needs to be modified in

  blocktype/navigation/theme/raw/navigation.tpl

  Also, the CSS needs to be updated with something along the following
  lines, or else the default will be a bullet list.

  nav ul{
      list-style: none;
  }
  nav ul li:before{
      content: "\00BB \0020";
      font-size: 12pt;
  }
  nav ul li h3 {
      display: inline;
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1264014/+subscriptions


Follow ups

References