Browse Source

Quick mobile menu

main
astoria 3 months ago
parent
commit
c657cb402b
  1. 4
      v5.rb
  2. 20
      views/mobilemenu.erb

4
v5.rb

@ -33,6 +33,10 @@ get '/home' do
erb :homepage
end
get '/mobile-menu' do
erb:mobilemenu
end
get '/media' do
erb :folderpage
end

20
views/mobilemenu.erb

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Mobile Menu</title>
<meta name="description" content="broken-moon.net - Mobile Menu" />
<meta name="keywords" content="menu" />
<meta property="og:url" content="http://broken-moon.net/mobile-menu" />
<meta property="og:title" content="Mobile Menu" />
<%= erb :headerBoilerplate %>
</head>
<body>
<%= erb :asideImage %>
<%= erb :asideFolderBox %>
<%= erb :asideListButtons %>
<div class="center">
<a href="https://git.broken-moon.net" target="_blank"><img class="asidebottomimage" src="/images/git.gif" alt="Git Server"></a>
</div>
<% time = Time.now.getlocal('+01:00') %>
<div class="center">@<%= ((time.sec + ( time.min * 60 ) + (time.hour * 60 * 60 )) / 86.4).floor %></div>
</body>
Loading…
Cancel
Save