//- -*- tab-width: 2 -*-
extends includes/layout

block vars
  - var ngAppDef = 'LineEditor'

append scripts
  script.
    var mapId = "#{mapid}"
    var competitionId = "#{compid}"

  script(src="/components/angularjs-slider/dist/rzslider.min.js")
  script(src="/javascripts/lvl-uuid.js")
  script(src="/javascripts/line_editor.js")

append css
  link(href="/components/angularjs-slider/dist/rzslider.min.css" rel="stylesheet")
  link(href="/stylesheets/fredrik.css" rel="stylesheet")

block location
    a.breadcrumb-item(href='/home') Home
    a.breadcrumb-item(href='/admin') Admin
    a.breadcrumb-item(ng-href='/admin/{{competitionId}}') {{competition}}
    span.breadcrumb-item.active Line editor

block content
    include line_editor.html
//- -*- tab-width: 2 -*-
extends includes/layout

block vars
  - var ngAppDef = 'LineEditor'

append scripts
  script.
    var mapId = "#{mapid}"
    var competitionId = "#{compid}"

  script(src="/components/angularjs-slider/dist/rzslider.min.js")
  script(src="/javascripts/lvl-uuid.js")
  script(src="/javascripts/line_editor.js")

append css
  link(href="/components/angularjs-slider/dist/rzslider.min.css" rel="stylesheet")
  link(href="/stylesheets/fredrik.css" rel="stylesheet")

block location
    a.breadcrumb-item(href='/home') Home
    a.breadcrumb-item(href='/admin') Admin
    a.breadcrumb-item(ng-href='/admin/{{competitionId}}') {{competition}}
    a.breadcrumb-item(ng-href='/admin/{{competitionId}}/line/maps') Line maps
    span.breadcrumb-item.active Line editor

block content
    include line_editor.html
Add intermediate page in line map editor navigation bar
Add intermediate page in line map editor navigation bar
