Skip to content

Commit 07aa607

Browse files
committed
Update installer.blade.php
1 parent 7fb8ecb commit 07aa607

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

resources/views/installer/installer.blade.php

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,22 @@
188188
</select>
189189

190190
<label>Set your page as Home Page</label>
191-
<select style="max-width:300px" class="form-control" name="page">
191+
<select id="select" style="max-width:300px" class="form-control" name="page">
192192
<option>No</option>
193193
<option>Yes</option>
194194
</select>
195+
<style>.hidden{visibility:visible!important;}</style>
196+
<span class="" id="hidden" style="visibility:hidden;display:flex;margin-top:-22px;margin-bottom:10px;color:#6c757d;font-size:90%;">This will move the Home Page to /home</span>
197+
<script src="{{ asset('studio/external-dependencies/jquery-3.4.1.min.js') }}"></script>
198+
<script>
199+
$("#select").change(function(){
200+
if($(this).val() == "Yes") {
201+
$('#hidden').addClass('hidden');
202+
} else {
203+
$('#hidden').removeClass('hidden');
204+
}
205+
});
206+
</script>
195207

196208
<label>App Name:</label>
197209
<input style="max-width:275px;" class="form-control" value="LittleLink Custom" name="app" type="text" required>

0 commit comments

Comments
 (0)