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

48 lines
1.6 KiB
Plaintext
Raw Normal View History

2021-12-04 05:11:37 +00:00
<!DOCTYPE html>
2022-03-18 20:13:15 +00:00
<html lang="en">
2021-12-04 05:11:37 +00:00
<head>
2022-01-12 02:12:53 +00:00
<meta property="og:locale" content="en_US">
<meta property="og:type" content="website">
2022-04-08 17:07:31 +00:00
<meta property="og:title" content="Swagg::Net::Guestbook - <%= title %>">
2022-01-12 02:12:53 +00:00
<meta property="og:description" content="Messages from the World Wide Web">
2022-04-08 17:07:31 +00:00
<meta property="og:url" content="<%= $this_url %>">
2022-01-12 02:12:53 +00:00
<meta property="og:site_name" content="Swagg::Net::Guestbook">
2022-04-08 17:07:31 +00:00
<meta name="twitter:title" content="Swagg::Net::Guestbook - <%= title %>">
2022-01-12 02:12:53 +00:00
<meta name="twitter:description" content="Messages from the World Wide Web">
<meta name="twitter:creator" content="@swaggboi@eattherich.club">
2022-04-08 20:17:42 +00:00
<meta name="twitter:site" content="Swagg::Net::Guestbook">
2022-04-08 16:59:15 +00:00
<meta content="Messages from the World Wide Web" name="description">
2022-01-11 02:57:39 +00:00
<title>Swagg::Net::Guestbook - <%= title %></title>
<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-11 02:57:39 +00:00
<h1 id="top">Swagg::Net::Guestbook</h1>
2022-01-02 02:39:04 +00:00
<nav>
2022-04-08 18:06:08 +00:00
<%= link_to View => '/view' %>
<%= link_to Sign => '/sign' %>
2022-01-11 03:46:17 +00:00
<%= link_to Home => 'https://www.swagg.net' %>
2022-01-02 02:39:04 +00:00
</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
2022-01-11 02:57:39 +00:00
<%= 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-04-04 01:04:09 +00:00
<p><%= $post_count %> of <%= $visitor_count %> total visitors have
signed the guestbook to date.</p>
</footer>
2021-12-25 06:05:34 +00:00
</div>
2021-12-04 05:11:37 +00:00
</body>
</html>