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

6 years ago
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>Ramtops Remedies and Reagents</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- UIkit CSS -->
  8. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.35/css/uikit.min.css" />
  9. <!-- UIkit JS -->
  10. <script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.35/js/uikit.min.js"></script>
  11. <script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.35/js/uikit-icons.min.js"></script>
  12. <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
  13. <style>
  14. </style>
  15. </head>
  16. <body>
  17. <div class="uk-container uk-container-large">
  18. <!-- Title -->
  19. <h3 class="uk-text-center uk-heading-line uk-margin-small-top">
  20. <a href="/" class="">Ramtops Remedies and Reagents</a>
  21. </h3>
  22. <!-- Top Bar -->
  23. <div class="" uk-grid>
  24. <div class="uk-width-1-3"> {% block left_top_bar %} {% endblock %} </div>
  25. <div class="uk-width-1-3 uk-text-center"> {% block center_top_bar %} {% endblock %} </div>
  26. <div class="uk-width-1-3">
  27. <a href="/shop/data" class="uk-button uk-button-primary uk-button-small uk-align-right uk-border-rounded">
  28. Report Stock
  29. </a>
  30. </div>
  31. </div>
  32. <!-- Page Content -->
  33. {% block content %} {% endblock %}
  34. <!-- Footer -->
  35. <footer class="uk-text-center uk-margin-large-top uk-margin-small-bottom">
  36. &copy; 2017 by <a href="http://binaryatrocity.name">Ruhsbaar</a>
  37. &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
  38. Created for Ramtops Remedies and Reagents
  39. &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
  40. <a href="http://discworld.starturtle.net">DiscworldMUD</a>
  41. </footer>
  42. </div>
  43. </body>
  44. {% block pagescripts %} {% endblock %}
  45. <script>
  46. function change_date_strings() {
  47. var times = document.querySelectorAll('table > tbody > tr > td:last-child');
  48. for(var time of times) {
  49. var local = new Date(time.textContent + 'Z');
  50. var options = {
  51. weekday: 'short',
  52. year: 'numeric',
  53. month: 'short',
  54. day: 'numeric',
  55. hour: 'numeric',
  56. minute: 'numeric',
  57. timeZoneName: 'short'
  58. };
  59. time.innerText = local.toLocaleString('en-US', options);
  60. }
  61. }
  62. /* On Page Ready */
  63. document.addEventListener("DOMContentLoaded", function(event) {
  64. change_date_strings();
  65. });
  66. </script>
  67. </html>