Skip to content

Commit

Permalink
Merge pull request #40 from level66network/main
Browse files Browse the repository at this point in the history
Small improvements.
  • Loading branch information
dqos authored Apr 6, 2024
2 parents 312b5b1 + f6b9153 commit 0443b48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
</a>
</div>
<div class="col-4 float-end">
<select class="form-select" onchange="window.location = this.options[this.selectedIndex].value">
<select class="form-select" onchange="window.location = this.options[this.selectedIndex].value" <?php if (count($templateData['locations']) == 0) echo 'disabled'; ?>>
<option selected><?php echo $templateData['current_location'] ?></option>
<?php foreach ($templateData['locations'] as $location => $link): ?>
<option value="<?php echo $link ?>"><?php echo $location ?></option>
Expand Down Expand Up @@ -271,7 +271,8 @@
</div>
</div>
<?php endif ?>


<?php if (count($templateData['speedtest_files'])): ?>
<div class="row">
<label class="mb-2 text-muted">Test Files</label>
<div class="btn-group input-group mb-3">
Expand All @@ -280,6 +281,7 @@
<?php endforeach ?>
</div>
</div>
<?php endif ?>

</div>
</div>
Expand Down

0 comments on commit 0443b48

Please sign in to comment.