Files
database_editor/app/views/edit.ejs
T
2025-06-09 08:53:29 +02:00

51 lines
1.8 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>
<script defer>
var column_options = '<%- column_options %>';
var app_url = '<%= app_url %>';
</script>
</head>
<body>
<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="remove" style="cursor: pointer; margin-right: 10px;"><span>&#45; </span>Remove</label>
</div>
</div>
<div class="main_div">
<center><label>Edit record</label></center>
<table id="sql_table" style="text-align: center;">
<tr>
<%- table_header %>
</tr>
<%- table_data %>
</table>
<div style="display: flex; flex-direction: row; justify-content: space-between;">
<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_url %>/about">About</label></center>
</div>
</body>
</html>