mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-11-24 13:49:22 +01:00
95ab0074ea
prompt component - wip
108 lines
6.4 KiB
Plaintext
108 lines
6.4 KiB
Plaintext
<template name="config-menu__debug">
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<form class="config__form">
|
|
<div class="config__wrapper">
|
|
<div class="config-debug">
|
|
<div class="config-debug__scroll">
|
|
<div class="config-debug-option">
|
|
<label
|
|
class="config-debug-option__label"
|
|
>
|
|
<div>Warp</div>
|
|
</label>
|
|
<div class="config-debug__option-split">
|
|
<div class="config-debug__option-controls">
|
|
<div class="config-debug__select-wrapper">
|
|
<div class="config-debug__select-label"><div>Region</div></div>
|
|
<select data-value="area_index" onchange="area_index_changed" id="area_index_select" style="nav-up: #tab_debug">
|
|
<option data-for="area, i : area_names" data-attr-value="i">{{area}}</option>
|
|
</select>
|
|
</div>
|
|
<div class="config-debug__select-wrapper">
|
|
<div class="config-debug__select-label"><div>Scene</div></div>
|
|
<select data-value="scene_index" onchange="scene_index_changed">
|
|
<option data-for="scene, i : scene_names" data-attr-value="i">{{scene}}</option>
|
|
</select>
|
|
</div>
|
|
<div class="config-debug__select-wrapper">
|
|
<div class="config-debug__select-label"><div>Entrance</div></div>
|
|
<select data-value="entrance_index">
|
|
<option data-for="entrance, i : entrance_names" data-attr-value="i">{{entrance}}</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="config-debug__option-trigger">
|
|
<button
|
|
class="icon-button icon-button--success" onclick="do_warp"
|
|
>
|
|
<svg src="icons/Arrow.svg" />
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="config-debug-option">
|
|
<label
|
|
class="config-debug-option__label"
|
|
>
|
|
<div>Set time</div>
|
|
</label>
|
|
<div class="config-debug__option-split">
|
|
<div class="config-debug__option-controls">
|
|
<div class="config-option__range-wrapper config-debug__select-wrapper config-option__list">
|
|
<div class="config-debug__select-label"><div>Day: {{debug_time_day}}</div></div>
|
|
<input
|
|
data-event-blur="set_cur_config_index(-1)"
|
|
data-event-focus="set_cur_config_index(1)"
|
|
class="nav-vert"
|
|
id="debug_time_set_day"
|
|
type="range"
|
|
data-value="debug_time_day"
|
|
min="0"
|
|
max="7"
|
|
/>
|
|
</div>
|
|
<div class="config-option__range-wrapper config-debug__select-wrapper config-option__list">
|
|
<div class="config-debug__select-label"><div>Hour: {{debug_time_hour}}</div></div>
|
|
<input
|
|
data-event-blur="set_cur_config_index(-1)"
|
|
data-event-focus="set_cur_config_index(1)"
|
|
class="nav-vert"
|
|
id="debug_time_set_hour"
|
|
type="range"
|
|
data-value="debug_time_hour"
|
|
min="0"
|
|
max="23"
|
|
/>
|
|
</div>
|
|
<div class="config-option__range-wrapper config-debug__select-wrapper config-option__list">
|
|
<div class="config-debug__select-label"><div>Minute: {{debug_time_minute}}</div></div>
|
|
<input
|
|
data-event-blur="set_cur_config_index(-1)"
|
|
data-event-focus="set_cur_config_index(1)"
|
|
class="nav-vert"
|
|
id="debug_time_set_minute"
|
|
type="range"
|
|
data-value="debug_time_minute"
|
|
min="0"
|
|
max="59"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div class="config-debug__option-trigger">
|
|
<button
|
|
class="icon-button icon-button--success" onclick="set_time"
|
|
>
|
|
<svg src="icons/Arrow.svg" />
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</template>
|
|
|