Skip to content

Commit 08c5cf3

Browse files
committed
Add tcp port field to download form
1 parent c88ae9a commit 08c5cf3

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

src/templates/index.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -480,20 +480,27 @@ <h5 style="margin-left: 35px; margin-top:2px"><span class="oi oi-signpost" ></sp
480480
<input class="form-check-input" type="radio" name="dbSvr" id="remoteDbSvr" value="remoteDbSvr" onchange="EnableDisableElmnt(this)" onclick="saveChecked(this)">
481481
<label class="form-check-label" for="remoteDbSvr">Your own DB server (You will need to have a PostgreSQL installed, configured and accessible from the intenet)</label>
482482
</div>
483-
<div class="form-group" style="margin-left: 30px;margin-right: 10px; margin-top:5px; margin-bottom: 15px;max-width: 300px">
484-
<label class="form-check-label" for="dbHost"><i>DB Host:</i></label>
485-
<input type="text" class="form-control" id="dbHost" name="dbHost" placeholder="eg. 125.63.60.148" disabled>
483+
<div class="form-row">
484+
<div class="col" style="margin-left: 15px; margin-top:2px; margin-bottom: 5px; max-width: 310px">
485+
<label class="form-check-label" for="dbHost"><i>DB Host:</i></label>
486+
<input type="text" class="form-control" id="dbHost" name="dbHost" placeholder="eg. 125.63.60.148" disabled>
487+
</div>
488+
<div class="col" style="margin-top:2px; margin-bottom: 5px;max-width: 80px">
489+
<label class="form-check-label" for="dbPort"><i>Port:</i></label>
490+
<input type="text" class="form-control" id="dbPort" name="dbPort" placeholder="5432" title="Currently the port has to be 5432. Future updates will include an ability to change the default port." disabled>
491+
</div>
486492
</div>
487-
<div class="form-group" style="margin-left: 30px;margin-right: 10px; margin-top:5px; margin-bottom: 15px;max-width: 300px">
493+
<div class="form-group" style="margin-left: 15px;margin-right: 10px; margin-top:5px; margin-bottom: 15px;max-width: 300px">
488494
<label class="form-check-label" for="dbUser"><i>DB User:</i></label>
489495
<input type="text" class="form-control" id="dbUser" name="dbUser" placeholder="eg. postgres" disabled>
490496
</div>
491-
<div class="form-group" style="margin-left: 30px;margin-right: 10px; margin-top:5px; margin-bottom: 15px;max-width: 300px">
497+
<div class="form-group" style="margin-left: 15px;margin-right: 10px; margin-top:5px; margin-bottom: 15px;max-width: 300px">
492498
<label class="form-check-label" for="dbPass"><i>DB Password:</i></label>
493499
<input type="text" class="form-control" id="dbPass" name="dbPass" placeholder="eg. password" disabled>
494500
</div>
495501
<div>
496-
<input type="hidden" name="dbHST" id="dbHST">
502+
<input type="hidden" name="dbHST" id="dbHST">
503+
<input type="hidden" name="dbPRT" id="dbPRT">
497504
<input type="hidden" name="dbUN" id="dbUN">
498505
<input type="hidden" name="dbPW" id="dbPW">
499506
</div>

0 commit comments

Comments
 (0)