Skip to content

Commit e03f7c1

Browse files
committed
improve layout of install chooser section
1 parent 2e9d631 commit e03f7c1

File tree

1 file changed

+22
-26
lines changed

1 file changed

+22
-26
lines changed

httpGUI/installer.html

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -402,27 +402,6 @@ <h5 class="uppercase"> {{ modOptionGroup.name }} </h5>
402402
<div class="button-tabs vertical">
403403
<h4 class="uppercase mt40">Choose an install path</h4>
404404
<ul class="tabs">
405-
<li v-for="fullInstallConfig in fullInstallConfigs"
406-
v-on:click="onChoosePathButtonClicked(fullInstallConfig.path);"
407-
v-bind:key="fullInstallConfig.key">
408-
<div class="tab-title">
409-
Set install path to: "{{ fullInstallConfig.path }}"
410-
</div>
411-
</li>
412-
413-
<li>
414-
<div class="tab-title" v-show="selectedSubMod!==null" v-on:click=onChoosePathButtonClicked()>
415-
Select {{ {'mac':'Application (.app file)', 'windows':'Game Executable (.exe file)','linux':'Game Executable', null:'Game Executable'}[os] }} Manually (Open File Dialog)
416-
</div>
417-
<div v-if="os === 'mac'">
418-
MAC USERS: You must select a .app file. For example,
419-
<pre>/Users/[USERNAME]/library/application support/steam/
420-
steamapps/common/Higurashi When They Cry/HigurashiEp01.app</pre>
421-
</div>
422-
<div v-else>
423-
You can select one of the following: {{ selectedSubMod.identifiers }}<br><br>
424-
</div>
425-
</li>
426405
<table style="width:100%">
427406
<tr>
428407
<td style="width:23%;">Currently Chosen Path:</td>
@@ -437,19 +416,36 @@ <h4 class="uppercase mt40">Choose an install path</h4>
437416
<div v-if="installPathFocussed" style="color: red"><strong>Use manual entry as a last resort (if the file-chooser above doesn't work)</strong></div>
438417
<div v-if="validationInProgress">
439418
<div v-if="selectedInstallPath !== null" style="color: goldenrod"><strong>Validating...</strong></div>
419+
<div v-if="selectedInstallPath == null">Use the buttons below to select a path.</div>
440420
</div>
441421
<div v-else>
442422
<div v-if="installPathValid" style="color: green"><strong>Detected game at: {{ validatedInstallPath }}</strong></div>
443423
<div v-if="!installPathValid" style="color: red"><strong>Couldn't detect game!</strong></div>
444424
</div>
445425
</td>
446426
</tr>
447-
<tr>
448-
<td colspan="2">
449-
450-
</td>
451-
</tr>
452427
</table>
428+
<li v-for="fullInstallConfig in fullInstallConfigs"
429+
v-on:click="onChoosePathButtonClicked(fullInstallConfig.path);"
430+
v-bind:key="fullInstallConfig.key">
431+
<div class="tab-title">
432+
Use Autodetected Path: "{{ fullInstallConfig.path }}"
433+
</div>
434+
</li>
435+
436+
<li>
437+
<div class="tab-title" v-show="selectedSubMod!==null" v-on:click=onChoosePathButtonClicked()>
438+
Select {{ {'mac':'Application (.app file)', 'windows':'Game Executable (.exe file)','linux':'Game Executable', null:'Game Executable'}[os] }} Manually (Open File Dialog)
439+
</div>
440+
<div v-if="os === 'mac'">
441+
MAC USERS: You must select a .app file. For example,
442+
<pre>/Users/[USERNAME]/library/application support/steam/
443+
steamapps/common/Higurashi When They Cry/HigurashiEp01.app</pre>
444+
</div>
445+
<div v-else>
446+
You can select one of the following: {{ selectedSubMod.identifiers }}<br><br>
447+
</div>
448+
</li>
453449
</ul>
454450
</div>
455451
<transition name="fade">

0 commit comments

Comments
 (0)