guestbook-ng/templates/layouts/default.html.ep

36 lines
796 B
Plaintext
Raw Normal View History

2021-12-04 05:11:37 +00:00
<!DOCTYPE html>
<html>
<head>
2021-12-05 04:51:38 +00:00
<title>Guestbook-NG - <%= title %></title>
2021-12-25 06:05:34 +00:00
<meta name="viewport" content= "width=device-width, initial-scale=1.0">
2021-12-23 04:18:35 +00:00
<%= asset 'swagg.css' %>
2021-12-04 05:11:37 +00:00
</head>
<body>
2021-12-25 06:05:34 +00:00
<div class="outer">
2022-01-02 02:39:04 +00:00
<h1 id="top">Guestbook-NG</h1>
<nav>
<%= link_to View => 'index' %>
<%= link_to Sign => 'sign' %>
</nav>
2022-01-02 04:37:41 +00:00
<% if (flash 'error') { =%>
<div class="error">
<h2>Stop! You've violated the law:</h2>
<p><%= flash 'error' %></p>
2022-01-02 22:53:43 +00:00
<p>Please report to the
<%= link_to 'cyber police', 'mailto:swaggboi@slackware.uk' %>!</p>
2022-01-02 04:37:41 +00:00
</div>
<% } =%>
2022-01-02 02:39:04 +00:00
<hr>
2021-12-25 06:05:34 +00:00
</div>
<div class="inner">
2022-01-01 03:32:39 +00:00
<%= content =%>
2021-12-25 06:05:34 +00:00
</div>
<div class="outer">
<footer>
2022-01-02 02:39:04 +00:00
<p>Maximize your dynamic innovation using battle-tested deep
learning models.</p>
</footer>
2021-12-25 06:05:34 +00:00
</div>
2021-12-04 05:11:37 +00:00
</body>
</html>