removed old static contents, replaced by parcel packing
This commit is contained in:
parent
aea9352ada
commit
67fba48714
7
static/css/bootstrap.min.css
vendored
7
static/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
7
static/js/bootstrap.min.js
vendored
7
static/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
2
static/js/jquery-3.5.1.min.js
vendored
2
static/js/jquery-3.5.1.min.js
vendored
File diff suppressed because one or more lines are too long
61
static/js/plotly-latest.min.js
vendored
61
static/js/plotly-latest.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,42 +0,0 @@
|
||||
$(document).ready(function () {
|
||||
GRAPH = $("#price_chart")[0];
|
||||
|
||||
var layout = {
|
||||
dragmode: "pan"
|
||||
};
|
||||
|
||||
var config = {
|
||||
scrollZoom: true,
|
||||
displayModeBar: false,
|
||||
responsive: true,
|
||||
};
|
||||
|
||||
Plotly.newPlot(GRAPH, [{
|
||||
x: [1, 2, 3, 4, 5],
|
||||
y: [1, 2, 4, 8, 100]
|
||||
}], layout, config);
|
||||
|
||||
var socket = io();
|
||||
|
||||
$("#button").click(function () {
|
||||
var row = $(this).closest("tr")[0];
|
||||
var id = row.firstElementChild.textContent;
|
||||
|
||||
socket.emit("close", {
|
||||
id: id
|
||||
})
|
||||
})
|
||||
|
||||
socket.on("connect", function(socket) {
|
||||
$("#connectedtoast").toast("show")
|
||||
});
|
||||
|
||||
socket.on("disconnect", function(socket) {
|
||||
$("#disconnectedtoast").toast("show")
|
||||
});
|
||||
|
||||
socket.on("new_tick", function(data) {
|
||||
console.log("Tick " + data['tick'] + "| Price: " + data['price']);
|
||||
});
|
||||
|
||||
});
|
9
static/js/socket.io.min.js
vendored
9
static/js/socket.io.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user