Example #1
0
def home():
  bc = BreadCrumbs()
  bc.add("/", "Home")
  bc.add("/reports", "Reports")
  return render_template("reports/home.html", breadcrumbs=bc)
Example #2
0
def report():
  bc = BreadCrumbs()
  bc.add("/", "Home")
  bc.add("/reports", "Reports")
  bc.add("/reports/report", "Sample Report")
  return render_template("reports/report.html", breadcrumbs=bc)