Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="" />
<link href='' rel='stylesheet' type='text/css'>
.alerta-div {width:100%; padding:20px;}
.alerta-table {width:100%; border:1px solid lightgrey; text-align:center;}
<div class="mobile-alerts">Loading...</div>
<script src=""></script>
<script src=""></script>
<!-- Use http://localhost:8080/api/embed.js if you run docker image with alerta. -->
<script src="http://localhost:8080/embed.js"></script>
$(window).on('load', function () {
// Use http://localhost:8080/api as endpoint, if you run docker image with alerta.
// $.alerta.defaults.endpoint = 'http://localhost:8080';
// $.alerta.defaults.key = 'demo-key';
// or
$.alerta.defaults = {
endpoint: 'http://localhost:8080', // oEmbed endpoint becomes http://localhost:8080/oembed
key: 'demo-key'
function renew() {
$('.mobile-alerts').alerta('http://localhost:8080/alerts/count?service=Mobile&status=open', {title:'Mobile Service'});
setTimeout(renew, 30000);