-
Notifications
You must be signed in to change notification settings - Fork 4
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
10101349
authored and
10101349
committed
Dec 4, 2024
1 parent
b7d87ca
commit 918516c
Showing
11 changed files
with
173 additions
and
37 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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from django.conf.urls import url | ||
from django.urls import re_path | ||
from src.Chartboard.app.views.wshandler import WSConsumer | ||
|
||
websocket_urlpatterns = [ | ||
url(r'^communication/websocket$', WSConsumer.as_asgi()), | ||
re_path(r'^communication/websocket$', WSConsumer.as_asgi()), | ||
] |
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
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
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
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
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
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,81 @@ | ||
{% load static %} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<title>Chartboard</title> | ||
|
||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script> | ||
|
||
|
||
<!-- <script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/jquery-3.4.1.min.js"></script>--> | ||
<script type="text/javascript" src="https://webapps1.chicago.gov/cdn/jQuery-3.4.1/jquery-3.4.1.min.js"></script> | ||
|
||
|
||
<!-- <script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/popper.min.js"></script>--> | ||
|
||
|
||
|
||
<!-- <script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chart.bundle.js"></script>--> | ||
|
||
|
||
<!--<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chartjs-plugin-trendline.min.js"></script>--> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-trendline/dist/chartjs-plugin-trendline.min.js"></script> | ||
|
||
|
||
<!--<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chartjs-plugin-labels.min.js"></script>--> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/emn178/chartjs-plugin-labels/src/chartjs-plugin-labels.js"></script> | ||
|
||
|
||
<!--<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chartjs-plugin-tsgauge.js"></script>--> | ||
<!--<script type="text/javascript" src="https://raw.githubusercontent.com/kluverua/Chartjs-tsgauge/refs/heads/master/Gauge.js"></script>!!!!!!!!!!!!--> | ||
|
||
|
||
<!--<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chartjs-plugin-radialgauge.js"></script>--> | ||
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.bundle.min.js"></script> LA VERSION EST LA BONNE ?--> | ||
<!-- <script src="node_modules/chartjs-chart-radial-gauge/build/Chart.RadialGauge.umd.min.js"></script>--> | ||
|
||
|
||
|
||
<!--<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chart-plugin-test-linearradial.js"></script>--> | ||
|
||
|
||
|
||
|
||
<!-- ------------------------------------------------------------------------------------------------------- --> | ||
<!-- <link type="text/css" rel="stylesheet" href="https://raw.githack.com/the-maux/Chartboard-CDN/master/bootstrap.min.css">--> | ||
<!-- Latest compiled and minified CSS --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | ||
|
||
<!-- Optional theme --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> | ||
|
||
<!-- Latest compiled and minified JavaScript --> | ||
<!--<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/bootstrap.min.js"></script>--> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | ||
|
||
|
||
<!-- ------------------------------------------------------------------------------------------------------- --> | ||
|
||
|
||
|
||
|
||
|
||
{% for file in CHARTBOARD_css %} | ||
<link href="{% static file %}" rel="stylesheet" media="screen"> | ||
{% endfor %} | ||
{% for file in CHARTBOARD_js %} | ||
<script type="text/javascript" src="{% static file %}"></script> | ||
{% endfor %} | ||
{% block head %} {% endblock %} | ||
|
||
</head> | ||
|
||
<body class="flipboard fadeIn"> | ||
<div class="sticky-top alert alert-danger bouton-image monBouton" id="alertDeconnection"></div> | ||
{% block put_body %} {% endblock %} | ||
<script> $("#alertDeconnection").hide(); </script> | ||
</body> | ||
</html> |
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,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<title>Chartboard</title> | ||
<link type="text/css" rel="stylesheet" href="https://raw.githack.com/the-maux/Chartboard-CDN/master/bootstrap.min.css"> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script> | ||
<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/jquery-3.4.1.min.js"></script> | ||
<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/popper.min.js"></script> | ||
<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/bootstrap.min.js"></script> | ||
<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chart.bundle.js"></script> | ||
<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chartjs-plugin-trendline.min.js"></script> | ||
<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chartjs-plugin-labels.min.js"></script> | ||
<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chartjs-plugin-tsgauge.js"></script> | ||
<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chartjs-plugin-radialgauge.js"></script> | ||
<script type="text/javascript" src="https://raw.githack.com/the-maux/Chartboard-CDN/master/chart-plugin-test-linearradial.js"></script> | ||
|
||
|
||
<link href="/static/css/layout.css" rel="stylesheet" media="screen"> | ||
|
||
|
||
<script type="text/javascript" src="/static/js/websocket.js"></script> | ||
|
||
<script type="text/javascript" src="/static/js/style.js"></script> | ||
|
||
<script type="text/javascript" src="/static/js/Chartboard.js"></script> | ||
|
||
<script type="text/javascript" src="/static/tiles/chartjs.js"></script> | ||
|
||
<script type="text/javascript" src="/static/tiles/text_value.js"></script> | ||
|
||
|
||
|
||
</head> | ||
|
||
<body class="flipboard fadeIn"> | ||
<div class="sticky-top alert alert-danger bouton-image monBouton" id="alertDeconnection"></div> | ||
|
||
|
||
<div data-fliptime-interval="10" id="CarboardIframe"> | ||
|
||
</div> | ||
|
||
|
||
<script> $("#alertDeconnection").hide(); </script> | ||
</body> | ||
</html> |
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