Files
throttle_motor_mapping/app/views/index.ejs
T
2025-06-05 10:36:03 +02:00

54 lines
2.1 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>
<%= page_title %>
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="<%= css_path %>">
<script src="<%= js_path %>" defer></script>
</head>
<body>
<input type="file" id="file_input" accept=".csv" style="display: none;" />
<div class="control_div" style="display: flex; flex-direction: row; justify-content: space-between;">
<label style="font-size: 200%;">
<%= page_title %>
<%= program %>
</label>
<div style="display: flex;align-items: center;">
<label id="map_name" style="margin-right: 10px;"><%= map_name_msg %></label>
<label id="disable" style="cursor: pointer; margin-left: 10px; margin-right: 10px; display: <%= disable_display %>;"><span>&#9209; </span>Disable</label>
<label id="add" style="cursor: pointer; margin-left: 10px; margin-right: 10px;"><span>&#43; </span>Add</label>
<label id="upload" style="cursor: pointer; margin-left: 10px; margin-right: 10px;"><span>&#129093;
</span>Upload</label>
<label id="logout" style="cursor: pointer; margin-left: 10px;"><span>&#129092; </span>Logout</label>
</div>
</div>
<div class="main_div">
<center><label>Main</label></center>
<table id="map_table">
<tr>
<th>Filename</th>
<th>Name</th>
<th>id</th>
<th>Description</th>
</tr>
<tr>
<%- table_data %>
</tr>
</table>
</div>
<div class="about_div">
<center><a href="/app/about">About</label></center>
</div>
</body>
</html>