codecombat/app/templates/editor/level/modal/terrain_randomize.jade
Jayant Jain c33491b04d Presets in terrain_generate_modal shown from a list instead of hardcoded
Conflicts:
	app/templates/editor/level/modal/terrain_randomize.jade
2014-07-25 17:51:48 +05:30

16 lines
675 B
Text

extends /templates/modal/modal_base
block modal-header-content
h3(data-i18n="editor.pick_a_terrain") Pick a Terrain
block modal-body-content
div#normal-view
each sizeObject, size in presetSizes
each preset in presets
a(href="#")
div.choose-option(data-preset-type=preset.type, data-preset-size=size, style="background:url(/images/pages/editor/level/preset_grassy_small.jpg) no-repeat center; background-size: cover")
div.preset-size.name-label.capitalize
span(data-i18n="editor."+size) #{size}
div.preset-name.capitalize
span(data-i18n="editor.grassy") #{preset.type}
block modal-footer