Track items sold and graph profit for player shop inventory.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

76 lines
2.9 KiB

<!doctype html>
<html>
<head>
<title>Ramtops Remedies and Reagents</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- UIkit CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.35/css/uikit.min.css" />
<!-- UIkit JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.35/js/uikit.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.35/js/uikit-icons.min.js"></script>
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<style>
</style>
</head>
<body>
<div class="uk-container uk-container-large">
<!-- Title -->
<h3 class="uk-text-center uk-heading-line uk-margin-small-top">
<a href="/" class="">Ramtops Remedies and Reagents</a>
</h3>
<!-- Top Bar -->
<div class="" uk-grid>
<div class="uk-width-1-3"> {% block left_top_bar %} {% endblock %} </div>
<div class="uk-width-1-3 uk-text-center"> {% block center_top_bar %} {% endblock %} </div>
<div class="uk-width-1-3">
<a href="/shop/data" class="uk-button uk-button-primary uk-button-small uk-align-right uk-border-rounded">
Report Stock
</a>
</div>
</div>
<!-- Page Content -->
{% block content %} {% endblock %}
<!-- Footer -->
<footer class="uk-text-center uk-margin-large-top uk-margin-small-bottom">
&copy; 2017 by <a href="http://binaryatrocity.name">Ruhsbaar</a>
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
Created for Ramtops Remedies and Reagents
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="http://discworld.starturtle.net">DiscworldMUD</a>
</footer>
</div>
</body>
{% block pagescripts %} {% endblock %}
<script>
function change_date_strings() {
var times = document.querySelectorAll('table > tbody > tr > td:last-child');
for(var time of times) {
var local = new Date(time.textContent + 'Z');
var options = {
weekday: 'short',
year: 'numeric',
month: 'short',
day: 'numeric',
hour: 'numeric',
minute: 'numeric',
timeZoneName: 'short'
};
time.innerText = local.toLocaleString('en-US', options);
}
}
/* On Page Ready */
document.addEventListener("DOMContentLoaded", function(event) {
change_date_strings();
});
</script>
</html>