- migrated old page to new partials

- fixed setDemoData endpoint
This commit is contained in:
2023-05-01 18:36:24 +02:00
parent 5a21e56e80
commit 58a36d36ec
5 changed files with 26 additions and 72 deletions

View File

@ -1,4 +1,4 @@
<%~ E.includeFile("head.eta.html") %>
<%~ E.includeFile("head.eta.html", {"title": "Bootstrap Demo Page"}) %>
<div class="alert alert-primary" role="alert">
A simple primary alert—check it out!

View File

@ -5,7 +5,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>AssetFlow - Info about item</title>
<title>AssetFlow - <%= it.title %></title>
<meta name="description" content="A simple HTML5 Template for new projects." />
<meta name="author" content="[Project-Name-Here]" />

View File

@ -1,24 +1,5 @@
<!DOCTYPE html>
<%~ E.includeFile("head.eta.html", {"title": "Item Info"}) %>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>AssetFlow - Info about item</title>
<meta name="description" content="A simple HTML5 Template for new projects." />
<meta name="author" content="[Project-Name-Here]" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<script src="/static/jquery/dist/jquery.min.js"></script>
<link href="/static/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
<script src="/static/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="ui raised very padded text container segment">
<h2 class="ui header"><%= it.name %></h2>
<p><strong>Category:</strong> <%= it.category%></p>
@ -27,5 +8,5 @@
<p><strong>Comment:</strong> <%= it.comment %></p>
</div>
</body>
</html>
<%~ E.includeFile("foot.eta.html") %>