Hide advanced settings

This commit is contained in:
Thomas Weber committed 2021-05-30 12:28:00 -05:00
1 parent 2e4979b551
commit 767bfd8a49
1 file changed
+22 -20
+22 -20
View File
@@ -308,27 +308,29 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<section class="hide-loading card">
<h2>Advanced</h2>
<p>You probably don't want to change these.</p>
<div>
<label>
Enable compiler
<input name="turbowarp.compilerOptions.enabled" type="checkbox" checked>
</label>
</div>
<div>
<label>
Warp timer
<input name="turbowarp.compilerOptions.warpTimer" type="checkbox" checked>
</label>
</div>
<div>
<label>
Custom JS
<textarea name="turbowarp.customJS">// Very dangerous feature. Use with care. Syntax errors will break output. DO NOT edit if you don't know what you're doing.
</textarea>
</label>
</div>
<details>
<summary>You probably don't want to change these. (Click to open)</summary>
<div>
<label>
Enable compiler
<input name="turbowarp.compilerOptions.enabled" type="checkbox" checked>
</label>
</div>
<div>
<label>
Warp timer
<input name="turbowarp.compilerOptions.warpTimer" type="checkbox" checked>
</label>
</div>
<div>
<label>
Custom JS
<textarea name="turbowarp.customJS">// Very dangerous feature. Use with care. Syntax errors will break output. DO NOT edit if you don't know what you're doing.
</textarea>
</label>
</div>
</details>
</section>
<section class="hide-loading card">