87 lines
4.1 KiB
HTML
Raw Normal View History

2024-01-13 23:13:11 +01:00
<!DOCTYPE html>
2024-01-31 01:06:26 +01:00
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <link href='https://overpass-30e2.kxcdn.com/overpass.css' rel='stylesheet'> -->
2024-02-11 18:24:43 +01:00
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
2024-01-31 01:06:26 +01:00
<title>Aliexpress price tracker</title>
</head>
<body>
2024-01-13 23:13:11 +01:00
<!-- Load d3.js -->
<script src="https://d3js.org/d3.v6.js"></script>
<!--load bootstrap-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
2024-01-13 23:13:11 +01:00
2024-01-31 01:06:26 +01:00
<!--banner-->
<div class="banner">
<p></p>
2024-02-16 23:06:24 +01:00
<div class="btn-toolbar btn-group-sm" role="toolbar" aria-label="Toolbar">
<div class="btn-group mr-2 w-50" role="group" aria-label="Add group">
2024-02-17 00:18:24 +01:00
<input id="additemid" type="text" class="form-control input-sm w-15 w-50" placeholder="item id" pattern="[0-9]+" required>
<input id="addattributes" type="text" class="form-control input-sm w-15" placeholder="attributes (comma separated)" pattern="[0-9a-zA-Z, ]*">
2024-02-16 23:06:24 +01:00
<button id="addbutton" class="btn btn-secondary" type="button">add</button>
</div>
<div class="btn-group mr-2" role="group" aria-label="Manage list group">
2024-02-16 23:06:24 +01:00
<button id="manage_list" class="btn btn-secondary" type="button">manage list</button>
</div>
<div class="dropdown btn-group mr-2" id="filters">
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown">
filters
</button>
<div class="dropdown-menu">
<input type="checkbox" name="myCheckBox" value="loremipsum">loremipsum<br>
<input type="checkbox" name="myCheckBox" value="loremipsum">loremipsum<br>
</div>
</div>
<div class="btn-group mr-2" role="group" aria-label="Toggle show group">
2024-02-16 23:06:24 +01:00
<button id="global_toggleshow" class="btn btn-secondary" type="button">show hidden</button>
</div>
</div>
</div>
<!--popup manage list-->
<div id="manageListPopup" class="popup">
<div class="popup-content">
<button id="create_list" type="button" class="btn btn-secondary">create</button>
<button id="modify_list" type="button" class="btn btn-secondary">modify</button>
<button id="delete_list" type="button" class="btn btn-secondary">delete</button>
</div>
2024-01-31 01:06:26 +01:00
</div>
2024-01-13 23:13:11 +01:00
<!--popup create new list-->
<div id="createListPopup" class="popup">
<div class="popup-content">
<p>Create new list</p>
<input id="listName" type="text" placeholder="name">
<input id="listDescription" type="text" placeholder="description">
<button id="create_list_add" type="button" class="btn btn-secondary">add</button>
<button id="create_list_cancel" type="button" class="btn btn-secondary">cancel</button>
<p>Include items</p>
<div id="checkbox-container"></div>
</div>
</div>
<!--popup confirmation window-->
<div id="confirmationPopup" class="popup">
<div class="popup-content">
<p>Are you sure?</p>
<button id="yesBtn" type="button" class="btn btn-secondary">Yes</button>
<button id="noBtn" type="button" class="btn btn-secondary">No</button>
</div>
</div>
2024-01-31 01:06:26 +01:00
<!-- div where graphs will take place -->
<div class="content" id="graphs"></div>
<!-- Load scripts-->
2024-02-11 18:24:43 +01:00
<script src="{{ url_for('static', filename='fetch.js') }}"></script>
<script src="{{ url_for('static', filename='popups.js') }}"></script>
2024-02-11 18:24:43 +01:00
<script src="{{ url_for('static', filename='rendergraphs.js') }}"></script>
<script src="{{ url_for('static', filename='app.js') }}"></script>