-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> | ||
</head> | ||
<style> | ||
a:link { | ||
color: black !important; | ||
text-decoration: none; | ||
} | ||
/* mouse over link */ | ||
a:hover { | ||
color: black; | ||
text-decoration: none; | ||
} | ||
</style> | ||
<body class="container-fluid" style="background-color:rgba(59,130,246,0.5);"> | ||
<div class="container mt-5"> | ||
<div class="card p-2"> | ||
<div class="card-header"> | ||
<div class="card-title"> | ||
<h3>MEETINGS</h3> | ||
</div> | ||
</div> | ||
<div class="card-body"> | ||
<div class="row"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script> | ||
<script> | ||
$.ajax({ | ||
url:"http://dev.api.grs.bet/api/v3/combined/meetings/races", | ||
method:"GET" | ||
}).done(function(response){ | ||
console.log(response.data); | ||
for(var i=0; i<=response.data.length; i++) | ||
{ | ||
console.log(response.data[i]); | ||
$(".row").append('<div class="col-4 mb-2 mt-2 p-2"><a href="" target="_blank"><b>'+response.data[i].name+'</b> ('+response.data[i].max_race_count+')</a></div>'); | ||
} | ||
}); | ||
</script> | ||
</html> |
9aaef26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
propunters – ./
propunters-krixnaas.vercel.app
propunters-git-main-krixnaas.vercel.app
propunters.vercel.app