codecombat/app/templates/play/level/modal/game-dev-victory-modal.jade

18 lines
612 B
Text
Raw Normal View History

Game dev levels (#3810) * Tweak API doc behavior and styling * Instead of moving to the left during active dialogues, just move to the top * Allow pointer events * Adjust close button * Re-enable pinning API docs for game-dev and web-dev levels * Make sidebar in PlayGameDevLevelView stretch, better layout columns * Set up content of PlayGameDevLevelView sidebar to scroll * Add rest of PlayGameDevLevelView sidebar content, rework what loading looks like * Finish PlayGameDevLevelView * Add share area below * Cover the brown background, paint it gray * Tweak PlayGameDevLevelView * Have progress bar show everything * Fix Surface resize handling * Fix PlayGameDevLevelView resizing incorrectly when playing * Add GameDevVictoryModal to PlayGameDevLevelView * Don't show missing-doctype annotation in Ace * Hook up GameDevVictoryModal copy button * Fix onChangeAnnotation runtime error * Fix onLevelLoaded runtime error * Have CourseVictoryModal link to /courses when course is done * Trim, update CourseDetailsView * Remove last vestiges of teacherMode * Remove giant navigation buttons at top * Quick switch to flat style * Add analytics for game-dev * Update Analytics events for gamedev * Prefix event names with context * Send to Mixpanel * Include more properties * Mostly set up indefinite play and autocast for game-dev levels * Set up cast buttons and shortcut for game-dev * Add rudimentary instructions when students play game-dev levels * Couple tweaks * fix a bit of code that expects frames to always stick around * have PlayGameDevLevelView render a couple frames on load * API Docs use 'game' instead of 'hero' * Move tags to head without combining * Add HTML comment-start string Fixes missing entry point arrows * Fix some whitespace
2016-07-28 16:39:58 -04:00
extends /templates/core/modal-base-flat
block modal-header-content
h3.text-center You beat the game!
block modal-body-content
.text-center Share this level so your friends and family can play it:
.share-row.text-center
input#copy-url-input.text-h4.semibold.form-control.input-lg(value=view.shareURL)
button#copy-url-btn.btn.btn-lg.btn-navy-alt
span(data-i18n='sharing.copy_url')
block modal-footer-content
.text-center
button#replay-game-btn.btn.btn-navy.btn-lg(data-dismiss="modal") Replay Game
a#play-more-codecombat-btn.btn.btn-navy.btn-lg(href="/") Play More CodeCombat