move sorting to the database
All checks were successful
pedestrian-simulator / build (push) Successful in 1m2s
All checks were successful
pedestrian-simulator / build (push) Successful in 1m2s
This commit is contained in:
@@ -153,14 +153,21 @@
|
||||
<div class="sort-controls">
|
||||
<label>Sort by:</label>
|
||||
<select id="myFilesSortSelect">
|
||||
<option value="date">Newest First</option>
|
||||
<option value="date">Most Recent</option>
|
||||
<option value="distance">Distance</option>
|
||||
<option value="filename">Filename</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="myFilesList" class="kml-file-list">
|
||||
<p class="empty-message">No KML files uploaded yet</p>
|
||||
</div>
|
||||
|
||||
<div class="pagination-controls">
|
||||
<button id="prevMyPage" class="pagination-btn" disabled>← Previous</button>
|
||||
<span id="myPageNum">Page 1</span>
|
||||
<button id="nextMyPage" class="pagination-btn">Next →</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Public Files Tab -->
|
||||
@@ -170,6 +177,7 @@
|
||||
<select id="publicFilesSortSelect">
|
||||
<option value="votes">Highest Votes</option>
|
||||
<option value="date">Most Recent</option>
|
||||
<option value="distance">Distance</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user