From c657cb402b7acb2d29881443e61143e0b60b31d5 Mon Sep 17 00:00:00 2001 From: astoria Date: Tue, 1 Nov 2022 14:06:43 -0500 Subject: [PATCH] Quick mobile menu --- v5.rb | 4 ++++ views/mobilemenu.erb | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 views/mobilemenu.erb diff --git a/v5.rb b/v5.rb index 6bea88c..4d88440 100755 --- a/v5.rb +++ b/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 diff --git a/views/mobilemenu.erb b/views/mobilemenu.erb new file mode 100644 index 0000000..f78e5a6 --- /dev/null +++ b/views/mobilemenu.erb @@ -0,0 +1,20 @@ + + + + Mobile Menu + + + + + <%= erb :headerBoilerplate %> + + + <%= erb :asideImage %> + <%= erb :asideFolderBox %> + <%= erb :asideListButtons %> +
+ Git Server +
+ <% time = Time.now.getlocal('+01:00') %> +
@<%= ((time.sec + ( time.min * 60 ) + (time.hour * 60 * 60 )) / 86.4).floor %>
+ \ No newline at end of file