Difference between revisions of "Widget:ServerStatus"
From DDO Compendium
m (update: fix link for images in server status widget) |
m (Update route for server status widget. Needed to update it because it was running on a deprecated infrastructure that is going to be unsupported in the near future) |
||
Line 46: | Line 46: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$('.loading').html('<img src="https://ddo-compendium-uploads.s3.amazonaws.com/b/b8/Loading_Circle.gif" />'); | $('.loading').html('<img src="https://ddo-compendium-uploads.s3.amazonaws.com/b/b8/Loading_Circle.gif" />'); | ||
$.getJSON( "https:// | $.getJSON( "https://3ei7kn7eti.execute-api.us-east-2.amazonaws.com", function ( status ) { | ||
if (status.argonnessen == 1) { | if (status.argonnessen == 1) { | ||
$("#argo-status").empty().html('<img src="https://ddo-compendium-files.s3.amazonaws.com/9/93/Green_Check.png" />'); | $("#argo-status").empty().html('<img src="https://ddo-compendium-files.s3.amazonaws.com/9/93/Green_Check.png" />'); |
Revision as of 04:03, 27 February 2024
About[edit]
This widget will display the server statuses for Dungeons and Dragons Online.
How to Use[edit]
Add the following code snippet on a page you wish to use it on. The endpoint that this widget uses is rate limited, so please use it sparingly.
{{#widget:ServerStatus}}