mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 06:58:25 -04:00
installing socketIO and testing the WebSocket connection
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
{# google #}
|
||||
<script type="text/javascript" src="{{ asset_url('js/gtm_head.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ url_for('static', filename='js/chart.umd.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/socket.io.min.js') }}"></script>
|
||||
<meta name="google-site-verification" content="niWnSqImOWz6mVQTYqNb5tFK8HaKSB4b3ED4Z9gtUQ0" />
|
||||
{% if g.hide_from_search_engines %}
|
||||
<meta name="robots" content="noindex" />
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
Messages sent
|
||||
</h2>
|
||||
|
||||
<input id="message" autocomplete="off"><button id="sendButton">Send</button>
|
||||
<ul id="messages"></ul>
|
||||
|
||||
{{ ajax_block(partials, updates_url, 'inbox') }}
|
||||
|
||||
{{ ajax_block(partials, updates_url, 'totals') }}
|
||||
|
||||
Reference in New Issue
Block a user