General refactor

This commit is contained in:
2025-06-09 08:53:29 +02:00
parent e9296b44be
commit 9081853a6f
15 changed files with 43 additions and 72 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
<script src="<%= js_path %>" defer></script>
<script src="<%= chartjs %>"></script>
<script defer>
var steps = '<%= steps %>', max_rpm = '<%= max_rpm %>', max_throttle = '<%= max_throttle %>';
var steps = '<%= steps %>', max_rpm = '<%= max_rpm %>', max_throttle = '<%= max_throttle %>', app_url = '<%= app_url %>';
</script>
</head>
@@ -55,12 +55,12 @@
<table id="motor_table" style="text-align: center;"></table>
</div>
<div style="display: flex; flex-direction: row; justify-content: space-between;">
<a href="/app"><span>&#129152; </span>Return</a>
<a href="<%= app_url %>"><span>&#129152; </span>Return</a>
<label id="commit" style="cursor: pointer;"><span>&#9989; </span>Commit</label>
</div>
</div>
<div class="about_div">
<center><a href="/app/about">About</label></center>
<center><a href="<%= app_url %>/about">About</label></center>
</div>
</body>