mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-16 10:32:08 -05:00
game counter in search placeholder
This commit is contained in:
parent
cce3cbcda5
commit
a9a28b48ac
@ -32,6 +32,7 @@
|
|||||||
<div class="title"><img src="./favicon.png" style="width:4%;"><h2 style="font-size:50px">e-gamepass</h2></div>
|
<div class="title"><img src="./favicon.png" style="width:4%;"><h2 style="font-size:50px">e-gamepass</h2></div>
|
||||||
<a href="javascript:downloadMainSave()">Download Save</a><a href="javascript:uploadMainSave()">Upload Save</a>
|
<a href="javascript:downloadMainSave()">Download Save</a><a href="javascript:uploadMainSave()">Upload Save</a>
|
||||||
<br>
|
<br>
|
||||||
|
<p id="gamecounter"></p>
|
||||||
<input type="text" id="gamesearch" placeholder="Type here to search.."> <br>
|
<input type="text" id="gamesearch" placeholder="Type here to search.."> <br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
$.getJSON("/games.json", function (data) {
|
$.getJSON("/games.json", function (data) {
|
||||||
|
$("#gamesearch").prop({placeholder: "Click here to search through our " + data.length + " games!"});
|
||||||
data.sort(dynamicSort("name"));
|
data.sort(dynamicSort("name"));
|
||||||
for (let i = 0; i < data.length; i++) {
|
for (let i = 0; i < data.length; i++) {
|
||||||
$('#games').append(
|
$('#games').append(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user