track new item
This commit is contained in:
29
web/app.html
29
web/app.html
@ -1,16 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Aliexpress price tracker</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Load d3.js -->
|
||||
<script src="https://d3js.org/d3.v6.js"></script>
|
||||
|
||||
<!-- Create a div where the graphs will take place -->
|
||||
<div id="graphs"></div>
|
||||
<!--banner-->
|
||||
<div class="banner">
|
||||
<p>Lorem ipsum dolor sit amet</p>
|
||||
<input id="additemid" type="text" placeholder="item id" pattern="[0-9]*">
|
||||
<input id="addattributes" type="text" placeholder="attributes (comma separated)" pattern="[0-9a-zA-Z, ]*">
|
||||
<button id="addbutton" type="button">Add</button>
|
||||
</div>
|
||||
|
||||
<!-- <script src="http://127.0.0.1/app.js"></script> -->
|
||||
<script>
|
||||
let currenturl = (window.location);
|
||||
var s = document.createElement( 'script' );
|
||||
s.setAttribute( 'src', `${currenturl}/app.js` );
|
||||
document.body.appendChild( s );
|
||||
</script>
|
||||
<!-- div where graphs will take place -->
|
||||
<div class="content" id="graphs"></div>
|
||||
|
||||
<script src="app.js"></script>
|
||||
|
Reference in New Issue
Block a user