mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-17 19:12:33 -05:00
Remove obsolete ErrorView from templates
This commit is contained in:
parent
2e5c15cc6d
commit
4b4c19928f
4 changed files with 14 additions and 20 deletions
|
@ -26,5 +26,3 @@ block content
|
||||||
.patches-view
|
.patches-view
|
||||||
|
|
||||||
hr
|
hr
|
||||||
|
|
||||||
div#error-view
|
|
||||||
|
|
|
@ -8,14 +8,14 @@ block header
|
||||||
li
|
li
|
||||||
a(href="/editor/level")
|
a(href="/editor/level")
|
||||||
span.glyphicon-home.glyphicon
|
span.glyphicon-home.glyphicon
|
||||||
|
|
||||||
else
|
else
|
||||||
nav.navbar.navbar-default(role='navigation')#level-editor-top-nav
|
nav.navbar.navbar-default(role='navigation')#level-editor-top-nav
|
||||||
ul.nav.navbar-nav
|
ul.nav.navbar-nav
|
||||||
li
|
li
|
||||||
a(href="/editor/level")
|
a(href="/editor/level")
|
||||||
span.glyphicon-home.glyphicon
|
span.glyphicon-home.glyphicon
|
||||||
|
|
||||||
ul.nav.navbar-nav.nav-tabs
|
ul.nav.navbar-nav.nav-tabs
|
||||||
li.active
|
li.active
|
||||||
a(href="#thangs-tab-view", data-toggle="tab", data-i18n="editor.level_tab_thangs") Thangs
|
a(href="#thangs-tab-view", data-toggle="tab", data-i18n="editor.level_tab_thangs") Thangs
|
||||||
|
@ -75,7 +75,7 @@ block header
|
||||||
a.play-with-team-button(data-team=team)= team + ' vs. AI'
|
a.play-with-team-button(data-team=team)= team + ' vs. AI'
|
||||||
for match in recentlyPlayedOpponents
|
for match in recentlyPlayedOpponents
|
||||||
a.play-with-team-button(data-team=match.yourTeam, data-opponent=match.opponentSessionID)= match.yourTeam + ' vs. ' + match.opponentName
|
a.play-with-team-button(data-team=match.yourTeam, data-opponent=match.opponentSessionID)= match.yourTeam + ' vs. ' + match.opponentName
|
||||||
|
|
||||||
else
|
else
|
||||||
li(data-i18n="[title]general.play_preview", title="Play preview of current level")#play-button
|
li(data-i18n="[title]general.play_preview", title="Play preview of current level")#play-button
|
||||||
a
|
a
|
||||||
|
@ -93,7 +93,7 @@ block header
|
||||||
span.unwatch.secret
|
span.unwatch.secret
|
||||||
span.glyphicon.glyphicon-eye-close
|
span.glyphicon.glyphicon-eye-close
|
||||||
span.spl(data-i18n="common.unwatch") Unwatch
|
span.spl(data-i18n="common.unwatch") Unwatch
|
||||||
|
|
||||||
li(class=anonymous ? "disabled": "")
|
li(class=anonymous ? "disabled": "")
|
||||||
a(data-i18n="common.fork")#fork-start-button Fork
|
a(data-i18n="common.fork")#fork-start-button Fork
|
||||||
li(class=anonymous ? "disabled": "")
|
li(class=anonymous ? "disabled": "")
|
||||||
|
@ -126,9 +126,9 @@ block outer_content
|
||||||
.outer-content
|
.outer-content
|
||||||
div.tab-content#level-editor-tabs
|
div.tab-content#level-editor-tabs
|
||||||
div.tab-pane.active#thangs-tab-view
|
div.tab-pane.active#thangs-tab-view
|
||||||
|
|
||||||
div.tab-pane#editor-level-scripts-tab-view
|
div.tab-pane#editor-level-scripts-tab-view
|
||||||
|
|
||||||
div.tab-pane#editor-level-settings-tab-view
|
div.tab-pane#editor-level-settings-tab-view
|
||||||
|
|
||||||
div.tab-pane#editor-level-components-tab-view
|
div.tab-pane#editor-level-components-tab-view
|
||||||
|
@ -136,7 +136,7 @@ block outer_content
|
||||||
div.tab-pane#systems-tab-view
|
div.tab-pane#systems-tab-view
|
||||||
|
|
||||||
div.tab-pane#editor-level-tasks-tab-view
|
div.tab-pane#editor-level-tasks-tab-view
|
||||||
|
|
||||||
div.tab-pane#editor-level-patches.nano
|
div.tab-pane#editor-level-patches.nano
|
||||||
.nano-content
|
.nano-content
|
||||||
.patches-view
|
.patches-view
|
||||||
|
@ -155,6 +155,4 @@ block outer_content
|
||||||
|
|
||||||
div.tab-pane#level-feedback-view
|
div.tab-pane#level-feedback-view
|
||||||
|
|
||||||
div#error-view
|
|
||||||
|
|
||||||
block footer
|
block footer
|
||||||
|
|
|
@ -42,7 +42,7 @@ block header
|
||||||
for level in recentlyPlayedLevels
|
for level in recentlyPlayedLevels
|
||||||
a.play-with-level-button(data-level=level)= level
|
a.play-with-level-button(data-level=level)= level
|
||||||
input.play-with-level-input(placeholder="Type in a level name")
|
input.play-with-level-input(placeholder="Type in a level name")
|
||||||
|
|
||||||
if authorized
|
if authorized
|
||||||
li#save-button
|
li#save-button
|
||||||
a
|
a
|
||||||
|
@ -138,6 +138,5 @@ block outer_content
|
||||||
div#spritesheets
|
div#spritesheets
|
||||||
div.tab-pane#editor-thang-patches-view
|
div.tab-pane#editor-thang-patches-view
|
||||||
div.patches-view
|
div.patches-view
|
||||||
div#error-view
|
|
||||||
.clearfix
|
.clearfix
|
||||||
block footer
|
block footer
|
||||||
|
|
|
@ -8,7 +8,7 @@ block header
|
||||||
li
|
li
|
||||||
a(href="/i18n")
|
a(href="/i18n")
|
||||||
span.glyphicon-home.glyphicon
|
span.glyphicon-home.glyphicon
|
||||||
|
|
||||||
else
|
else
|
||||||
nav.navbar.navbar-default(role='navigation')
|
nav.navbar.navbar-default(role='navigation')
|
||||||
ul.nav.navbar-nav
|
ul.nav.navbar-nav
|
||||||
|
@ -24,16 +24,16 @@ block header
|
||||||
button.btn.btn-info.btn-sm.pull-right#patch-submit(disabled=model.hasLocalChanges() ? null : 'disabled', value=model.id, data-i18n="common.submit_changes") Submit Changes
|
button.btn.btn-info.btn-sm.pull-right#patch-submit(disabled=model.hasLocalChanges() ? null : 'disabled', value=model.id, data-i18n="common.submit_changes") Submit Changes
|
||||||
|
|
||||||
li.dropdown
|
li.dropdown
|
||||||
|
|
||||||
a(data-toggle='dropdown')
|
a(data-toggle='dropdown')
|
||||||
span.glyphicon-chevron-down.glyphicon
|
span.glyphicon-chevron-down.glyphicon
|
||||||
|
|
||||||
ul.dropdown-menu
|
ul.dropdown-menu
|
||||||
li.dropdown-header(data-i18n="common.actions") Actions
|
li.dropdown-header(data-i18n="common.actions") Actions
|
||||||
|
|
||||||
li(class=anonymous ? "disabled": "")
|
li(class=anonymous ? "disabled": "")
|
||||||
a(data-toggle="coco-modal", data-target="modal/RevertModal", data-i18n="editor.revert")#revert-button Revert
|
a(data-toggle="coco-modal", data-target="modal/RevertModal", data-i18n="editor.revert")#revert-button Revert
|
||||||
|
|
||||||
li.divider
|
li.divider
|
||||||
li.dropdown-header(data-i18n="common.info") Info
|
li.dropdown-header(data-i18n="common.info") Info
|
||||||
li#history-button
|
li#history-button
|
||||||
|
@ -51,7 +51,7 @@ block header
|
||||||
|
|
||||||
block outer_content
|
block outer_content
|
||||||
.outer-content
|
.outer-content
|
||||||
|
|
||||||
select.form-control#language-select
|
select.form-control#language-select
|
||||||
|
|
||||||
for row in translationList
|
for row in translationList
|
||||||
|
@ -68,6 +68,5 @@ block outer_content
|
||||||
else
|
else
|
||||||
input.input-sm.form-control.translation-input(data-index=row.index.toString(), value=row.toValue)
|
input.input-sm.form-control.translation-input(data-index=row.index.toString(), value=row.toValue)
|
||||||
|
|
||||||
div#error-view
|
|
||||||
.clearfix
|
.clearfix
|
||||||
block footer
|
block footer
|
||||||
|
|
Loading…
Reference in a new issue