111 lines
4.9 KiB
HTML
111 lines
4.9 KiB
HTML
<!DOCTYPE html>
|
|
<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'> -->
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
<title>Aliexpress price tracker</title>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- 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>
|
|
|
|
<!--banner-->
|
|
<div class="banner">
|
|
<p></p>
|
|
<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">
|
|
<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, ]*">
|
|
<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">
|
|
<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 id="filters_checkboxes" class="dropdown-menu">
|
|
</div>
|
|
</div>
|
|
<div class="btn-group mr-2" role="group" aria-label="Toggle show group">
|
|
<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>
|
|
</div>
|
|
|
|
<!--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 modify list-->
|
|
<div id="modifyListPopup" class="popup">
|
|
<div class="popup-content">
|
|
<p>Modify list</p>
|
|
<div class="dropdown btn-group mr-2" id="modifylist_dropdown">
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown">
|
|
Itemlist
|
|
</button>
|
|
<ul id="modify_itemlist_choice" class="dropdown-menu">
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div id="modifylist_content">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- popup delete list -->
|
|
<div id="deleteListPopup" class="popup">
|
|
<div class="popup-content">
|
|
<p>Delete list</p>
|
|
<div id="checkbox-container2"></div>
|
|
<button id="delete_list_ok" type="button" class="btn btn-secondary">ok</button>
|
|
<button id="delete_list_cancel" type="button" class="btn btn-secondary">cancel</button>
|
|
</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>
|
|
|
|
<!-- div where graphs will take place -->
|
|
<div class="content" id="graphs"></div>
|
|
|
|
<!-- Load scripts-->
|
|
<script src="{{ url_for('static', filename='fetch.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='popups.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='rendergraphs.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='list.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='app.js') }}"></script>
|