mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-02 20:07:25 -05:00
d532d9fe6e
Only for overall campaign editor analytics. Still need to add date pickers to individual level views. Moving campaign editor analytics to its own modal to support reloading with new dates. The date picker widget works poorly, but you can type in dates if necessary. Also moving analytics button up into the top right header, with a little stats glyph icon.
47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
extends /templates/base
|
|
|
|
block header
|
|
if campaign.loading
|
|
nav.navbar.navbar-default(role='navigation')#campaign-editor-top-nav
|
|
.container-fluid
|
|
ul.nav.navbar-nav
|
|
li
|
|
a(href="/")
|
|
span.glyphicon-home.glyphicon
|
|
else
|
|
nav.navbar.navbar-default(role='navigation')#campaign-editor-top-nav
|
|
ul.nav.navbar-nav
|
|
li
|
|
a(href="/")
|
|
span.glyphicon-home.glyphicon
|
|
|
|
ul.nav.navbar-nav.navbar-right
|
|
li#analytics-button
|
|
a
|
|
span.glyphicon-stats.glyphicon
|
|
if me.isAdmin()
|
|
li#save-button
|
|
a
|
|
span.glyphicon-floppy-disk.glyphicon
|
|
li.dropdown
|
|
a(data-toggle='dropdown')
|
|
span.glyphicon-chevron-down.glyphicon
|
|
ul.dropdown-menu
|
|
li.dropdown-header(data-i18n="common.actions") Actions
|
|
li(class=anonymous ? "disabled": "")
|
|
a(data-toggle="coco-modal", data-target="modal/RevertModal", data-i18n="editor.revert")#revert-button Revert
|
|
li(class=anonymous ? "disabled": "")
|
|
a(data-i18n="editor.pop_i18n")#pop-level-i18n-button Populate i18n
|
|
li.divider
|
|
li.dropdown-header(data-i18n="common.info") Info
|
|
|
|
block outer_content
|
|
.outer-content
|
|
#left-column
|
|
#campaign-treema
|
|
|
|
#right-column
|
|
#campaign-view
|
|
#campaign-level-view.hidden
|
|
|
|
block footer
|