Source code for abilian.web.nav

# coding=utf-8
"""
Navigation elements.

Abilian define theses categories:
  `section`:
    Used for navigation elements relevant to site section
  `user`:
    User for element that should appear in user menu
"""
from __future__ import absolute_import, print_function, division

from flask import g
from jinja2 import Template, Markup
from .action import Action, Glyphicon, ENABLED, ACTIVE, getset, Endpoint